[SERVER-23762] ValidateAdaptor::validate() should return non-OK status if it fails. Created: 15/Apr/16 Updated: 17/Nov/16 Resolved: 19/Apr/16 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Internal Code |
| Affects Version/s: | 3.3.4 |
| Fix Version/s: | 3.0.12, 3.2.6, 3.3.5 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | Robert Guo (Inactive) | Assignee: | Robert Guo (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | code-only | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Backwards Compatibility: | Fully Compatible |
| Operating System: | ALL |
| Backport Completed: | |
| Sprint: | TIG 13 (04/22/16) |
| Participants: |
| Description |
|
RecordStoreV1Base::validate uses the adaptor's return value to determine if data is corrupted. So the adaptor should be able to return non-OK status. |
| Comments |
| Comment by Githook User [ 21/Apr/16 ] |
|
Author: {u'username': u'guoyr', u'name': u'Robert Guo', u'email': u'robert.guo@10gen.com'}Message: (cherry picked from commit ce39e32d01e3a909948f850360040809ac7c8a8d) |
| Comment by Githook User [ 21/Apr/16 ] |
|
Author: {u'username': u'guoyr', u'name': u'Robert Guo', u'email': u'robert.guo@10gen.com'}Message: (cherry picked from commit ce39e32d01e3a909948f850360040809ac7c8a8d) |
| Comment by Githook User [ 19/Apr/16 ] |
|
Author: {u'username': u'guoyr', u'name': u'Robert Guo', u'email': u'robert.guo@10gen.com'}Message: |