[
https://issues.apache.org/jira/browse/RATIS-2310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Nandakumar updated RATIS-2310:
------------------------------
Summary: Implement hashCode and equals method for SizeInBytes class (was:
Implement hashCode and equals for SizeInBytes class)
> Implement hashCode and equals method for SizeInBytes class
> ----------------------------------------------------------
>
> Key: RATIS-2310
> URL: https://issues.apache.org/jira/browse/RATIS-2310
> Project: Ratis
> Issue Type: Improvement
> Components: common
> Reporter: Nandakumar
> Assignee: Nandakumar
> Priority: Major
>
> Since {{SizeInBytes}} doesn't have {{equals}} method implemented, two
> different objects of {{SizeInBytes}} with same value are considered
> different. This is causing flood in the logs as {{ConfUtils#isNew}} method
> considers the same value of {{SizeInBytes}} as different.
> Ref: RATIS-2229
> {code}
> 2025-06-15 00:30:18 INFO RaftServerConfigKeys:63 -
> raft.server.log.appender.buffer.byte-limit = 32m (=33554432) (custom)
> 2025-06-15 00:30:18 INFO RaftServerConfigKeys:63 -
> raft.server.log.appender.buffer.byte-limit = 32m (=33554432) (custom)
> 2025-06-15 00:30:18 INFO RaftServerConfigKeys:63 -
> raft.server.log.appender.buffer.byte-limit = 32m (=33554432) (custom)
> 2025-06-15 00:30:18 INFO RaftServerConfigKeys:63 -
> raft.server.log.appender.buffer.byte-limit = 32m (=33554432) (custom)
> 2025-06-15 00:30:18 INFO RaftServerConfigKeys:63 -
> raft.server.log.appender.buffer.byte-limit = 32m (=33554432) (custom)
> 2025-06-15 00:30:18 INFO RaftServerConfigKeys:63 -
> raft.server.log.appender.buffer.byte-limit = 32m (=33554432) (custom)
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)