Remove supportsCriticalSectionDuringCatchUp check

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      supportsCriticalSectionDuringCatchUp was introduced to be compatible with older versions (4.x) of the server, nowadays it will always be true. We should remove the check:

      https://github.com/10gen/mongo/blob/f70ebdd886c4d5b5724e6b758f90a54ef4065434/src/mongo/db/s/migration_chunk_cloner_source.cpp#L1252

            Assignee:
            Unassigned
            Reporter:
            Daniel Gomez Ferro
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: