|
The attached reproducer consistently crashes the server.
The order of operations is as follows:
- A secondary begins initial sync and sets the timestamp for the oplog replay
- Primary creates a collection collA
- Primary creates an index on the empty collection collA (this creates a createIndexes oplog entry)
- Primary inserts some documents into collA
- Primary drops the index of collA
- Primary begins creating the index again in collA (this is a two phase index build)
- Secondary clones the collection with the in-progress index build and proceeds to also create the index
- Secondary replays the oplog and crashes due to the in-progress index build
|