mirror of
https://github.com/wader/fq.git
synced 2024-11-26 10:33:53 +03:00
2f5f183106
decode unfragmented .log files: - break leveldb_log.go into leveldb_log_blocks.go and leveldb_log.go; the former is used by both .MANIFEST (descriptor) and .LOG. - in leveldb_log, introduce readBatch that decodes further fix UTF8 decoding: - introduce fieldUTF8ReturnBytes and stringify to handle multi-byte UTF8-encodings correctly.
14 lines
366 B
Markdown
14 lines
366 B
Markdown
### Limitations
|
|
|
|
- fragmented non-"full" records are not merged and decoded further.
|
|
|
|
### Authors
|
|
|
|
- [@mikez](https://github.com/mikez), original author
|
|
|
|
### References
|
|
|
|
- https://github.com/google/leveldb/blob/main/doc/impl.md#log-files
|
|
- https://github.com/google/leveldb/blob/main/doc/log_format.md
|
|
- https://github.com/google/leveldb/blob/main/db/write_batch.cc
|