Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1.   1. User initiates a create lucene index command from GFSH or a Java API

    1. A function is sent in parallel that does the following:

      1. Create AEQ
      2. Create index region
      3. Add AEQ and listener to region
      4. Return xml to be written to cluster config (if applicable)
    2. Send xml to locator to be written into cluster configuration if applicable
    3. Another function is sent in parallel to:
      1. Set indexRepositories()
      2. computeRepo() will look for COMPLETE file; if doesn’t exist
        1. Iterate and index existing region data
        2. Add COMPLETE file to fileAndChunkRegion
  2. Query:
    1. Check for COMPLETE file
    2. If COMPLETE file not there, start async task to computeRepo(), and throw an exception back to the query caller to let them know the index is not yet ready

...