[SERVER-57064] Log create index and dropIndex(es) on mongos Created: 19/May/21 Updated: 29/Oct/23 Resolved: 30/Jun/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 4.2.14, 4.4.6, 4.0.25, 5.0.0-rc5 |
| Fix Version/s: | 4.4.7, 4.0.26, 4.2.16, 5.0.2, 5.1.0-rc0 |
| Type: | Improvement | Priority: | Major - P3 |
| Reporter: | Adamo Tonete (Inactive) | Assignee: | Antonio Fuschetto |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | neweng, sharding-wfbf-day | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Backwards Compatibility: | Fully Compatible | ||||
| Backport Requested: |
v5.0, v4.4, v4.2, v4.0
|
||||
| Sprint: | Sharding EMEA 2021-06-28 | ||||
| Participants: | |||||
| Case: | (copied to CRM) | ||||
| Description |
|
Currently, if creating indexes in a sharded cluster the mongos is not recording the createIndex command and neither the dropIndex(es). The commands only get logged if it takes > 100ms. On the other hand, those commands are always logged on the mongod log making it hard to trace back the origin of the commands in sharded environment. |
| Comments |
| Comment by Githook User [ 20/Jul/21 ] |
|
Author: {'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}Message: |
| Comment by Githook User [ 02/Jul/21 ] |
|
Author: {'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}Message: |
| Comment by Githook User [ 02/Jul/21 ] |
|
Author: {'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}Message: |
| Comment by Githook User [ 02/Jul/21 ] |
|
Author: {'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}Message: |
| Comment by Githook User [ 30/Jun/21 ] |
|
Author: {'name': 'Antonio Fuschetto', 'email': 'antonio.fuschetto@mongodb.com', 'username': 'afuschetto'}Message: |
| Comment by Antonio Fuschetto [ 29/Jun/21 ] |
|
tommaso.tocci, I confirm that both the createIndexes and dropIndexes commands are not logged at router level in all supported branches. |
| Comment by Tommaso Tocci [ 27/May/21 ] |
|
We need to double check if this affect also versions after 4.4 |