Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-88420

Use absl::flat_hash_map for TransactionParticipant activeTxnCommittedStatements

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Replication
    • Fully Compatible

      The flat_hash_map is more memory-efficient than the node_hash_map, which is aliased for stdx::unordered_map. The activeTxnCommittedStatements does not appear to require pointer stability, so we should be able to switch this for more memory efficiency.

            Assignee:
            sean.zimmerman@mongodb.com Sean Zimmerman
            Reporter:
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: