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

add OpTime hasher for stdx::unordered_map and stdx::unordered_set

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • Execution Team 2023-02-06

      We currently do not have a built-in hasher for the repl::OpTime class. This makes it slightly inconvenient to use OpTime as a key with stdx::unordered_map/set. Subsystems that need to define such maps/sets have to provide a custom hasher.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: