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

Better logging around failed chunk migration

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.25
    • Affects Version/s: 4.0.24
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • 0

      This is to address the fresh flakiness in the 4.0 branch of the change_stream_shard_failover.js test, which fails the chunk migration during failover. The failure logged at client side:
      "moveChunk command failed on source shard. :: caused by :: NotMaster: not master"
      I think logging this at replica side to detect where and when the migration command failed would help.

      The flakiness is very recent (since May 28) and we should understand if recent changes triggered it. I cannot reproduce it locally, never fails.

            Assignee:
            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            Reporter:
            andrew.shuvalov@mongodb.com Andrew Shuvalov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: