[SERVER-44980] wrong update result with upsert:true Created: 06/Dec/19 Updated: 09/Dec/19 Resolved: 09/Dec/19 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 3.4.18 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | FirstName lipengchong | Assignee: | Carl Champain (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Operating System: | ALL | ||||||||||||
| Participants: | |||||||||||||
| Description |
then i use a python script with 20 threads to update the {"xid" : 3}. at last i get the write.
i couldn't get the in other mongod . but in this mongod .it's a really truth. |
| Comments |
| Comment by Carl Champain (Inactive) [ 09/Dec/19 ] |
|
Hi lpc, Thanks for the report.
I'm linking Importantly, 3.4 version of MongoDB is almost end-of-lifed (January 2020), so I would strongly recommend upgrading to a more recent version. That said, the SERVER project is for bugs and feature suggestions for the MongoDB server. As this ticket does not appear to be a bug, I will now close it. If you need further assistance troubleshooting, I encourage you to ask our community by posting on the mongodb-user group or on Stack Overflow with the mongodb tag. Kind regards, |
| Comment by FirstName lipengchong [ 06/Dec/19 ] |
|
I can reproduce it on 3.4.18/19/21 mmap stroageEngine . but for 3.4.22 ,i don't reproduce . |
| Comment by FirstName lipengchong [ 06/Dec/19 ] |
|
i have test with only xid_hashed or xid_1 index or no index. And only get the result with both xid_hashed and xid_1 |