Hello, We have found a bug in leveldb that causes corruption of the CURRENT file of leveldb databases. A bug report has been filed: http://code.google.com/p/leveldb/issues/detail?id=68
This bug can easily be reproduced by restarting restarting Riak and force of the computer within 30 to 60 seconds. After reboot at least one corrupt leveldb database can be expected. When this happens Riak fails to start and logs this message: Failed to start riak_kv_eleveldb_backend Reason: {db_open,"Corruption: CURRENT file does not end with newline"} Switching on the sync flag for leveldb has no effect. -- Thomas Bakketun, Senior software developer T. +47 21 53 69 40 Copyleft Solutions www.copyleftsolutions.com _______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com