add repeat buckets num and buckets lock