With WT-6058 enabling of checkpoint cleanup on all datastore, as part of checkpoint cleanup, the in-memory pages are added to the urgent queue by marking them dirty. The leaf pages with overflow keys cannot be fast deleted, they must be removed as part of the reconciliation only due to which these pages are marked dirty while adding them to eviction queue.
This led to problems during the startup of MongoDB while altering the table logging as the table is marked dirty during the checkpoint cleanup raises an error of EBUSY. To solve this problem.
If it is possible to distinguish between the normal dirty and dirty set for the cleanup operation. Raise the EBUSY error only when it is normal dirty.