mirror of https://github.com/apache/kafka.git
MetadataShell should take an advisory lock on the .lock file of the directory it is reading from. Add an integration test of this functionality in MetadataShellIntegrationTest.java. Note: in build.gradle, I had to add some dependencies on server-common's test files in order to use MockFaultHandler, etc. MetadataBatchLoader.java: fix a case where a log message was incorrect. The intention was to print the number equivalent to (offset + index). Instead it was printing the offset, followed by the index. So if the offset was 100 and the index was 1, 1001 would be printed rather than 101. Co-authored-by: Igor Soarez <i@soarez.me> Reviewers: David Arthur <mumrah@gmail.com>, José Armando García Sancio <jsancio@apache.org> |
||
---|---|---|
.. | ||
main/java/org/apache/kafka/shell | ||
test |