Enhance _shardsvrParticipantBlock command to work on both collections and databases

XMLWordPrintableJSON

    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2023-11-13, CAR Team 2024-11-11
    • 2
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The generic _shardsvrParticipantBlock command, used to enter and exist the recoverable critical section, only works with a collection names as a resource.

      Since with SERVER-70660 the support for the recoverable critical section was extended to databases, this command should be enhanced to support database as well.

      Currently, passing a database as a resource name, the command parser (generated by the IDL parser) asserts as the string <db>. is not recognized as a valid collection name.

              Assignee:
              Yuhong Zhang
              Reporter:
              Antonio Fuschetto
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: