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

XMLWordPrintableJSON

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

      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
            Reporter:
            Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: