[SERVER-11427] Audit logging for action 'renameCollection' needs to match the spec Created: 28/Oct/13 Updated: 11/Jul/16 Resolved: 29/Oct/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 2.5.4 |
| Type: | Bug | Priority: | Critical - P2 |
| Reporter: | bard.bloom@10gen.com | Assignee: | Matt Dannenberg |
| Resolution: | Done | Votes: | 0 |
| Labels: | 26qa | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Operating System: | ALL | ||||
| Participants: | |||||
| Description |
|
The spec says that bson-formatted data has format
But the data actually uses different keys:
---------------------------------------- Also, the renameCollection operation can fail if dropTarget is not true and the target collection already exists. No audit logging occurs in this case. It's not clear if any is necessary, since nothing happened, but other audit operations produce audit records in the case of failure so this one might. |
| Comments |
| Comment by auto [ 29/Oct/13 ] |
|
Author: {u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}Message: |
| Comment by bard.bloom@10gen.com [ 28/Oct/13 ] |
|
Sorry, I misread some tricky test output. Logging is done, but does not match the spec in all cases. |