Comments (2)
Before every upgrade the old sidekiq instance is told to no longer accept new jobs and only finish the remaining one sidekiq has already started processing: https://github.com/Mic92/mina-sidekiq/blob/master/lib/mina_sidekiq/tasks.rb#L76
The rest of the upgrade process will takes place (deploying the new rails application)
After that the old sidekiq master will be stopped gracefully.
The new sidekiq master will be started and start processing jobs.
Unprocessed jobs will stay in Redis. There is a chapter in documentation explaining the safety levels Redis provide: https://redis.io/topics/persistence
It could be that jobs get lost, if sidekiq crashes during loading a job. This message will be lost then. There is a payed version of sidekiq, called sidekiq pro which counter measure this case: http://sidekiq.org/products/pro
But this is out of the scope what my library does.
from mina-sidekiq.
Thanks!
from mina-sidekiq.
Related Issues (17)
- Don't know how to build task 'sidekiq:quiet' HOT 2
- sidekiq_concurrency overrides concurrency in config sidekiq.yml HOT 1
- Request for a Release for Latest Fix : Do not pass sidekiq concurrency parameters by default HOT 2
- Sidekiq is not properly setup with bundler HOT 16
- undefined method `set_default' for main:Object (NoMethodError) HOT 2
- Could not locate Gemfile or .bundle/ directory ( ERROR: Deploy failed. ) HOT 11
- sidekiq:quiet fails on first deploy HOT 5
- `environment` task is deprecated HOT 7
- require environment HOT 11
- invoke :'sidekiq:restart' doesn't work in on :launch do block HOT 1
- Sidekiq 6.0 fail HOT 3
- Problem sidekiq 6 HOT 4
- Cannot restart sidekiq HOT 36
- Don't know how to build task 'remote_environment'
- How to enable sidekiq.yml HOT 4
- Sidekiq not started HOT 1
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 mina-sidekiq.