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

Better logging around failed chunk migration

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 4.0.24
    • 4.0.25
    • None
    • None
    • Fully Compatible
    • 0

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: