-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
-
Storage Execution
-
200
-
None
-
None
-
None
-
None
-
None
-
None
-
None
Many APIs use an "upsert" pattern where the write/insert method returns a bool indicating whether the document already existed (i.e., whether it was an update vs. an insert). This is useful for callers that need to know if they're initializing state for the first time vs. updating existing state.
Update both write implementations to return a bool, and assert that this is false during setup and true during subsequent updates.
- is duplicated by
-
SERVER-123275 Update SizeCountStore::write() to signal if an entry was inserted or updated
-
- Closed
-