anchor.diff:                  false ->
                       []
               end,
  -
  +    IndexExtra = (case cluster_compat_mode:is_cluster_watson() of
  +                      true ->
  +                          CompMode = index_settings_manager:get(compactionMode),
  +                          true = (CompMode =/= undefined),
  +                          Circ0 = index_settings_manager:get(circularCompaction),
  +                          true = (Circ0 =/= undefined),
  +                          Int = proplists:get_value(interval, Circ0),
  +                          Circ1 = [{abort_outside,
  +                                    proplists:get_value(abort_outside, Circ0)}] ++ Int,
  +                          Circ = [{daysOfWeek,
  +                                   proplists:get_value(daysOfWeek, Circ0)},
  +                                  {interval,
  +                                   build_auto_compaction_allowed_time_period(
  +                                     Circ1)}],
  +                          [{indexCompactionMode, CompMode},
  +                           {indexCircularCompaction, {struct, Circ}}];
  +                      false ->
  +                          []
  +                  end) ++ Extra,
       case ns_config:search(Config, autocompaction) of
           false ->
  -            do_build_auto_compaction_settings([], Extra);
  +            do_build_auto_compaction_settings([], IndexExtra);
           {value, ACSettings} ->
  -            do_build_auto_compaction_settings(ACSettings, Extra)
  +            do_build_auto_compaction_settings(ACSettings, IndexExtra)
       end.
   
   build_bucket_auto_compaction_settings(Settings) ->
  
positive.code:                                                  {"allowedTimePeriod[fromMinute]", "1"},
                                                   {"allowedTimePeriod[toHour]", "2"},
                                                   {"allowedTimePeriod[toMinute]", "3"},
                                                   {"allowedTimePeriod[abortOutside]", "false"}], true),
      Stuff1 = lists:sort(Stuff0),
      ?assertEqual([{allowed_time_period, [{from_hour, 0},
                                           {to_hour, 2},
  
negative.code:         case ExpectIndex of
              true ->
                  PercValidator = mk_number_field_validator(2, 100, Params),
                  RV0 = PercValidator({"indexFragmentationThreshold[percentage]",
                                       index_fragmentation_percentage,
                                       "index fragmentation"}),
                  case cluster_compat_mode:is_cluster_watson() of
                      true ->
                          parse_and_validate_extra_index_settings(Params) ++ RV0;
                      false ->
                          RV0
                  end;
              false ->
                  []
          end,
  