Comments (4)
Interesting. It's not really an important bug, since sparkey_hash_write exits early if it notices there's no work to be done, even before it needs to look at the hash size.
I will move the hash size verification earlier in the step (unless it turns out the code gets a lot messier as a result), but I won't make any new release/tag for it since it's somewhat of a contrived example that requires intentional misuse of the api and doesn't actually cause any harm :)
from sparkey.
Haha, yes a very contrived example. It came up writing test cases which should result in failure for a binding I'm working on.
No worries regarding a new tag; I can wait for more useful changes :)
from sparkey.
Does this fix the issue for you? 52faa2d
from sparkey.
from sparkey.
Related Issues (20)
- Improve hash algorithm description in README HOT 10
- libsparkey.so.0: cannot open shared object file HOT 3
- make failure HOT 2
- Completion of error handling HOT 12
- What about a python binding? HOT 6
- sparkey_logiter_reset doesn't reset HOT 6
- REPL HOT 2
- Feature request: sparkey_logiter_hashskip HOT 4
- Is there a go client anywhere? HOT 1
- Take rpm-sparkey upstream HOT 4
- Do I have to use the C bindings of Snappy? HOT 2
- Non-exact seeks? HOT 5
- Problem creating hash indices larger than available RAM HOT 7
- does sparkey support open a store for writing subsequent times HOT 1
- Comparison to NuDB? HOT 6
- Tag a Release HOT 2
- Build breaks with newer versions of GCC
- Converting multiple log-files into a hash-file in bulk HOT 4
- File descriptor leak when hash/log files are corrupt or not matching 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 sparkey.