This is an automated email from the ASF dual-hosted git repository.
chia7712 pushed a change to branch 4.1
in repository https://gitbox.apache.org/repos/asf/kafka.git
from f4ce123505f MINOR: Cleanups in ops docs (#20532)
new 807866ca6d5 KAFKA-19390: Call safeForceUnmap() in
AbstractIndex.resize() on Linux to prevent stale mmap of index files (#19961)
new 7f8c2a5fc94 MINOR: Refactor LockUtils and improve comments (follow up
to KAFKA-19390) (#20131)
The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../org/apache/kafka/server/util/LockUtils.java | 38 +++++-
.../kafka/storage/internals/log/AbstractIndex.java | 130 +++++++++++----------
.../kafka/storage/internals/log/OffsetIndex.java | 38 +++---
.../kafka/storage/internals/log/TimeIndex.java | 49 +++-----
.../storage/internals/log/AbstractIndexTest.java | 89 ++++++++++++++
5 files changed, 222 insertions(+), 122 deletions(-)
create mode 100644
storage/src/test/java/org/apache/kafka/storage/internals/log/AbstractIndexTest.java