FileTransactionStoreManager is never close so the seataFile could not be delete
See original GitHub issue- I have searched the issues of this repository and believe that this is not a duplicate.
Ⅰ. Issue Description
FileTransactionStoreManagerTest test failure, the reason is that FileTransactionStoreManager.currRaf
is holding the file and the currRaf
never close. so when call seataFile.delete
will return a value false
.
Ⅲ. Describe what you expected to happen
FileTransactionStoreManager provider a method to close currRaf, so that the file can be delete success.
Ⅵ. Environment:
- JDK version : oracle jdk8
- OS : windows 10
- seata: 1.0.0-SNAPSHOT
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Resource leak: 'in' is never closed - java - Stack Overflow
Generally, instances of classes that deal with I/O should be closed after you're finished with them. So at the end of your code...
Read more >Use policies for site closure and deletion - Microsoft Support
Closing a site indicates that the site is no longer in use and can eventually be deleted according to a schedule. A closed...
Read more >Remove one or more Business Profiles from your account
Business Profile settings. Select Remove Business Profile and then Remove profile content and managers. Tip: You can mark your business as permanently closed...
Read more >How to Close Hard-to-Delete Online Accounts
Consumer Reports offers tips for closing hard-to-delete online accounts. Data experts say deleting old digital accounts is important for ...
Read more >Delete apps on your iPhone, iPad, and iPod touch
Tap Delete App, then tap Delete to confirm. Keep in mind that some built-in Apple apps can't be deleted from your device, so...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
yes, you can try it in win10,java version oracle jdk8 and Apache Maven 3.6.3.
@caohdgege so these error can reproduce on wins OS?I need to check with others.