compactCollection() should refetch the RecordStore after re-locking the collection

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.3.1
    • Affects Version/s: 4.3 Required
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2019-08-12
    • 60
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      If the storage engine supports compacting in place, we re-lock the collection we're going to compact using a weaker lock. In this case, we should re-fetch the RecordStore and IndexCatalog after acquiring the new long to avoid accessing invalid memory.

            Assignee:
            Gregory Wlodarek
            Reporter:
            Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: