raft: remove unused compactThreshold