Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0
    • cache, sql
    • None

    Description

      Design considerations:
      1) Cache is not blocked for updates during index creation.

      2) DDL thread flow:

      • Create index and add it to some collection of pending indexes;
      • Iterate over all cache entries and add them one by one;
      • Once iteration finished - add index to the table;

      3) Cache thread flow:

      • If there are any pending index, then propagate update to the index.

      Be careful with put/remove interleaving.

      Attachments

        Issue Links

          Activity

            People

              al.psc Alexander Paschenko
              al.psc Alexander Paschenko
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: