Fix force GC doesn't work under forceAllowCompaction when disk is full (#3205)