[SERVER-41239] Link to recommended alternative in error message for distinct on sharded coll in txn Created: 20/May/19  Updated: 29/Oct/23  Resolved: 29/May/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 4.1.13

Type: Task Priority: Major - P3
Reporter: Jack Mulrow Assignee: Jack Mulrow
Resolution: Fixed Votes: 0
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on DOCS-12725 Docs for SERVER-40026: Blacklist dist... Closed
Related
is related to SERVER-40026 Blacklist distinct in sharded collect... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 2019-06-03
Participants:

 Description   

SERVER-40026 disallowed running distinct on a sharded collection in a multi-document transaction. Once a docs page with a recommended alternative has been created, the error message returned when distinct is rejected should be updated to include a link to it, like in the error message returned when running count in a transaction.



 Comments   
Comment by Githook User [ 29/May/19 ]

Author:

{'email': 'jack.mulrow@mongodb.com', 'name': 'Jack Mulrow', 'username': 'jsmulrow'}

Message: SERVER-41239 Link to recommended alternative in error message for distinct on sharded coll in txn
Branch: master
https://github.com/mongodb/mongo/commit/d0194cc5133c4e71868156320fee86f0166e0f7e

Comment by Jack Mulrow [ 29/May/19 ]

Ah got it. Thanks!

Comment by Kay Kim (Inactive) [ 29/May/19 ]

Should be good to go now.

Comment by Kay Kim (Inactive) [ 29/May/19 ]

No – as I just added the section to our upcoming docs. But will add dochub link now. Give me a second.

Comment by Jack Mulrow [ 29/May/19 ]

kay.kim, did we add a link in DOCS-12725 that I can put in MongoDB to point to the new documentation for distinct? I tried http://dochub.mongodb.org/core/transaction-distinct to correspond to the link for count (http://dochub.mongodb.org/core/transaction-count) but it doesn't lead anywhere.

Generated at Thu Feb 08 04:57:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.