Skip to content

Commit 8f1636a

Browse files
jason-price-mongodbjason-price-mongodb
and
jason-price-mongodb
authored
Update for compact MDB version (#898)
Co-authored-by: jason-price-mongodb <[email protected]>
1 parent 27d08ff commit 8f1636a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/reference/command/compact.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -226,11 +226,11 @@ Replica Sets
226226
- Ideally run :dbcommand:`compact` on a secondary. See option
227227
``force`` above for information regarding compacting the primary.
228228

229-
- Starting in MongoDB 5.1 (and 5.0.3, 4.4.9, and 4.2.18): a secondary is
229+
- Starting in MongoDB 5.0.3 (and 4.4.9 and 4.2.18): a secondary is
230230
not available when :dbcommand:`compact` is running. The secondary does
231231
not enter the :replstate:`RECOVERING` state.
232232

233-
- For other MongoDB versions: on secondaries, :dbcommand:`compact`
233+
- For previous MongoDB versions: on secondaries, :dbcommand:`compact`
234234
forces the secondary to enter the :replstate:`RECOVERING` state. Read
235235
operations issued to an instance in the :replstate:`RECOVERING` state
236236
will fail. This prevents clients from reading during the operation.

0 commit comments

Comments
 (0)