sofastack / sofa-jraft

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

fix(Rhea): compatible a bug in jdk 11 #991

Closed lfygh closed 1 year ago

lfygh commented 1 year ago

https://github.com/sofastack/sofa-jraft/issues/990

Motivation:

compatible with a bug in JDK 11

Modification:

Check the cursorKey before compare

Result:

Fixes #990

fengjiachun commented 1 year ago

You can first execute mvn clean compile, which will trigger a script to execute code formatting.

fengjiachun commented 1 year ago

签一下 CLA?