[SERVER-616] Extend stepdown/shutdown command to optionally wait for replica to catch up (hinted handoff) Created: 09/Feb/10 Updated: 12/Jul/16 Resolved: 10/Jun/11 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Replication, Usability |
| Affects Version/s: | None |
| Fix Version/s: | 1.9.1 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Mathias Stearn | Assignee: | Kristina Chodorow (Inactive) |
| Resolution: | Done | Votes: | 5 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Participants: |
| Description |
|
should lock master for writes immediately then wait for slave to catch up before shutting down. Ideally could notify slave that it is now master. |
| Comments |
| Comment by auto [ 10/Jun/11 ] |
|
Author: {u'login': u'kchodorow', u'name': u'Kristina', u'email': u'kristina@10gen.com'}Message: step down before shutting down |
| Comment by Kristina Chodorow (Inactive) [ 10/Jun/11 ] |
| Comment by auto [ 10/Jun/11 ] |
|
Author: {u'login': u'kchodorow', u'name': u'Kristina', u'email': u'kristina@10gen.com'}Message: added shutdownServer options |
| Comment by auto [ 10/Jun/11 ] |
|
Author: {u'login': u'kchodorow', u'name': u'Kristina', u'email': u'kristina@10gen.com'}Message: don't shut down if slaves aren't up-to-date |
| Comment by Eliot Horowitz (Inactive) [ 13/Aug/10 ] |
|
Its less relevant, as there are other ways to change where the master is. |
| Comment by AndrewK [ 13/Aug/10 ] |
|
Is this still a relevant issue with regards to replica-sets, or was it only really a problem with replica-pairs? |