verify that name is unique when adding entries to the index catalog

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.3
    • Affects Version/s: None
    • Component/s: Catalog, Index Maintenance
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2019-12-02, Execution Team 2019-12-16
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In BF-13897, it appears we've had a case where two index entries had the same name. This should never happen, but could theoretically happen if the in-memory state was out of date with that of the snapshot held by the thread adding the index entry.

      Add an fassert or invariant to DurableCatalogImpl::prepareForIndexBuild to catch this at the moment it occurs, rather than much later when the duplicate entries cause a problem.

            Assignee:
            Eric Milkie
            Reporter:
            Geert Bosch
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: