Implement custom sha256Hash for UpdateCmdShape

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Query Integration
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, UpdateCmdShape::sha256Hash computes the hash from the serialized BSONObj. We should implement separate implementation (like other shapes such as FindCmdShape) because is always faster because it does not serialize command into a single BSONObj.

      • Implement UpdateCmdShape::sha256Hash, computing hash without serializing the whole BSONObj.
      • Add a benchmark to see the current throughput and improvement throughput.

            Assignee:
            Calvin Nguyen
            Reporter:
            Chi-I Huang
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: