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

Handle potential exceptions in balancer recovery phase

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 5.2.0, 5.1.0-rc2
    • Affects Version/s: None
    • Component/s: Sharding
    • None
    • Fully Compatible
    • ALL
    • v5.1
    • Sharding EMEA 2021-10-18, Sharding EMEA 2021-11-01
    • 142

      The recovering phase of the CSRS balancer may throw the InterruptedDueToReplStateChange exception which is unexpected (unhandled) and causes a process crash.

      This is a regression introduced on August 29th, where part of the server logic has been changed to index collections using their UUID instead of namespace (ref. to SERVER-59052).

      After a deep analysis of the impacted implementations, the functions that must be addresses are the following:

            Assignee:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Reporter:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: