Checking Whether the Source Database Collections Contain TTL Indexes
MongoDB Database
| Check Item | Whether the source database collections contain TTL indexes |
|---|---|
| Description | Due to inconsistency of time zones and clocks between source and destination databases, migrating TTL indexes will cause data inconsistency. |
| Failure Cause and Handling Suggestion | Alarm cause: Due to inconsistency of time zones and clocks between source and destination databases, migrating TTL indexes will cause data inconsistency. Handling suggestions: If data consistency is required, delete TTL indexes. Alternatively, do not migrate the collections containing TTL indexes. Run the following command to delete the index: run the db.Collection name.dropIndex(Index name) |
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.