[SERVER-82453] The indexes for collections are being dropped automatically. Created: 26/Oct/23 Updated: 30/Oct/23 Resolved: 30/Oct/23 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Ajit Patel | Assignee: | Unassigned |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
OS: ubuntu |
||
| Attachments: |
|
| Participants: |
| Description |
Problem Statement/RationaleThe indexes for collections are being dropped automatically, There are no logs of index drops.
|
| Comments |
| Comment by Adam Harrison [ 30/Oct/23 ] |
|
Hi Ajit, The logs of the database indicate that the database in question was dropped, which would have also dropped the indexes. After further inspection, it appears the database is running without auth enabled, as the client which issued the drop command did not authenticate. Please note that we strongly recommend enabling access control and enforcing authentication, particularly before allowing untrusted clients to connect to your database. For the time being I'll be closing this case, but please let us know if we've misunderstood. |
| Comment by Ajit Patel [ 26/Oct/23 ] |
|
Can anyone help me out? When I created index it is TTL or other index type it is getting delete automatically, sometime it is deleting after 12 hours of creation or some times after 20 hours. There is no fix time interval of deletion. I go through the logs but no luck, there is no logs for index deletion. |
| Comment by PM Bot [ 26/Oct/23 ] |
|
Hello ajit@wizfairtravel.com, thank you for reaching out to us! The team will review your issue and get back to you soon as soon as possible. Please review your issue to ensure you've included your environment details and have attached relevant logs (with any sensitive data redacted), so that we're best able to provide you a timely and thorough response. Thanks again! |