[SERVER-77063] Failing bucket compression causes errors returned incorrectly for time-series inserts Created: 12/May/23 Updated: 29/Oct/23 Resolved: 22/May/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 7.1.0-rc0, 6.0.7, 7.0.0-rc2 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Yuhong Zhang | Assignee: | Henrik Edin |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Assigned Teams: |
Storage Execution
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v7.0, v6.3, v6.0
|
||||||||
| Sprint: | Execution Team 2023-05-29 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 108 | ||||||||
| Description |
|
When the write of the insert succeeds and the write of the compression fails for a time-series measurement, the insert will return the error which implies the insert fails, even though the measurement was actually inserted. This is problematic and can cause the inserts to be duplicated when a retry happens on an error. This can happen for both ordered: true and ordered: false inserts. |
| Comments |
| Comment by Githook User [ 31/May/23 ] |
|
Author: {'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}Message: Suppress any error encountered during bucket compression, this fixes bugs where errors were reported due to shard version changes that got interpreted by mongos as user operations need to be retried, causing inserts to happen multiple times. (cherry picked from commit 770b5552578d1cebba2df38c48274197f76a3c34) |
| Comment by Githook User [ 22/May/23 ] |
|
Author: {'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}Message: Suppress any error encountered during bucket compression, this fixes bugs where errors were reported due to shard version changes that got interpreted by mongos as user operations need to be retried, causing inserts to happen multiple times. (cherry picked from commit 770b5552578d1cebba2df38c48274197f76a3c34) |
| Comment by Githook User [ 18/May/23 ] |
|
Author: {'name': 'Henrik Edin', 'email': 'henrik.edin@mongodb.com', 'username': 'henrikedin'}Message: Suppress any error encountered during bucket compression, this fixes bugs where errors were reported due to shard version changes that got interpreted by mongos as user operations need to be retried, causing inserts to happen multiple times. |