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

Make eager_reaping.js robust to implicit internal transactions from test setup

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • Execution Team 2024-12-09

      Retryable internal transaction remove sessions before expirations if the txnNumber passes a threshold 

      The test assumes to begin with no open sessions, and verifies the mentioned logic will be applied after passing a limit specifically lowered by the test sessions.

      After SERVER-81190 unsharded collection are tracked using the createCollectionCoordinator, the implicit creation at the beginning makes the test failing due to the extra session opened (and not yet expired) during the creation process. The same can happen with database creation with the new create database coordinator.

      The goal of this ticket is to re-write/adapt the test knowing this session is now present.

            Assignee:
            yuhong.zhang@mongodb.com Yuhong Zhang
            Reporter:
            enrico.golfieri@mongodb.com Enrico Golfieri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: