_shardsvrReshardingOperationTime can fail the idl validation due to negative value

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Cluster Scalability
    • Fully Compatible
    • ALL
    • ClusterScalability Jul21-Aug3
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      It is possible for getMajorityReplicationLag to return negative values because it doesn't currently retrieve the values for last applied and last committed atomically.

      The _shardsvrReshardingOperationTime command will error out when this happens because it will fail [this validation|
      https://github.com/10gen/mongo/blob/fc8633645a4a790ccf7ac30d54b95408267731f5/src/mongo/s/request_types/resharding_operation_time.idl#L77]

            Assignee:
            Cheahuychou Mao
            Reporter:
            Randolph Tan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: