Comments (1)
An update to anyone who comes searching and finds this issue. The root cause of the problem was line ending conversion behavior of git on Windows that, when the data was pulled was attempting to change line endings in the the LevelDB binary files which caused them to become corrupted.
There are two solutions that we found worked. We could solve the problem by doing either of the following:
- Git config
core.autocrlf
set toinput
to avoid changing line endings when pulling code. (https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration) - Add
.gitattributes
to the project with adata/** binary
rule targetting all the files generated by LevelDB (https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings)
I think the exact issue is that since the MANIFEST-*
file is binary, but does not use a file extension that is recognizable as such, git on Windows was trying to do line ending conversion in that file.
from classic-level.
Related Issues (20)
- raw mode? HOT 6
- Workers
- Meaning of "classic" HOT 2
- When snapshot is created with `db.get()`
- Snapshots caveats HOT 2
- Are writes ordered? HOT 4
- missing try/catch for bad_alloc
- Seek while next is executing HOT 2
- Seek data race HOT 1
- Segmentation Fault alpine linux in Docker on arm mac HOT 9
- How to make backups? HOT 1
- what are the different between them HOT 4
- Specify a custom prebuilds location HOT 2
- Compacting the database on close: advice or feature request HOT 3
- Infinite compaction loop?
- Support for readonly mode HOT 1
- Error While Installing Hardhat HOT 1
- `linux-arm` and `linux-arm64` prebuild comes with GLIBC which is too new for Raspberry Pi HOT 8
- QOL API methods HOT 4
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 classic-level.