[SERVER-45779] Throw Stale Shard Version when collection is unknown on getOwnershipFilter Created: 27/Jan/20 Updated: 29/Oct/23 Resolved: 04/Mar/20 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 4.7.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Marcos José Grillo Ramirez | Assignee: | Marcos José Grillo Ramirez |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | PM-1645-Milestone-1 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||||||||||||||||||||||||||
| Sprint: | Sharding 2020-02-24, Sharding 2020-03-09 | ||||||||||||||||||||||||||||||||||||||||||||
| Participants: | |||||||||||||||||||||||||||||||||||||||||||||
| Description |
|
After completion of |
| Comments |
| Comment by Shane Harvey [ 06/Mar/20 ] |
|
Thanks Kal, I've opened |
| Comment by Kaloian Manassiev [ 06/Mar/20 ] |
|
shane.harvey, if this is a change in behaviour between 4.2 and 4.4 then it is a server bug. Most likely MongoS is not retrying somewhere it should. Can you please file a separate ticket and include the above information plus the logs from the drivers test? Also please indicate whether it is failing with sharded or unsharded collection. |
| Comment by Shane Harvey [ 06/Mar/20 ] |
|
I think this change causes a transactions documentation test to fail on sharded clusters with the following error ( Link to the failing "update_employee_info" transaction test: https://github.com/mongodb/mongo-python-driver/blob/1fdfb9864b3c0614f0f46add0bb7a25ebb8d2e77/test/test_examples.py#L902 Does this indicate a bug in the server or is there something we need to do differently to use transactions on sharded clusters in 4.4? Note that the test does not shard the collection or enable sharding on the database. |
| Comment by Githook User [ 04/Mar/20 ] |
|
Author: {'name': 'Marcos José Grillo Ramírez', 'username': 'm4nti5', 'email': 'marcos.grillo@mongodb.com'}Message: |