Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-86705

moveChunk op slower than TTL index in `ttl_deletes_not_targeting_orphaned_documents.js`

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.0.0-rc0, 7.3.0-rc3, 6.0.15, 7.0.7
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Catalog and Routing
    • Fully Compatible
    • v7.3, v7.0, v6.0
    • CAR Team 2024-02-19
    • 5

      The ttl_deletes_not_targeting_orphaned_documents.js test verifies that deletes triggered by a TTL index do not affect orphaned documents. The latter are generated by an explicit moveChunk operation with the ranger deleter disabled.

      Nevertheless, on particularly slow build variants, the moveChunk operation could be slower than the TTL index timeout (10 seconds), causing the test to fail.

      The solution consists of increasing the timeout of the TTL index to minimize the risk of deleting the document before the completion of the moveChunk operation. The effort for the change is negligible.

            Assignee:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Reporter:
            antonio.fuschetto@mongodb.com Antonio Fuschetto
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: