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

Create collection coordinator could fetch stale coll info from CSRS

    XMLWordPrintable

Details

    • Fully Compatible
    • 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

              jordi.serra-torrens@mongodb.com Jordi Serra Torrens
              pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: