ac6f503:Fix a bug that DB stats of old file become zero during compaction