examples: merge: skip broken entries
Merge pull request #38 from SaveTheRbtz/master

examples: merge: skip broken entries
blob: moved mutex init to separate function
stats: improved stats naming
hash: simplify hash entry add

Since types were removed we can't have entries with different sizes in
one hash.
hash: reduce memory consumption by 10%

Since columns removal we have only fixed sized entries in hash so we
should not store size of each cached value.

New eblob_hash_entry size is 88 bytes against 96 of old one (on x86_64).
hash: check rwlock_init return code
hash: keep track of replaced entries
stats: accounting for in-memory index size
stats: simplified stats naming

Renamed `index_corrupted_entries` to `records_corrupted`.
Merge pull request #39 from SaveTheRbtz/master

Stats and Hash improvements.
v0.21.13
examples: merge: fixed formatting of error message
examples: merge: less strict header ckecking

This is workaround for some old eblob bug when header flags may get out
of sync.
Also this fixes issues with .index being outdated.
examples: merge: check that open succeeded
examples: merge: prettify usage
examples: merge: make errors more obvoius
Merge pull request #40 from SaveTheRbtz/master

Examples: merge robustness and usability imporvements
blob: added sanity to record copy

We should not blindly use `old_dc` data otherwise if blob is damaged we
may get garbage in `size` variable and run out of space on fs.

We also don't want to check it on startup because checking datafile
along with index will take too long.
Merge pull request #41 from SaveTheRbtz/master

blob: added sanity to record copy