question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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:closed
  • Created 4 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
caohdgegecommented, Nov 29, 2019

yes, you can try it in win10,java version oracle jdk8 and Apache Maven 3.6.3.

0reactions
slievrlycommented, Nov 29, 2019

@caohdgege so these error can reproduce on wins OS?I need to check with others.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found