Comments (3)
Might be an etcd issue with how bbolt is used, haven't investigated yet.
from bbolt.
It's similar to etcd-io/etcd#17223.
During etcd shutting down, etcd may panic due to race condition (e.g. the backend transaction has already been closed) if
- a client request is received; e.g etcd-io/etcd#17223.
- the applying workflow is in progress. e.g. this issue
High level solution/idea... when terminating an etcd instance,
- Firstly stop receiving any client & peer requests (e.g stop all the gRPC servers and http servers)
- Wait for all the existing requests (either from client or from peer) to finish. We may also need a timeout, e.g. 30s.
- Shutdown all internal services, e.g. the backend.
from bbolt.
Right, looks like duplicate of etcd-io/etcd#17223
from bbolt.
Related Issues (20)
- Rename cobra commands
- Cursor.Prev() out of range issue v1.3.9 HOT 4
- Add check-page sub command HOT 1
- Introduce benchmarking for PRs HOT 6
- Plan to release v1.3.10 HOT 5
- Race tests timing out trying to run on user forks
- Extend the maintainers of bbolt HOT 6
- Proposal: Add `ForceMunlock` option HOT 9
- Bolt bucket missing when process crashes in the middle of a transaction HOT 3
- Introduce freelist interface HOT 8
- after restart, bbolt db failed to get all reachable pages HOT 9
- Open blocks even the ReadOnly option is set HOT 2
- Refactor freelist management & add more dedicated tests HOT 6
- freelist hashmap/array inconsistency on page reload HOT 1
- The `freelist.allocs` isn't rollbacked when a tx is rollbacked HOT 1
- Improve freelist serialization
- Pin GitHub action dependencies HOT 1
- bbolt cli: Inspect command missing in cmd/bbolt/main.go HOT 6
- Release plan for 1.3.11 HOT 1
- add new func , return root 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 bbolt.