Skip to content

Commit 47ac383

Browse files
authored
Editorial
1 parent 07720e1 commit 47ac383

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

persistence/upgrades/mongodb-5to6.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ var persistence = endpointConfiguration.UsePersistence<MongoPersistence>();
3636
persistence.DisableInstaller();
3737
```
3838

39-
the persistence assumes that all required infrastructure (including indexes) is already in place. If the necessary indexes are missing, system performance and reliability may be affected.
39+
The persistence assumes that all required infrastructure (including indexes) is already in place. If the necessary indexes are missing, system performance and reliability may be affected.
4040

4141
## Outbox record storage layout changes
4242

4343
Outbox records no longer use the message ID alone as the `_id`. In previous versions, this caused message loss in publish/subscribe scenarios when multiple endpoints shared the same database, since all subscribers wrote to the same outbox record.
4444

45-
Starting with this version, outbox records include a partition key (defaulting to the endpoint name) as part of a structured `_id { pk, mid }`. This prevents the message loss by applying the deuplication per endpoint.
45+
Starting with this version, outbox records include a partition key (defaulting to the endpoint name) as part of a structured `_id { pk, mid }`. This prevents the message loss by applying deduplication per endpoint.
4646

4747
- The implementation is backwards compatible meaning that the existing outbox records remain readable. The persistence performs backward-compatible reads for older entries, but all the new entries use the new structured format.
4848
- Old records will continue to expire according to the configured time to keep deduplication data.
@@ -95,4 +95,4 @@ db.getCollection('outboxrecord').aggregate(
9595
],
9696
{ maxTimeMS: 60000, allowDiskUse: true }
9797
);
98-
```
98+
```

0 commit comments

Comments
 (0)