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

SyncClusterConnection should not rely on the 'locktype' field in the help command

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Sharding
    • None

    Description

      Currently, SyncClusterConnection invokes help on the config servers for each command, which it receives in order to determine whether it is a write (has to be sent to 3 servers) or read command. This happens in SyncClusterConnection::_lockType.

      Instead of doing this, we should just have a fixed map in SyncClusterConnection, which specifies what is the type of a command.

      Attachments

        Activity

          People

            Unassigned Unassigned
            kaloian.manassiev@mongodb.com Kaloian Manassiev
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: