Comments (4)
Was there any panic while running bbolt? Even Go standard packages have tons of panics.
from bbolt.
We haven't switched to bbolt, so I cannot say. But using latest boltdb, yes we do get panics (often) due to boltdb, in the boltdb functions.
The places where the Go standard packages panics, is typically where you have a unrecoverable panic situation. It seems fair enough that you get a crash if there is an internal error in the garbage collector etc.
But a malformed database file hardly reason to panic. I would think that returning some sort of error would be more in its place.
from bbolt.
agree with @lkarlslund .
from bbolt.
Please provide detailed call stack when you see any panic again.
from bbolt.
Related Issues (20)
- `bbolt` CLI util panics / shows not-user-friendly errors in certain cases with incorrect (number of) arguments HOT 3
- tx.Commit() - function not implemented HOT 6
- Incremental etcd defrag HOT 6
- Update the document for the known data corruption issue caused by fast commit feature HOT 2
- Plan to release bbolt 1.3.9 HOT 1
- forced power off (Hyper-V/VMware Workstation) creates page cycle HOT 21
- Panic happens when opening a boltdb HOT 2
- Nil pointer dereference in bbolt 1.4.0-alpha.0 detected by robustness tests HOT 3
- Dramatic drop in sequential read performance in main compared to tag v1.3.8 HOT 41
- Can not distinguish between "does not exist" and "has no value" HOT 5
- Use cobra ExactArgs
- 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
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.