Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-2582

Prevent need of catch up query when creating non transactional index

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None

    Description

      If we create an index while we are upserting rows to the table its possible we can miss writing corresponding rows to the index table.
      If a region server is writing a batch of rows and we create an index just before the batch is written we will miss writing that batch to the index table. This is because we run the inital UPSERT SELECT to populate the index with an SCN that we get from the server which will be before the timestamp the batch of rows is written.

      We need to figure out if there is a way to determine that are pending batches have been written before running the UPSERT SELECT to do the initial index population.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              tdsilva Thomas D'Silva
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated: