Re: [PR] KAFKA-15931: Reopen TransactionIndex if channel is closed [kafka]

2024-05-23 Thread via GitHub
showuon commented on PR #15241: URL: https://github.com/apache/kafka/pull/15241#issuecomment-2126963749 @jeqo , could you address @kamalcph 's comment above? Thanks. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the

Re: [PR] KAFKA-15931: Reopen TransactionIndex if channel is closed [kafka]

2024-04-24 Thread via GitHub
kamalcph commented on PR #15241: URL: https://github.com/apache/kafka/pull/15241#issuecomment-2074186450 Thanks for the patch @jeqo! I was able to reproduce the exception mentioned in the ticket by calling close in-middle of collecting the aborted transactions. The fix doesn't

Re: [PR] KAFKA-15931: Reopen TransactionIndex if channel is closed [kafka]

2024-04-23 Thread via GitHub
nikramakrishnan commented on PR #15241: URL: https://github.com/apache/kafka/pull/15241#issuecomment-2072530250 Bump! @satishd @kamalcph can we get this review going? Thanks! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub

Re: [PR] KAFKA-15931: Reopen TransactionIndex if channel is closed [kafka]

2024-03-01 Thread via GitHub
nikramakrishnan commented on code in PR #15241: URL: https://github.com/apache/kafka/pull/15241#discussion_r1509082067 ## storage/src/main/java/org/apache/kafka/storage/internals/log/RemoteIndexCache.java: ## @@ -522,6 +522,18 @@ public TimeIndex timeIndex() { //

Re: [PR] KAFKA-15931: Reopen TransactionIndex if channel is closed [kafka]

2024-03-01 Thread via GitHub
nikramakrishnan commented on code in PR #15241: URL: https://github.com/apache/kafka/pull/15241#discussion_r1509082067 ## storage/src/main/java/org/apache/kafka/storage/internals/log/RemoteIndexCache.java: ## @@ -522,6 +522,18 @@ public TimeIndex timeIndex() { //

[PR] KAFKA-15931: Reopen TransactionIndex if channel is closed [kafka]

2024-01-21 Thread via GitHub
jeqo opened a new pull request, #15241: URL: https://github.com/apache/kafka/pull/15241 Cached TransactionIndex may get closed if interrupted, causing following calls to always fail with ClosedChannelException, and forcing process to be restarted. In order to avoid this issue, a new method