Hi dev,

Just have checked the commit list of the master branch.  I suggest
including the following 16 commits for bug fixes and improvements.  I have
tried to cherry-pick them to branch-2; see
https://github.com/apache/ratis/tree/branch-2_tmp

Tsz-Wo

commit 8247d3c6b637d6155c76a03dbb8bd9504cacbdb3
Author: Tsz-Wo Nicholas Sze <[email protected]>
Date:   Tue Feb 28 05:00:02 2023 -0800

    RATIS-1793. Enforce raft.server.log.appender.wait-time.min. (#832)

    (cherry picked from commit fdd7c5c98beaeed6aa33261752554575282e1a43)

commit beb6a5dfd3a59cbc78103490917e7ad473baa6f4
Author: Kaijie Chen <[email protected]>
Date:   Sat Feb 25 04:04:01 2023 +0800

    RATIS-1791. Intermittent failure in
ServerRestartTests#testRestartFollower (#827)

    (cherry picked from commit 3a19630a8fe17e055f820b712450123201641421)

commit 74830239efd359216406459cc50047d22e2c39f8
Author: Tsz-Wo Nicholas Sze <[email protected]>
Date:   Thu Feb 23 00:32:46 2023 -0800

    RATIS-1788. Improve the JvmPauseMonitor log messages. (#826)

    (cherry picked from commit 655db36c68a4c46a59150b548e76f2e92c33bf84)

commit f348cac8b07ff111e57af702a0efd94999a7e2c5
Author: Potato <[email protected]>
Date:   Wed Feb 22 06:15:36 2023 +0800

    RATIS-1785. Use SingleThreadExecutor to manage the lifetime of single
thread (#824)

    (cherry picked from commit d838c56772568211b9af617d78c5182af641faac)

commit e47fcb96217e6e2b44fa1c36e8b4106de9f0d490
Author: Potato <[email protected]>
Date:   Wed Feb 22 04:02:47 2023 +0800

    RATIS-1786. Reset the digester of the follower at the beginning of each
file transfer during a InstallSnapshot to avoid snapshot transfer failure
(#825)

    (cherry picked from commit 4ba1e71a3a0c0110421c459d7c2d116c0bed10ea)

commit c2e3bcca06ab3b566959133358a7f4399bd613bb
Author: Tsz-Wo Nicholas Sze <[email protected]>
Date:   Fri Feb 17 01:22:28 2023 -0800

    RATIS-1543. Log from GrpcLogAppender is confusing. (#821)

    (cherry picked from commit ca9fdd29e15b81464fd20d73a1d070a050bae30c)

commit 4a0496b188cd96f05fbab10a4327714bb8408d17
Author: Tsz-Wo Nicholas Sze <[email protected]>
Date:   Thu Feb 16 16:34:18 2023 -0800

    RATIS-1783. MAX_OP_SIZE is not configurable on raft log read. (#823)

    (cherry picked from commit c4f54dfe88d1b574a03688f16a592cf0d59d13a9)

commit ed481ff95f9b6688108616df1380a83e4e9ca74b
Author: Arpit Agarwal <[email protected]>
Date:   Thu Feb 16 14:46:59 2023 -0800

    RATIS-1784. Ignore .vscode in source repo. (#822)

    (cherry picked from commit dd488f8b29fd1647da15c9609778f6ba97ddc4e0)

commit f18bce302cfc847ba9f0b83a56a7e2674b50830f
Author: Tsz-Wo Nicholas Sze <[email protected]>
Date:   Thu Jan 19 22:35:24 2023 +0800

    RATIS-1772. Refactor the startLeaderElection code in LeaderStateImpl.
(#811)

    (cherry picked from commit 8c16c28351576b893564c5cc621c7d069b1de14a)

commit 272eeae2a253fc86d72fccc536aff0fcbbfc82b9
Author: William Song <[email protected]>
Date:   Fri Jan 13 19:43:35 2023 +0800

    RATIS-1766. Add descriptions to metrics entries (#804)

    (cherry picked from commit c2181e5fab51254452db094693d5bddbda78d5ba)

commit 070a3aa1a254e3403c14389796bfe1a4b177967c
Author: Yaolong Liu <[email protected]>
Date:   Fri Jan 13 17:36:03 2023 +0800

    RATIS-1768. Fix stepDown command don't work issue (#806)

    (cherry picked from commit 71a9fdffa9ab49d6f4f39402ff3873423021c107)

commit 3e1419c72ad10d6c14385a3daf2f1f25ea8bcdc7
Author: William Song <[email protected]>
Date:   Tue Jan 10 14:45:05 2023 +0800

    RATIS-1767. Initialize MatchIndex to RaftLog.INVALID_LOG_INDEX. (#805)

    (cherry picked from commit c62c9e22557bb55173f0668fd196ee51fb1f73be)

commit e40a5f8aa35a0438c9d21c2139d85a29556c9b40
Author: William Song <[email protected]>
Date:   Tue Jan 3 13:54:18 2023 +0800

    RATIS-1763. Purging logs in an ordered manner. (#801)

commit e01c8e579e0cac8b918de7348afc409bf1e218c8
Author: Tsz-Wo Nicholas Sze <[email protected]>
Date:   Sat Dec 24 16:41:50 2022 +0800

    RATIS-1761. If LeaderStateImpl is not running, it should not restart a
LogAppender. (#799)

    (cherry picked from commit 77a9949f98d6c80a8c1466887763d44fb64c9ccc)

commit 3923d64bf02c0e2fbc0915dae5fcc0ea9b12204e
Author: Tsz-Wo Nicholas Sze <[email protected]>
Date:   Tue Dec 6 05:00:47 2022 -0800

    RATIS-1751. Race condition between LeaderStateImpl & ServerState. (#789)

    (cherry picked from commit 1c00461b93a2d259bf810713b00a9791a6bd292d)

commit fb176cfea734fc5cc489c08adb0aa8be61894f3f
Author: William Song <[email protected]>
Date:   Tue Nov 29 08:06:26 2022 +0800

    RATIS-1750. Add snapshot section in dev guide (#788)

    (cherry picked from commit 96b2f267e81959d345725a5dc840725b32fd1b2b)
----- END ------

On Tue, Feb 28, 2023 at 8:56 AM Tsz Wo Sze <[email protected]> wrote:

> Thanks a lot for the release discussion!  Will go through the JIRA list to
> see which ones should be included.
> Tsz-Wo
>
> On Mon, Feb 27, 2023 at 11:36 PM Yaolong Liu <[email protected]> wrote:
>
>> Hi Attila,
>>
>>
>> Thanks for starting this discussion, I want to include linearizable read
>> related commits in the next release of Ratis.
>> Here is the list:
>>
>>
>>
>> RATIS-1643. Add heartbeat broadcast mechanism for leader readIndex
>>
>> RATIS-1696. Support linearizable read-only requests in leader
>>
>> RATIS-1701. Add new Server RPC: readIndex
>>
>> RATIS-1706. Move heartbeat listeners to LeaderState
>>
>> RATIS-1715. Support linearizable read in AsyncApi
>>
>> RATIS-1716. Separate ReadException and ReadIndexException for client retry
>>
>> RATIS-1758. Add linearizable read in Counter example
>>
>> RATIS-1759. Support client use linearizable read per request
>>
>> RATIS-1773. Fix readIndexHeartbeat using incorrct index handle
>> onAppendEntriesReply method
>>
>> RATIS-1778. Fix NPE in readIndexHeartbeats
>>
>>
>>
>> BTW, since linearizable read is a relatively large feature,  should we
>> directly use 2.5.0 as the next release version number.
>>
>>
>> Regards,
>> Yaolong
>>
>>
>>
>>
>>
>> At 2023-02-27 23:08:04, "Attila Doroszlai" <[email protected]> wrote:
>> >Hi all,
>> >
>> >I would like to propose preparing maintenance releases of Ratis
>> >Third-party and Ratis with the following changes since 1.0.3 and
>> >2.4.1, respectively:
>> >
>> >Ratis Thirdparty 1.0.4
>> >* RATIS-1760. Bump Netty to 4.1.86.Final to fix CVE-2022-41881
>> >
>> >Ratis 2.4.2
>> >* RATIS-1748. Cache getMetricName to reduce garbage
>> >* Changes required for Ozone certificate improvements (RATIS-1747,
>> RATIS-1753)
>> >* RATIS-1745. Improve performance of AwaitForSignal by reducing amount
>> >of exceptions created
>> >* RATIS-1754. Set leader to null when stepping down
>> >* RATIS-1756. Consistent usage of gapThreshold in getMajorityMin
>> >* RATIS-1776. Switch to slf4j-reload4j
>> >* RATIS-1792. Replace parallelStream usage in PeerProxyMap
>> >
>> >Is there any other fix that should be backported from master to branch-2?
>> >
>> >thanks,
>> >Attila
>>
>

Reply via email to