[COMPASS-4478] Support for updates in sharded collections Created: 29/Oct/20  Updated: 29/Oct/23  Resolved: 09/Nov/20

Status: Closed
Project: Compass
Component/s: CRUD
Affects Version/s: None
Fix Version/s: 1.24.1

Type: Story Priority: Critical - P2
Reporter: Massimiliano Marcon Assignee: Anna Henningsen
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File screenshot-1.png     PNG File screenshot-2.png    
Issue Links:
Depends
depends on NODE-2827 Connecting to single mongos makes dri... Closed
Documented
Duplicate
is duplicated by COMPASS-4373 Allow updating documents in sharded c... Closed
Related
related to COMPASS-4715 'prepareTransaction' is not supported... Closed
Story Points: 8
Documentation Changes: Needed
Documentation Changes Summary:

It’s more of a bug fix, really, but the added ability to update documents in sharded clusters may be worth calling out in the documentation.

UserVoice Links:

Update on Sharded Cluster (Suggestion)
completed (13 users)

Sprint: Iteration Papaya

 Description   

As a user,
I want to be able to update documents in sharded collections
So that I can work with my data even when I am using this unique feature of MongoDB

Acceptance criteria

  • Documents in sharded collections can be updated
  • If the update fails, show an error message

This is what currently happens after the recent updates to update (Compass 1.23-beta):
Update to field that is NOT the shard key

Update to field that is the shard key



 Comments   
Comment by Githook User [ 11/Nov/20 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: COMPASS-4478 - Support for updates in sharded collections (#2050)

Comment by Githook User [ 09/Nov/20 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: COMPASS-4478 - Support for updates in sharded collections (#2050)

Comment by Githook User [ 06/Nov/20 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: COMPASS-4478 - Support for updates in sharded collections

Comment by Githook User [ 06/Nov/20 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: COMPASS-4478 - Update mongodb driver to 3.6.3 (#268)
Branch: master
https://github.com/mongodb-js/data-service/commit/dba32b79445de3e45dfd3a8edc19389adb273832

Comment by Githook User [ 06/Nov/20 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: COMPASS-4478 - Update mongodb driver to 3.6.3
Branch: mongodb-3.6.3
https://github.com/mongodb-js/data-service/commit/2a0a1e5cf779ab83aedd6ba5295e23e9f8878257

Generated at Wed Feb 07 22:36:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.