apache / apache/bookkeeper

in EntryLogger.allocateNewLog while deciding on preallocatedLogId, there should be check for existence of files with all the extensions

Open
#1,348 0 comments 0 reactions 0 assignees View on GitHub
area/bookie triage/week-33 type/improvement
Dominant language
Java
Stars
2k
Forks
976
Avg merge
6d 15h
Merged PRs (30d)
7

Description

**BUG REPORT**

1. Please describe the issue you observed:

in EntryLogger.EntryLoggerAllocator.allocateNewLog while deciding on preallocatedLogId, there should be check for existence of files with all the extensions (.log, .log.compacting, .compacted,..), but currently it checks for the existence of only suffix of the file which is getting created.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.