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
    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

...

  1. A new Java API to create the Lucene Index in a distributed manor.  This Java API relies on a new Management API that does not currently exist in Geode. 

Risks and Unknowns

  1. Impact to memory usage after AEQ is added to each member, collecting events but not dispatching them until the index addition process is complete and the AEQ is unblocked.

  2. Management API to add the API to create the lucene index does not exist at this time.