[SERVER-18171] Rename various methods in RecoveryUnit Created: 22/Apr/15 Updated: 19/Sep/15 Resolved: 16/May/15 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Storage |
| Affects Version/s: | None |
| Fix Version/s: | 3.1.3 |
| Type: | Improvement | Priority: | Minor - P4 |
| Reporter: | Geert Bosch | Assignee: | Geert Bosch |
| Resolution: | Done | Votes: | 1 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Sprint: | Quint Iteration 3 |
| Participants: |
| Description |
|
commitAndRestart should be restartTransaction. |
| Comments |
| Comment by Githook User [ 18/May/15 ] |
|
Author: {u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}Message: |
| Comment by Githook User [ 15/May/15 ] |
|
Author: {u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}Message: |
| Comment by Githook User [ 15/May/15 ] |
|
Author: {u'username': u'GeertBosch', u'name': u'Geert Bosch', u'email': u'geert@mongodb.com'}Message: |
| Comment by Mathias Stearn [ 22/Apr/15 ] |
|
restartTransaction is less than ideal since it doesn't actually "restart" anything. In fact it is illegal for an implementation to return while inside of a transaction. I propose either leaveTransaction() or abandonSnaphot(), will a preference for the latter since it expressions the actual intent of the method. |