Comments (4)
Hmm, seems https://github.com/gocom/danpu/blob/master/src/Rah/Danpu/Base.php#L223 is not called in case of a failure?
from danpu.
The clean up is called on shutdown process via destructor method. The only case when it won't be called should be when the process dies on a FATAL error (e.g. when one doesn't capture exceptions, or the process terminates unexpectedly before normal shutdown) or other member in the shutdown chain kills the process.
from danpu.
Not sure why the tmp files remain then. I will see if I can reproduce the issue.
from danpu.
Or unable to connect is treated as FATAL?
from danpu.
Related Issues (20)
- Add bzip2 compression HOT 3
- Add drop-database statement HOT 2
- Update README to include config options HOT 4
- Capability of change db name when exporting HOT 2
- other adapters?
- create database if not exists?
- bringing over database with data hangs
- Cannot add foreign key constraing HOT 2
- exporting/importing takes longer the mysqldump HOT 2
- Existing tables not being imported are not dropped.
- read and write permission HOT 1
- Add transactions to import?
- Add mysql port support HOT 2
- Avoid heavy work in constructor
- rename Permission denied,How can I resolve it in Linux ?
- Add --single-transaction HOT 1
- Cannot delete or update a parent row: a foreign key constraint fails HOT 1
- How to correctly check if dump/restore went successful? HOT 2
- add include-tables config option
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from danpu.