You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "liming30 (via GitHub)" <gi...@apache.org> on 2023/11/13 13:38:39 UTC

[PR] [common] fix the problem that RecordReader may not be closed in asynchronous compact thread. [incubator-paimon]

liming30 opened a new pull request, #2309:
URL: https://github.com/apache/incubator-paimon/pull/2309

   <!-- Please specify the module before the PR name: [core] ... or [flink] ... -->
   
   ### Purpose
   
   <!-- Linking this pull request to the issue -->
   Linked issue: close #2231 
   
   <!-- What is the purpose of the change -->
    [common] fix the problem that RecordReader may not be closed in asynchronous compact thread. 
   
   Since `RecordReader#readBatch` is affected by `interrupt`, `currentIterator#releaseBatch` may be executed twice, resulting in the `RecordReader` possibly not being closed. 
   
   #2285 mainly fixes the problem that the `Writer` is not closed, and the `Reader` also needs to be closed.
   
   ### Tests
   
   <!-- List UT and IT cases to verify this change -->
   No
   ### API and Format
   
   <!-- Does this change affect API or storage format -->
   No
   ### Documentation
   
   <!-- Does this change introduce a new feature -->
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] [common] fix the problem that RecordReader may not be closed in asynchronous compact thread. [incubator-paimon]

Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi merged PR #2309:
URL: https://github.com/apache/incubator-paimon/pull/2309


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@paimon.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org