Details
-
Bug
-
Resolution: Unresolved
-
Major
-
4.5.0
-
None
-
Untriaged
-
Unknown
Description
From a discussion with Chiyoung he mentioned that if index blocks get corrupted then there is no way to gracefully handle this. In a separate issue (MB-17949) we overwrote a forestdb file using the dd command and it caused a crash in forestdb during a get call. The dd command used is below.
dd if=/dev/urandom of=/tmp/entbackup/backup/2016-02-08T10\:46\:28.3284434Z/default-54d5c71cd2e7f341a721f80cfa304550/data/shard_0.fdb
And the assertion error is:
Assertion in 0x0 != 0x5c39650 in /Users/mikewied/open_source/forestdb/src/hbtrie.cc:84
Assertion failed: (rsize && rsize <= trie->chunksize), function _hbtrie_reform_key, file /Users/mikewied/open_source/forestdb/src/hbtrie.cc, line 84.
SIGABRT: abort