Skip to content

Commit 6f4af48

Browse files
authored
DOCSP-30478 updated faq indexes to describe new behavior (#3385)
* DOCSP-30478 updated faq indexes to describe new behavior * fixed wording, added terms and correct format * simple edits
1 parent 87ba14d commit 6f4af48

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

source/faq/indexes.txt

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,13 @@ operation on a :term:`primary` or standalone :binary:`~bin.mongod`, use
5454
:method:`db.killOp()`. The partially built index will be
5555
deleted.
5656

57-
You cannot terminate a *replicated* index build on secondary members of
58-
a replica set. You must first :method:`drop <db.collection.dropIndex()>`
59-
the index on the primary. The secondaries will replicate the drop
60-
operation and drop the indexes *after* the index build completes.
61-
All further replication blocks behind the index build and drop.
57+
You cannot terminate a replicated index build on secondary members of a replica
58+
set. You must first drop the index on the primary. Starting in version 4.4, the
59+
primary stops the index build and creates an associated ``abortIndexBuild``
60+
:term:`oplog` entry. Secondaries that replicate the ``abortIndexBuild`` oplog
61+
entry stop the in-progress index build and discard the build job.
62+
63+
To learn more, see :ref:`dropIndexes-cmd-index-builds`.
6264

6365
How do I see what indexes exist on a collection?
6466
------------------------------------------------

0 commit comments

Comments
 (0)