anchor.diff:      if
           Node =:= NewNode ->
               %% if there's nothing to move, we're done
  -            ok = janitor_agent:set_vbucket_state(Bucket, NewNode, Parent, VBucket, active, undefined, undefined);
  +            set_vbucket_state(Bucket, NewNode, Parent, VBucket, active, undefined, undefined);
           true ->
               ok = run_mover(Bucket, VBucket, Node, NewNode),
  -            ok = janitor_agent:set_vbucket_state(Bucket, NewNode, Parent, VBucket, active, undefined, undefined),
  +            set_vbucket_state(Bucket, NewNode, Parent, VBucket, active, undefined, undefined),
               ok
       end.
   
  
positive.code:                     case cluster_compat_mode:is_index_pausing_on() of
                          true ->
                              system_stats_collector:increment_counter(index_pausing_runs, 1),
                              janitor_agent:set_vbucket_state(Bucket, OldMaster, Parent, VBucket, active,
                                                              paused, undefined),
                              wait_master_seqno_persisted_on_replicas(Bucket, VBucket, Parent, OldMaster,
                                                                      AllBuiltNodes);
                          false ->
  
negative.code:             new_ns_replicas_builder:shutdown_replicator(BuilderPid, NewNode),
              ?rebalance_info("Going to do takeover"),
              ok = run_mover(Bucket, VBucket, Node, NewNode),
              set_vbucket_state(Bucket, NewNode, Parent, VBucket, active, undefined, undefined)
      end.
  
  get_replica_and_backfill_nodes(MasterNode, [NewMasterNode|_] = NewChain) ->
  