Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-7442

RTS to open dhandle only when the dhandle has unstable updates

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Critical - P2 Critical - P2
    • 4.4.6, WT10.0.1, 5.0.0-rc0
    • Affects Version/s: 4.4.0
    • Component/s: None
    • Labels:
    • 8
    • Storage - Ra 2021-05-03
    • v4.4

      In rollback to stable, we need to open all the dhandles to check whether any work is required to rollback the particular table. If we have a lot of files in the database, we would have a lot of dhandles open in WiredTiger after rollback to stable. The following checkpoint after rollback to stable then would become very expensive in this case. Some customers with large dhandles are experiencing performance issues during shut down and startup since upgrading to mongodb 4.4.

      We need to figure out a solution to reduce the checkpoint overhead caused by the dhandles opened by rollback to stable.

            ravi.giri@mongodb.com Ravi Giri
            chenhao.qu@mongodb.com Chenhao Qu
            3 Vote for this issue
            28 Start watching this issue