[SERVER-4333] Add flag to the oplog entry for migration/sharding ops Created: 20/Nov/11 Updated: 11/Jul/16 Resolved: 22/Mar/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication, Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 2.1.1 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Scott Hernandez (Inactive) | Assignee: | Eric Milkie |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
Flag operations which are part of a migration, or other background tasks, and not actual user writes. Add a field like "s" (for scope) to indicate if it is part of a sharded operation, like a migrate (for the insert/update on the dest shard, and delete on the source shard). I'd have to think through all the type of ops for a complete list. Let me know if that would help. |
| Comments |
| Comment by Eliot Horowitz (Inactive) [ 22/Mar/12 ] |
|
This is too much of a change for a feature, not a bug, so should not be backported. |
| Comment by Eric Milkie [ 22/Mar/12 ] |
|
backport requested in |
| Comment by auto [ 22/Mar/12 ] |
|
Author: {u'login': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: |
| Comment by auto [ 10/Feb/12 ] |
|
Author: {u'login': u'milkie', u'name': u'Eric Milkie', u'email': u'milkie@10gen.com'}Message: |
| Comment by Eliot Horowitz (Inactive) [ 07/Dec/11 ] |
|
We should just add a fromMigrate : true field to the ops caused by a migrate. |