[DOCS-11059] Document forceUUID action Created: 27/Nov/17 Updated: 30/Oct/23 Resolved: 30/Nov/17 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | Server |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Jeffrey Allen | Assignee: | Jeffrey Allen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: | |
| Days since reply: | 6 years, 11 weeks ago |
| Story Points: | 0.5 |
| Description |
|
There is a new privilege type forceUUID This privilege is referenced in spencer.jackson provided info on the privilege via Slack From the conversation: If you could run applyOps, with a 'create' op, you could force a collection to come into being with a user specified UUID. But that's just how replication has to work, primaries must be able to create collections like that on secondaries. Now, we also need a new privilege, for calling `create` with a user specified UUID. We could have just required Internal privileges, like those provided by __system, but it turns out you need this power to be attached to the `restore` role. When you do sharded restores, each shard needs to have the same UUID for the same collection. So, that's a new behavior, that you couldn't do before, that needs to be granularly handed out, that needs its own actiontype. That's what `forceUUID` is for. |
| Comments |
| Comment by Githook User [ 30/Nov/17 ] |
|
Author: {'name': 'jeff-allen-mongo', 'username': 'jeff-allen-mongo', 'email': 'jeffrey.allen@10gen.com'}Message: |
| Comment by Jeffrey Allen [ 30/Nov/17 ] |
|
This is RFM |
| Comment by Jeffrey Allen [ 28/Nov/17 ] |
|
Code review: https://mongodbcr.appspot.com/169780001/ |
| Comment by Jeffrey Allen [ 27/Nov/17 ] |
|
shannon.bradshaw, updated the description with the relevant info. |
| Comment by Shannon Bradshaw (Inactive) [ 27/Nov/17 ] |
|
jeffrey.allen, is there content from your conversation with Spencer that should be transcribed here? |