<commit_before><script id="resolve_issues-container-template" type="text/x-handlebars-template">
    <div class="container">
        <div id="issue-alerts"></div>
        <div class="issue-list"></div>
    </div>
</script>

<script id="resolve_issues-issue_list-template" type="text/x-handlebars-template">
    <div class="issues"></div>
</script>

<script id="declare_machine_dead-modal-template" type="text/x-handlebars-template">
    <div class="alert alert-error error_answer"></div>

    <strong class="title_center">Warning</strong>
    <p>If you permanently remove this server, all its data will be lost.<br/>
    Even if you restart the RethinkDB process you will not be able to recover the data on this server..</p>

    <div class="alert alert-error displayed_alert">
        All the data on the server will be <strong>definitively</strong> lost.
    </div>


    <div class="input">
        <p>Are you sure you want to permanently remove <strong>{{machine_name}}</strong>? <br/>
        Please write "permanently remove" to confirm this action.</p>
        <input class="xlarge large_input verification" name="name" size="30" type="text" placeholder='Write "permanently remove" to confirm' />

        <div class="alert alert-error error_verification">Please write "permanently remove" to confirm.</div>
    </div>

</script>

<script id="fail_solve_issue-template" type="text/x-handlebars-template">
    Sorry, something went wrong. The issue might not be up to date, please refresh.
</script>

<script id="resolve_vclock-modal-template" type="text/x-handlebars-template">
    <div class="alert alert-error error_answer"></div>
    <p>Are you sure you want to use the value <strong>{{final_value}}</strong>?</p>
</script>

<script id="resolve_unsatisfiable_goals_modal-template" type="text/x-handlebars-template">
    <div class="alert alert-error error_answer"></div>
    <p>Are you sure you want to lower the number of replicas for table <a class="change-route" href="#tables/{{namespace_id}}">{{namespace_name}}</a> in the following datacenters or in the whole cluster:</p>
    <ul>
        {{#each datacenters_with_issues}}
        <li>
        {{#if is_universe}}
        Whole cluster
        {{else}}
        <a class="change-route" href="#datacenters/{{this.datacenter_id}}">{{this.datacenter_name}}</a> from
        {{/if}}
            <strong>{{this.num_replicas}}</strong> to <strong>{{num_machines}}</strong>
                {{#if this.change_ack}}
                <br /><strong>Warning</strong>: The number of acks will be lowered too.
                {{/if}}<commit_msg>Fix message in case of dead machine<commit_after><script id="resolve_issues-container-template" type="text/x-handlebars-template">
    <div class="container">
        <div id="issue-alerts"></div>
        <div class="issue-list"></div>
    </div>
</script>

<script id="resolve_issues-issue_list-template" type="text/x-handlebars-template">
    <div class="issues"></div>
</script>

<script id="declare_machine_dead-modal-template" type="text/x-handlebars-template">
    <div class="alert alert-error error_answer"></div>

    <div class="alert alert-error displayed_alert">
        <strong>Warning:</strong> Removing this server will destroy its
        data, proceed with caution.
    </div>

    <p><strong>This server is currently unreachable</strong></p>

    <p>
        To restore service availability, this server either needs to rejoin
        the cluster or be permanently removed.
    </p>

    <p><strong>What does removing a server do?</strong></p>

    <p>The server will be dropped from the cluster, service availability
        will resume, and its data will be destroyed to maintain cluster
        integrity.
    </p>

    <hr>

    <div class="input">
        <h3>
            Are you sure you want to permanently remove <strong>{{machine_name}}</strong>?
        </h3>

        <p>
            <input class="xlarge large_input verification" name="name"
            placeholder="Type 'permanently remove' to confirm" size="30" type=
            "text">
        </p>

        <div class="alert alert-error error_verification">
            Please type "permanently remove" to confirm.
        </div>
    </div>

</script>

<script id="fail_solve_issue-template" type="text/x-handlebars-template">
    Sorry, something went wrong. The issue might not be up to date, please refresh.
</script>

<script id="resolve_vclock-modal-template" type="text/x-handlebars-template">
    <div class="alert alert-error error_answer"></div>
    <p>Are you sure you want to use the value <strong>{{final_value}}</strong>?</p>
</script>

<script id="resolve_unsatisfiable_goals_modal-template" type="text/x-handlebars-template">
    <div class="alert alert-error error_answer"></div>
    <p>Are you sure you want to lower the number of replicas for table <a class="change-route" href="#tables/{{namespace_id}}">{{namespace_name}}</a> in the following datacenters or in the whole cluster:</p>
    <ul>
        {{#each datacenters_with_issues}}
        <li>
        {{#if is_universe}}
        Whole cluster
        {{else}}
        <a class="change-route" href="#datacenters/{{this.datacenter_id}}">{{this.datacenter_name}}</a> from
        {{/if}}
            <strong>{{this.num_replicas}}</strong> to <strong>{{num_machines}}</strong>
                {{#if this.change_ack}}
                <br /><strong>Warning</strong>: The number of acks will be lowered too.
                {{/if}}
{'fraction_non_alphanumeric': 0.14374315943086466, 'fraction_numerical': 0.0010944910616563297, 'mean_word_length': 3.3481363996827915, 'pattern_counts': {'":': 0, '<': 138, '<?xml version=': 0, '>': 138, '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': '241594', 'n_tokens_mistral': 1644, 'n_tokens_neox': 1596, 'n_words': 450}