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

Better logging around failed chunk migration

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 4.0.24
    • Fix Version/s: 4.0.25
    • Component/s: None
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Linked BF Score:
      38

      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

            Assignee:
            andrew.shuvalov Andrew Shuvalov
            Reporter:
            andrew.shuvalov Andrew Shuvalov
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: