Checking Whether the Source Database Collections Contain TTL Indexes
MongoDB Migration
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 |
Item to be confirmed: Due to inconsistency of time zones and clocks between source and destination databases, migrating TTL indexes will cause data inconsistency. Handling suggestion: 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) |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot