sofastack / sofa-jraft

A production-grade java implementation of RAFT consensus algorithm.
https://www.sofastack.tech/projects/sofa-jraft/
Apache License 2.0
3.57k stars 1.14k forks source link

optimize: null are allowed for expect or update value #963

Closed funky-eyes closed 1 year ago

funky-eyes commented 1 year ago

Motivation:

Explain the context, and why you're making that change. To make others understand what is the problem you're trying to solve.

Modification:

Describe the idea and modifications you've done.

Result:

Fixes #944

If there is no issue then describe the changes introduced by this PR.