You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@paimon.apache.org by "Aitozi (via GitHub)" <gi...@apache.org> on 2024/07/30 14:32:05 UTC
[I] [Bug] While loop to cache build could lead to harmful IO operation [paimon]
Aitozi opened a new issue, #3855:
URL: https://github.com/apache/paimon/issues/3855
### Search before asking
- [X] I searched in the [issues](https://github.com/apache/paimon/issues) and found nothing similar.
### Paimon version
```
while (lookupFile == null || lookupFile.isClosed) {
lookupFile = createLookupFile(file);
lookupFiles.put(file.fileName(), lookupFile);
}
```
This is to solve [this](https://github.com/apache/paimon/pull/1644#discussion_r1273399483) But could lead to harmful local and remote IO.
<img width="1660" alt="image" src="https://github.com/user-attachments/assets/8b6f134b-178d-465b-aa92-997c4f1c2ab7">
As above, which means a remote file is download and build index four times.
### Compute Engine
.
### Minimal reproduce step
.
### What doesn't meet your expectations?
.
### Anything else?
_No response_
### Are you willing to submit a PR?
- [X] I'm willing to submit a PR!
--
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.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug] While loop to cache build could lead to harmful IO operation [paimon]
Posted by "JingsongLi (via GitHub)" <gi...@apache.org>.
JingsongLi closed issue #3855: [Bug] While loop to cache build could lead to harmful IO operation
URL: https://github.com/apache/paimon/issues/3855
--
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