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

Create collection coordinator could fetch stale coll info from CSRS

    XMLWordPrintable

    Details

    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL

      Description

      Currently the create collection coordinator retrieves collection information through the catalog cache that in turn relies on the sharding catalog client to retrieve this data. Since the catalog cache uses a combination of nearest read preference and snapshot read concern it could read stale data from a secondary node of the CSRS. If this happen the create collection coordinator would wrongly assume that the collection has not been committed yet.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jordi.serra-torrens Jordi Serra Torrens
              Reporter:
              pierlauro.sciarelli Pierlauro Sciarelli
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: