Uploaded image for project: 'Apache AsterixDB'
  1. Apache AsterixDB
  2. ASTERIXDB-1109

Index entries are not deleted on an open-type secondary index

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      Currently, index entries (SK, PK) are not deleted on an open-type secondary index. This issue was not surfaced due to the fact that every search after a secondary index search needs to go through the primary index lookup. Therefore, un-deleted entries were removed during this Pidx lookup.

      Now, we have an index-only plan that can skip the Pidx lookup after a Sidx search. Therefore, the query result is not correct anymore.

      Attachments

        Issue Links

          Activity

            People

              iabsalyamov Ildar Absalyamov
              wangsaeu Taewoo Kim
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: