Comments (4)
Thanks for the report! It is not clear to me that this is a bug rather than intended behavior. If Ctrl-C is indistinguishable from unmounting the file system (as it was in 2.31 and earlier), you could always just unmount the filesystem rather than pressing Ctrl-C. In 2.32 and newer, Ctrl-C results in the filesystem terminating as quickly as possible without data-loss (assuming that the local cache is kept).
Do you have a use case where you depend on Ctrl-C having the same semantics as unmounting?
from s3ql.
Hi,
This is because I try to run s3ql in a docker container. So it must run in forground and must be unmounted cleanly when the container is stopped (when it is stopped, docker send a SIGTERM signal to the process running in the container).
When mount.s3ql --fg
receives a SIGTERM or SIGHUP, it should cleanly unmount (whatever the time needed) and exit. This works fine in version 2.21 but crashes with v2.32.
Here is my project : https://gitlab.com/Salokyn/docker-s3ql
from s3ql.
Thanks for the additional details! However, it is still not clear to me why you can't trigger a regular unmount before stopping the container, or as part of the container stopping procedure. Having a way to shutdown S3QL as quickly as possible without loosing data is a valuable feature, so I'm really not found of the idea of dropping this in favor of making SIGTERM/SIGHUP an alias for unmount.
from s3ql.
I'm closing this bug report for now. Please feel free to re-open this if you can provide the requested information!
from s3ql.
Related Issues (20)
- Consider implementing fully O(1) copy-on-write HOT 8
- Support incremental update of outdated local cache
- Be smarter about metadata object upload order
- zstd support HOT 14
- Handling .db sqlite database file HOT 1
- 5.0: Upgrade to revision 26 from older FS fails with unexpected keyword argument
- Signed/unsigned issue with a/c/mtime in far future HOT 4
- Invalid ETag after S3 backup and restore on AWS
- does it mean tthe S3QL development is still alive? HOT 1
- Drop support for enencrypted buckets HOT 1
- Improve clean-up on test failures
- Use multiple connections when transferring metadata
- Incorporate dugong module into S3QL HOT 3
- Make s3qlrm support inotify HOT 2
- s3qlrm may fail with ENOTEMPTY in rare cases
- DatabaseChecksumError HOT 24
- Adding a WAL checkpoint to dirty block upload thread can improve performance HOT 17
- Dedicated backend for Storj S3 HOT 21
- Metadata backup is corrupted. HOT 5
- Aborted fsck.s3ql can result in corrupted metadata
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 s3ql.