Release the DB lock before comparing collection in shardsvr participant

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Sharding EMEA
    • Fully Compatible
    • Sharding EMEA 2023-03-06, Sharding EMEA 2023-03-20
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      At this moment, the shardsvr participant holds the DB lock even after we extrapolated the collections from local catalog. We should be able to release the lock and compare the two catalogs without holding the lock.

      The goal of this ticket is to change the code in shardsvr_check_metadata_consistency_participant_command.cpp in order to release the DB lock before comparing collections.

            Assignee:
            Pol Pinol
            Reporter:
            Pol Pinol
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: