modified all_workers_do_whole_sync to hash distribute mode