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

Remove the useClusterTransaction parameter from the sharding_ddl_util API methods

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2025-04-14, CAR Team 2025-04-28
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      SERVER-75919 introduced the useClusterTransaction parameter to the sharding_ddl_util methods supported by the internal transactions API, together with an assertion to signal clients that were attempting to perform transaction write statements to the config server could without involving cluster ServiceEntryPoint.

      Nevertheless, such a logic does not appear to bring any value today and it could be dropped, since useClusterTransaction:

      • is set to true by any client of sharding_ddl_util (so that the tassert is always avoided)
      • is not consumed anywhere else.

            Assignee:
            paolo.polato@mongodb.com Paolo Polato
            Reporter:
            paolo.polato@mongodb.com Paolo Polato
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: