File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -52,11 +52,13 @@ operation on a :term:`primary` or standalone :binary:`~bin.mongod`, use
5252:method:`db.killOp()`. The partially built index will be
5353deleted.
5454
55- You cannot terminate a *replicated* index build on secondary members of
56- a replica set. You must first :method:`drop <db.collection.dropIndex()>`
57- the index on the primary. The secondaries will replicate the drop
58- operation and drop the indexes *after* the index build completes.
59- All further replication blocks behind the index build and drop.
55+ You cannot terminate a replicated index build on secondary members of a replica
56+ set. You must first drop the index on the primary. Starting in version 4.4, the
57+ primary stops the index build and creates an associated ``abortIndexBuild``
58+ :term:`oplog` entry. Secondaries that replicate the ``abortIndexBuild`` oplog
59+ entry stop the in-progress index build and discard the build job.
60+
61+ To learn more, see :ref:`dropIndexes-cmd-index-builds`.
6062
6163How do I see what indexes exist on a collection?
6264------------------------------------------------
You can’t perform that action at this time.
0 commit comments