<commit_before>.. _change-log:

*********
Changelog
*********

.. role:: changetype
.. role:: changetype-breaking
    :class: changetype changetype-breaking
.. role:: changetype-new
    :class: changetype changetype-new
.. role:: changetype-fixed
    :class: changetype changetype-fixed
.. role:: changetype-changed
    :class: changetype changetype-changed
.. role:: changetype-improved
    :class: changetype changetype-improved
.. role:: changetype-deprecated
    :class: changetype changetype-deprecated

.. |userbreak| replace:: :changetype-breaking:`USER BREAK`
.. |devbreak| replace:: :changetype-breaking:`DEV BREAK`
.. |new| replace:: :changetype-new:`NEW`
.. |fixed| replace:: :changetype-fixed:`FIXED`
.. |changed| replace:: :changetype-changed:`CHANGED`
.. |improved| replace:: :changetype-improved:`IMPROVED`
.. |deprecated| replace:: :changetype-deprecated:`DEPRECATED`

.. toctree::
  :hidden:

=======
develop
=======

.. list-table::
    :widths: 5 40
    :header-rows: 1

    *    - Type
         - Change

    *    - |new|
         - Cassandra now attempts to truncate when performing a ``deleteRange(RangeRequest.All())`` in an effort to build up less garbage.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1617>`__)

    *    - |fixed|
         - Timelock server now specifies minimum and maximum heap size of 512 MB.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1647>`__)

    *    - |fixed|
         - The background sweeper now uses deleteRange instead of truncate when clearing the ``sweep.progress`` table.
           This prevents the operation from interfering with concurrently running Postgres backups.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1616>`__)

    *    - |new|
         - Users can now create a Docker image and run containers of the Timelock Server, by running ``./gradlew timelock-server:dockerTag``.
           This can be useful for quickly spinning up a Timelock instance (e.g. for testing purposes).
           Note that we are not yet publishing this image.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1661>`__)

    *    - |fixed|
         - AtlasDB :ref:`CLIs <clis>` run via the :ref:`Dropwizard bundle <dropwizard-bundle>` can now work with a Timelock block, and will contact the relevant Timelock server for timestamps or locks in this case.
           Previously, these CLIs would throw an error that a leader block was not specified.
           Note that CLIs will not perform automated migrations.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1661>`__)

    *    - |improved|
         - Cassandra truncates that are going to fail will do so faster.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1660>`__)

    *    - |devbreak|
         - The persistent lock endpoints now use ``PersistentLockId`` instead of ``LockEntry``.

    *    - |improved|
         - The ``CheckAndSetException`` now gets mapped to the correct response for compatibility.
           with `http-remoting <https://github.com/palantir/http-remoting>`__ whereas previously, any consumer using http-remoting would have to deal with deserialization errors.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1665>`__)

    *    - |devbreak|
         - The persistent lock release endpoint has now been renamed to ``releaseBackupLock`` since it is currently only supposed to be used for the backup lock.

    *    - |deprecated|
         - ``PaxosLeaderElectionService`` is now deprecated, to mitigate risks of users supplying parameters in the wrong order.
           ``PaxosLeaderElectionServiceBuilder`` should be used instead.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1681>`__)

.. <<<<------------------------------------------------------------------------------------------------------------->>>>

=======
v0.34.0
=======<commit_msg>Fix release notes to not sound like leader election is deprecated<commit_after>.. _change-log:

*********
Changelog
*********

.. role:: changetype
.. role:: changetype-breaking
    :class: changetype changetype-breaking
.. role:: changetype-new
    :class: changetype changetype-new
.. role:: changetype-fixed
    :class: changetype changetype-fixed
.. role:: changetype-changed
    :class: changetype changetype-changed
.. role:: changetype-improved
    :class: changetype changetype-improved
.. role:: changetype-deprecated
    :class: changetype changetype-deprecated

.. |userbreak| replace:: :changetype-breaking:`USER BREAK`
.. |devbreak| replace:: :changetype-breaking:`DEV BREAK`
.. |new| replace:: :changetype-new:`NEW`
.. |fixed| replace:: :changetype-fixed:`FIXED`
.. |changed| replace:: :changetype-changed:`CHANGED`
.. |improved| replace:: :changetype-improved:`IMPROVED`
.. |deprecated| replace:: :changetype-deprecated:`DEPRECATED`

.. toctree::
  :hidden:

=======
develop
=======

.. list-table::
    :widths: 5 40
    :header-rows: 1

    *    - Type
         - Change

    *    - |new|
         - Cassandra now attempts to truncate when performing a ``deleteRange(RangeRequest.All())`` in an effort to build up less garbage.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1617>`__)

    *    - |fixed|
         - Timelock server now specifies minimum and maximum heap size of 512 MB.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1647>`__)

    *    - |fixed|
         - The background sweeper now uses deleteRange instead of truncate when clearing the ``sweep.progress`` table.
           This prevents the operation from interfering with concurrently running Postgres backups.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1616>`__)

    *    - |new|
         - Users can now create a Docker image and run containers of the Timelock Server, by running ``./gradlew timelock-server:dockerTag``.
           This can be useful for quickly spinning up a Timelock instance (e.g. for testing purposes).
           Note that we are not yet publishing this image.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1661>`__)

    *    - |fixed|
         - AtlasDB :ref:`CLIs <clis>` run via the :ref:`Dropwizard bundle <dropwizard-bundle>` can now work with a Timelock block, and will contact the relevant Timelock server for timestamps or locks in this case.
           Previously, these CLIs would throw an error that a leader block was not specified.
           Note that CLIs will not perform automated migrations.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1661>`__)

    *    - |improved|
         - Cassandra truncates that are going to fail will do so faster.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1660>`__)

    *    - |devbreak|
         - The persistent lock endpoints now use ``PersistentLockId`` instead of ``LockEntry``.

    *    - |improved|
         - The ``CheckAndSetException`` now gets mapped to the correct response for compatibility.
           with `http-remoting <https://github.com/palantir/http-remoting>`__ whereas previously, any consumer using http-remoting would have to deal with deserialization errors.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1665>`__)

    *    - |devbreak|
         - The persistent lock release endpoint has now been renamed to ``releaseBackupLock`` since it is currently only supposed to be used for the backup lock.

    *    - |deprecated|
         - The public ``PaxosLeaderElectionService`` constructor is now deprecated, to mitigate risks of users supplying parameters in the wrong order.
           ``PaxosLeaderElectionServiceBuilder`` should be used instead.
           (`Pull Request <https://github.com/palantir/atlasdb/pull/1681>`__)

.. <<<<------------------------------------------------------------------------------------------------------------->>>>

=======
v0.34.0
=======
{'fraction_non_alphanumeric': 0.14602935641701167, 'fraction_numerical': 0.010789110525655501, 'mean_word_length': 2.6873265494912117, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, 'https://': 18, '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': '402514', 'n_tokens_mistral': 2425, 'n_tokens_neox': 2185, 'n_words': 701}