Currently, onInsertOrUpdate does not wait for the write to the feature compatibility version document to be committed before writing to the feature compatibility version server parameter. This is an issue if, for example, we are setting feature compatibility version from 3.2 to 3.4 and just after the server parameter is updated but before the document is written, someone else attempts to insert a decimal value into a document, sees that the server parameter is 3.4, and gets the insert committed prior to the write to the feature compatibility version document being committed.
FeatureCompatibilityVersion::onInsertOrUpdate should only write to the server parameter on commit
- Assignee:
- Maria van Keulen
- Reporter:
- Maria van Keulen
- Votes:
-
0 Vote for this issue
- Watchers:
-
4 Start watching this issue
- Created:
- Updated:
- Resolved: