Skip opening storage snapshot for fast count in order to regain 10-15% performance

XMLWordPrintableJSON

    • Execution Team 2021-10-18
    • 15
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      With LFR work, we can now access the CollectionCatalog to fetch a safe-to-use Collection shared_ptr without any lock helper.

      Switching the count cmd generally over to LFR has introduced explicitly opening storage snapshots, rather than implicitly in the storage integration layer when a read is actually requested. Since fast count doesn't access the storage layer, LFR early opening of storage snapshots is slowing down the operation significantly.

      The storage snapshot is opened via the LFR lock helper, which should be removed.

            Assignee:
            Dianna Hohensee (Inactive)
            Reporter:
            Dianna Hohensee (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: