ExportXMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • v7.1, v7.0
    • Sharding EMEA 2023-10-30
    • 120
    • 2
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      During assertIsPrimaryShardForDb, it may happen that the node’s cached database info is cleared. Therefore, we must not assume that _dbInfo from the dss is always set:

      const auto primaryShardId = scopedDss->_dbInfo->getPrimary();
      

      The goal of this ticket is to guarantee that is safe accessing the node's cached db info in order to check if the node is the db primary node.

            Assignee:
            Pol Pinol
            Reporter:
            Tommaso Tocci
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: