ephermeralForTest engine does not implement getLatestOplogTimestamp

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Hide

      1. Run any suite that uses a sharded cluster with the ephemeralForTest engine.

      Show
      1. Run any suite that uses a sharded cluster with the ephemeralForTest engine.
    • Sharding 2021-03-08
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      After the changes on SERVER-54345 we need to wait for a write to reach majority when creating the shard index before continuing, to prevent that a rollback ends up having a sharded collection without the shard key index on the primary shard. However, the ephemeralForTest engine does not implement getLatestOplogTimestamp, causing a consistent failure when running any sharded test when using that engine. We could use something like waitForWriteConcern to wait for majority.

              Assignee:
              Marcos José Grillo Ramirez
              Reporter:
              Marcos José Grillo Ramirez
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: