<commit_before><div class="dialog-med">
  <div class="panel-header">
    <h2>Tweak internal settings</h2>
  </div>
  <form
     class="forms"
     ng-submit="internalSettingsCtl.onSubmit()"
     mn-spinner="internalSettingsCtl.viewLoading">
    <div class="panel-content">
      <div
         ng-show="internalSettingsCtl.errors.error"
         class="error error-form">
        {{internalSettingsCtl.errors.error}}
      </div>
      <input
         type="hidden"
         ng-model="internalSettingsCtl.state.indexAwareRebalanceDisabled"
         value="false">
      <input
         type="hidden"
         ng-model="internalSettingsCtl.state.rebalanceIndexWaitingDisabled"
         value="false">
      <input
         type="hidden"
         ng-model="internalSettingsCtl.state.rebalanceIndexPausingDisabled"
         value="false">
      <input
         type="hidden"
         ng-model="internalSettingsCtl.state.rebalanceIgnoreViewCompactions"
         value="false">
      <input
         type="hidden"
         ng-model="internalSettingsCtl.state.indexAutoFailoverDisabled"
         value="false">
      <input
         type="hidden"
         ng-model="internalSettingsCtl.state.certUseSha1"
         value="false">
      <div class="formrow">
        <input
           type="checkbox"
           id="for_view_aware_rebalance"
           ng-model="internalSettingsCtl.state.indexAwareRebalanceDisabled"
           value="true">
        <label for="for_view_aware_rebalance" class="margin-right-zero">
          Disable view-index aware rebalance
        </label>
        <span
           class="fa-stack icon-info"
           uib-tooltip="When not disabled makes sure indexes are always up-to-date during rebalance"
           tooltip-placement="right">
          <span class="icon fa-circle-thin fa-stack-2x"></span>
          <span class="icon fa-info fa-stack-1x"></span>
        </span>
      </div>
      <div class="formrow">
        <input
           type="checkbox"
           id="for_view_waiting_rebalance"
           ng-model="internalSettingsCtl.state.rebalanceIndexWaitingDisabled"
           value="true">
        <label for="for_view_waiting_rebalance" class="margin-right-zero">
          Disable view-index waiting during rebalance
        </label>
        <span
           class="fa-stack icon-info"
           uib-tooltip="Whether index aware rebalance waiting for index up-to-dateness should be disabled. Makes rebalance faster"
           tooltip-placement="right">
          <span class="icon fa-circle-thin fa-stack-2x"></span>
          <span class="icon fa-info fa-stack-1x"></span>
        </span>
      </div>
      <div class="formrow">
        <input
           type="checkbox"
           id="for_view_pausing_rebalance"
           ng-model="internalSettingsCtl.state.rebalanceIndexPausingDisabled"
           value="true">
        <label for="for_view_pausing_rebalance" class="margin-right-zero">
          Disable view-index pausing during rebalance
        </label>
        <span
           class="fa-stack icon-info"
           uib-tooltip="That's too complex to explain"
           tooltip-placement="right">
          <span class="icon fa-circle-thin fa-stack-2x"></span>
          <span class="icon fa-info fa-stack-1x"></span>
        </span>
      </div>
      <div class="formrow">
        <input
           type="checkbox"
           id="for_view_no_compact"
           ng-model="internalSettingsCtl.state.rebalanceIgnoreViewCompactions"
           value="true">
        <label for="for_view_no_compact">
          Don't compact views during rebalance
        </label>
      </div>
      <div class="formrow">
        <input
           type="checkbox"
           id="for_no_index_failover"
           ng-model="internalSettingsCtl.state.indexAutoFailoverDisabled"
           value="true">
        <label for="for_no_index_failover">
          Do not failover Index service automatically
        </label>
      </div>
      <label class="formrow">
        <span>Max in-/out-going backfills per node during rebalance</span>
        <input
           type="text"
           maxlength="5"
           ng-model="internalSettingsCtl.state.rebalanceMovesPerNode">
      </label>
      <label class="formrow">
        <span>VBucket moves per node before forced view compaction</span>
        <input
           maxlength="5"
           type="text"
           ng-model="internalSettingsCtl.state.rebalanceMovesBeforeCompaction">
      </label>
      <label class="formrow">
        <span>Max parallel main view-index tasks per node</span>
        <input
           maxlength="5"
           type="text"
           ng-model="internalSettingsCtl.state.maxParallelIndexers">
      </label>
      <label class="formrow">
        <span>Max parallel replica view-index tasks per node</span>
        <input
           maxlength="5"
           type="text"
           ng-model="internalSettingsCtl.state.maxParallelReplicaIndexers">
      </label>
      <label class="formrow">
        <span>Maximum Bucket Count</span>
        <input
           maxlength="3"
           type="text"
           ng-model="internalSettingsCtl.state.maxBucketCount">
      </label>
      <label
         class="formrow"
         ng-if="!internalSettingsCtl.mnPoolDefault.value.goxdcrEnabled">
        <span>XDCR Max Replications per Bucket</span>
        <input
           maxlength="5"
           type="text"
           ng-model="internalSettingsCtl.state.xdcrMaxConcurrentReps">
      </label>
      <label
         class="formrow"
         ng-if="!internalSettingsCtl.mnPoolDefault.value.goxdcrEnabled">
        <span>XDCR Checkpoint Interval</span>
        <input
           maxlength="5"
           type="text"
           ng-model="internalSettingsCtl.state.xdcrCheckpointInterval">
      </label>
      <label
         class="formrow"
         ng-if="!internalSettingsCtl.mnPoolDefault.value.goxdcrEnabled">
        <span>XDCR Batch Count</span>
        <input
           maxlength="5"
           type="text"
           ng-model="internalSettingsCtl.state.xdcrWorkerBatchSize">
      </label>
      <label
         class="formrow"
         ng-if="!internalSettingsCtl.mnPoolDefault.value.goxdcrEnabled">
        <span>XDCR Batch Size (kB)</span>
        <input
           maxlength="6"
           type="text"
           ng-model="internalSettingsCtl.state.xdcrDocBatchSizeKb">
      </label>
      <label
         class="formrow"
         ng-if="!internalSettingsCtl.mnPoolDefault.value.goxdcrEnabled">
        <span>XDCR Failure Retry Interval</span>
        <input
           maxlength="3"
           type="text"
           ng-model="internalSettingsCtl.state.xdcrFailureRestartInterval">
      </label>
      <label
         class="formrow"
         ng-if="!internalSettingsCtl.mnPoolDefault.value.goxdcrEnabled">
        <span>XDCR Optimistic Replication Threshold</span>
        <input
           maxlength="6"
           type="text"
           ng-model="internalSettingsCtl.state.xdcrOptimisticReplicationThreshold">
      </label>
      <label class="formrow">
        <span>Simultaneous REST requests limit</span>
        <input
           maxlength="6"
           type="text"
           ng-model="internalSettingsCtl.state.restRequestLimit">
      </label>
      <label class="formrow">
        <span>Simultaneous CAPI requests limit</span>
        <input
           maxlength="6"
           type="text"
           ng-model="internalSettingsCtl.state.capiRequestLimit">
      </label>
      <label class="formrow">
        <span>Drop requests after this much memory is used (MiB)</span>
        <input
           maxlength="6"
           type="text"
           ng-model="internalSettingsCtl.state.dropRequestMemoryThresholdMiB">
      </label>
      <label class="formrow">
        <span>GOTRACEBACK</span>
        <input
           type="text"
           ng-model="internalSettingsCtl.state.gotraceback">
      </label>
      <label
         class="formrow"
         ng-if="!internalSettingsCtl.mnPoolDefault.value.goxdcrEnabled">
        <span>XDCR anticipatory delay (ms)</span>
        <input
           maxlength="6"
           type="text"
           ng-model="internalSettingsCtl.state.xdcrAnticipatoryDelay">
      </label>
      <div class="formrow">
        <input
           type="checkbox"
           id="for_use_sha1"
           ng-model="internalSettingsCtl.state.certUseSha1"
           value="true">
        <label for="for_use_sha1" class="margin-right-zero">
          Use sha1 in ssl certificates
        </label>
        <span
           class="fa-stack icon-info"
           uib-tooltip="When enabled forces sha1 signature algorithm during ssl certificates generation"
           tooltip-placement="right">
          <span class="icon fa-circle-thin fa-stack-2x"></span>
          <span class="icon fa-info fa-stack-1x"></span>
        </span>
      </div>
    </div>
    <div class="panel-footer">
      <a  ng-click="$dismiss()">Cancel</a>
      <button type="submit">
        Save
      </button>
    </div>
  </form>
</div>
<commit_msg>MB-24961: removed indexAwareRebalanceDisabled from UI<commit_after><div class="dialog-med">
  <div class="panel-header">
    <h2>Tweak internal settings</h2>
  </div>
  <form
     class="forms"
     ng-submit="internalSettingsCtl.onSubmit()"
     mn-spinner="internalSettingsCtl.viewLoading">
    <div class="panel-content">
      <div
         ng-show="internalSettingsCtl.errors.error"
         class="error error-form">
        {{internalSettingsCtl.errors.error}}
      </div>
      <input
         type="hidden"
         ng-model="internalSettingsCtl.state.rebalanceIndexWaitingDisabled"
         value="false">
      <input
         type="hidden"
         ng-model="internalSettingsCtl.state.rebalanceIndexPausingDisabled"
         value="false">
      <input
         type="hidden"
         ng-model="internalSettingsCtl.state.rebalanceIgnoreViewCompactions"
         value="false">
      <input
         type="hidden"
         ng-model="internalSettingsCtl.state.indexAutoFailoverDisabled"
         value="false">
      <input
         type="hidden"
         ng-model="internalSettingsCtl.state.certUseSha1"
         value="false">
      <div class="formrow">
        <input
           type="checkbox"
           id="for_view_waiting_rebalance"
           ng-model="internalSettingsCtl.state.rebalanceIndexWaitingDisabled"
           value="true">
        <label for="for_view_waiting_rebalance" class="margin-right-zero">
          Disable view-index waiting during rebalance
        </label>
        <span
           class="fa-stack icon-info"
           uib-tooltip="Whether index aware rebalance waiting for index up-to-dateness should be disabled. Makes rebalance faster"
           tooltip-placement="right">
          <span class="icon fa-circle-thin fa-stack-2x"></span>
          <span class="icon fa-info fa-stack-1x"></span>
        </span>
      </div>
      <div class="formrow">
        <input
           type="checkbox"
           id="for_view_pausing_rebalance"
           ng-model="internalSettingsCtl.state.rebalanceIndexPausingDisabled"
           value="true">
        <label for="for_view_pausing_rebalance" class="margin-right-zero">
          Disable view-index pausing during rebalance
        </label>
        <span
           class="fa-stack icon-info"
           uib-tooltip="That's too complex to explain"
           tooltip-placement="right">
          <span class="icon fa-circle-thin fa-stack-2x"></span>
          <span class="icon fa-info fa-stack-1x"></span>
        </span>
      </div>
      <div class="formrow">
        <input
           type="checkbox"
           id="for_view_no_compact"
           ng-model="internalSettingsCtl.state.rebalanceIgnoreViewCompactions"
           value="true">
        <label for="for_view_no_compact">
          Don't compact views during rebalance
        </label>
      </div>
      <div class="formrow">
        <input
           type="checkbox"
           id="for_no_index_failover"
           ng-model="internalSettingsCtl.state.indexAutoFailoverDisabled"
           value="true">
        <label for="for_no_index_failover">
          Do not failover Index service automatically
        </label>
      </div>
      <label class="formrow">
        <span>Max in-/out-going backfills per node during rebalance</span>
        <input
           type="text"
           maxlength="5"
           ng-model="internalSettingsCtl.state.rebalanceMovesPerNode">
      </label>
      <label class="formrow">
        <span>VBucket moves per node before forced view compaction</span>
        <input
           maxlength="5"
           type="text"
           ng-model="internalSettingsCtl.state.rebalanceMovesBeforeCompaction">
      </label>
      <label class="formrow">
        <span>Max parallel main view-index tasks per node</span>
        <input
           maxlength="5"
           type="text"
           ng-model="internalSettingsCtl.state.maxParallelIndexers">
      </label>
      <label class="formrow">
        <span>Max parallel replica view-index tasks per node</span>
        <input
           maxlength="5"
           type="text"
           ng-model="internalSettingsCtl.state.maxParallelReplicaIndexers">
      </label>
      <label class="formrow">
        <span>Maximum Bucket Count</span>
        <input
           maxlength="3"
           type="text"
           ng-model="internalSettingsCtl.state.maxBucketCount">
      </label>
      <label
         class="formrow"
         ng-if="!internalSettingsCtl.mnPoolDefault.value.goxdcrEnabled">
        <span>XDCR Max Replications per Bucket</span>
        <input
           maxlength="5"
           type="text"
           ng-model="internalSettingsCtl.state.xdcrMaxConcurrentReps">
      </label>
      <label
         class="formrow"
         ng-if="!internalSettingsCtl.mnPoolDefault.value.goxdcrEnabled">
        <span>XDCR Checkpoint Interval</span>
        <input
           maxlength="5"
           type="text"
           ng-model="internalSettingsCtl.state.xdcrCheckpointInterval">
      </label>
      <label
         class="formrow"
         ng-if="!internalSettingsCtl.mnPoolDefault.value.goxdcrEnabled">
        <span>XDCR Batch Count</span>
        <input
           maxlength="5"
           type="text"
           ng-model="internalSettingsCtl.state.xdcrWorkerBatchSize">
      </label>
      <label
         class="formrow"
         ng-if="!internalSettingsCtl.mnPoolDefault.value.goxdcrEnabled">
        <span>XDCR Batch Size (kB)</span>
        <input
           maxlength="6"
           type="text"
           ng-model="internalSettingsCtl.state.xdcrDocBatchSizeKb">
      </label>
      <label
         class="formrow"
         ng-if="!internalSettingsCtl.mnPoolDefault.value.goxdcrEnabled">
        <span>XDCR Failure Retry Interval</span>
        <input
           maxlength="3"
           type="text"
           ng-model="internalSettingsCtl.state.xdcrFailureRestartInterval">
      </label>
      <label
         class="formrow"
         ng-if="!internalSettingsCtl.mnPoolDefault.value.goxdcrEnabled">
        <span>XDCR Optimistic Replication Threshold</span>
        <input
           maxlength="6"
           type="text"
           ng-model="internalSettingsCtl.state.xdcrOptimisticReplicationThreshold">
      </label>
      <label class="formrow">
        <span>Simultaneous REST requests limit</span>
        <input
           maxlength="6"
           type="text"
           ng-model="internalSettingsCtl.state.restRequestLimit">
      </label>
      <label class="formrow">
        <span>Simultaneous CAPI requests limit</span>
        <input
           maxlength="6"
           type="text"
           ng-model="internalSettingsCtl.state.capiRequestLimit">
      </label>
      <label class="formrow">
        <span>Drop requests after this much memory is used (MiB)</span>
        <input
           maxlength="6"
           type="text"
           ng-model="internalSettingsCtl.state.dropRequestMemoryThresholdMiB">
      </label>
      <label class="formrow">
        <span>GOTRACEBACK</span>
        <input
           type="text"
           ng-model="internalSettingsCtl.state.gotraceback">
      </label>
      <label
         class="formrow"
         ng-if="!internalSettingsCtl.mnPoolDefault.value.goxdcrEnabled">
        <span>XDCR anticipatory delay (ms)</span>
        <input
           maxlength="6"
           type="text"
           ng-model="internalSettingsCtl.state.xdcrAnticipatoryDelay">
      </label>
      <div class="formrow">
        <input
           type="checkbox"
           id="for_use_sha1"
           ng-model="internalSettingsCtl.state.certUseSha1"
           value="true">
        <label for="for_use_sha1" class="margin-right-zero">
          Use sha1 in ssl certificates
        </label>
        <span
           class="fa-stack icon-info"
           uib-tooltip="When enabled forces sha1 signature algorithm during ssl certificates generation"
           tooltip-placement="right">
          <span class="icon fa-circle-thin fa-stack-2x"></span>
          <span class="icon fa-info fa-stack-1x"></span>
        </span>
      </div>
    </div>
    <div class="panel-footer">
      <a  ng-click="$dismiss()">Cancel</a>
      <button type="submit">
        Save
      </button>
    </div>
  </form>
</div>

{'fraction_non_alphanumeric': 0.11852704257767549, 'fraction_numerical': 0.0037399309551208286, 'mean_word_length': 2.1210271143831925, 'pattern_counts': {'":': 0, '<': 307, '<?xml version=': 0, '>': 307, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3874786', 'n_tokens_mistral': 5052, 'n_tokens_neox': 4997, 'n_words': 846}