[SERVER-27914] Verify canAcceptWritesForDatabase() is called while the caller holds the global lock Created: 03/Feb/17 Updated: 06/Dec/17 Resolved: 06/Mar/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication |
| Affects Version/s: | None |
| Fix Version/s: | 3.5.4 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Siyuan Zhou | Assignee: | Matthew Russotto |
| Resolution: | Done | Votes: | 0 |
| Labels: | neweng | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Sprint: | Repl 2017-03-06 | ||||||||
| Participants: | |||||||||
| Description |
|
The comment of canAcceptWritesForDatabase says:
We should pass OperationContext into the function and verify the synchronization rule is satisfied. |
| Comments |
| Comment by Githook User [ 06/Mar/17 ] |
|
Author: {u'username': u'mtrussotto', u'name': u'Matthew Russotto', u'email': u'matthew.russotto@10gen.com'}Message: This reverts commit 3e5314c3f2be49666ca5d7aa766c934ba7d6cbe9. |
| Comment by Matthew Russotto [ 06/Mar/17 ] |
|
Author: {u'username': u'mtrussotto', u'name': u'Matthew Russotto', u'email': u'matthew.russotto@10gen.com'}Message: (Sorry, had the wrong description for this one, including the ticket #) |