{"action":"created","issue":{"url":"https://api.github.com/repos/facebook/rocksdb/issues/931","labels_url":"https://api.github.com/repos/facebook/rocksdb/issues/931/labels{/name}","comments_url":"https://api.github.com/repos/facebook/rocksdb/issues/931/comments","events_url":"https://api.github.com/repos/facebook/rocksdb/issues/931/events","html_url":"https://github.com/facebook/rocksdb/issues/931","id":125511494,"number":931,"title":"Rocksdb open call aborts when DB is full","user":{"login":"lookforsandy","id":7003072,"avatar_url":"https://avatars.githubusercontent.com/u/7003072?v=3","gravatar_id":"","url":"https://api.github.com/users/lookforsandy","html_url":"https://github.com/lookforsandy","followers_url":"https://api.github.com/users/lookforsandy/followers","following_url":"https://api.github.com/users/lookforsandy/following{/other_user}","gists_url":"https://api.github.com/users/lookforsandy/gists{/gist_id}","starred_url":"https://api.github.com/users/lookforsandy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lookforsandy/subscriptions","organizations_url":"https://api.github.com/users/lookforsandy/orgs","repos_url":"https://api.github.com/users/lookforsandy/repos","events_url":"https://api.github.com/users/lookforsandy/events{/privacy}","received_events_url":"https://api.github.com/users/lookforsandy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-01-07T23:51:48Z","updated_at":"2016-01-08T00:54:17Z","closed_at":null,"body":"Rocksdb open call aborts when DB is full. Looks like DB open is trying to dump the configuration to LOG file and fails with no space. DB should be allowed to be opened even if there is no space left on device. Looks like a bug. \r\nComments?\r\n\r\nStack:\r\nProgram terminated with signal 6, Aborted.\r\n#0 0x0000007b6d6d8568 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:66\r\n66 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.\r\n(gdb) bt\r\n#0 0x0000007b6d6d8568 in __GI_raise (sig=<optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:66\r\n#1 0x0000007b6d6d9fc4 in __GI_abort () at abort.c:90\r\n#2 0x0000007b6d6d0450 in __assert_fail_base (fmt=0x7b6d7efd00 \"%s%s%s:%u: %s%sAssertion `%s' failed.\\n%n\", assertion=0x7b6e232930 \"sz == write_size\",\r\nfile=0x7b6e232918 \"./util/posix_logger.h\", line=<optimized out>, function=<optimized out>) at assert.c:92\r\n#3 0x0000007b6d6d04fc in _GI__assert_fail (assertion=0x7b6e232930 \"sz == write_size\", file=0x7b6e232918 \"./util/posix_logger.h\", line=<optimized out>,\r\nfunction=0x7b6e232c88 \"virtual void rocksdb::PosixLogger::Logv(const char*, va_list)\") at assert.c:101\r\n#4 0x0000007b6e154414 in ?? () from /usr/lib64/librocksdb.so.3.11\r\n#5 0x0000007b6e13db8c in ?? () from /usr/lib64/librocksdb.so.3.11\r\n#6 0x0000007b6e143edc in rocksdb::Log(rocksdb::Logger*, char const*, ...) () from /usr/lib64/librocksdb.so.3.11\r\n#7 0x0000007b6e1e3c8c in rocksdb::DBOptions::Dump(rocksdb::Logger*) const () from /usr/lib64/librocksdb.so.3.11\r\n#8 0x0000007b6e0649e8 in rocksdb::DBImpl::DBImpl(rocksdb::DBOptions const&, std::string const&) () from /usr/lib64/librocksdb.so.3.11\r\n#9 0x0000007b6e0711b4 in rocksdb::DB::Open(rocksdb::DBOptions const&, std::string const&, std::vector<rocksdb::ColumnFamilyDescriptor, std::allocator<rocksdb::ColumnFamilyDescriptor> > const&, std::vector<rocksdb::ColumnFamilyHandle*, std::allocator<rocksdb::ColumnFamilyHandle*> >, rocksdb::DB*) () from /usr/lib64/librocksdb.so.3.11\r\n#10 0x0000007b6e072208 in rocksdb::DB::Open(rocksdb::Options const&, std::string const&, rocksdb::DB**) () from /usr/lib64/librocksdb.so.3.11\r\n#11 0x0000007b6e01de98 in rocksdb_open () from /usr/lib64/librocksdb.so.3.11\r\n\r\nCode Base: rocksdb 3.11.0\r\n\r\nThanks !\r\n"},"comment":{"url":"https://api.github.com/repos/facebook/rocksdb/issues/comments/169854597","html_url":"https://github.com/facebook/rocksdb/issues/931#issuecomment-169854597","issue_url":"https://api.github.com/repos/facebook/rocksdb/issues/931","id":169854597,"user":{"login":"igorcanadi","id":1091023,"avatar_url":"https://avatars.githubusercontent.com/u/1091023?v=3","gravatar_id":"","url":"https://api.github.com/users/igorcanadi","html_url":"https://github.com/igorcanadi","followers_url":"https://api.github.com/users/igorcanadi/followers","following_url":"https://api.github.com/users/igorcanadi/following{/other_user}","gists_url":"https://api.github.com/users/igorcanadi/gists{/gist_id}","starred_url":"https://api.github.com/users/igorcanadi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igorcanadi/subscriptions","organizations_url":"https://api.github.com/users/igorcanadi/orgs","repos_url":"https://api.github.com/users/igorcanadi/repos","events_url":"https://api.github.com/users/igorcanadi/events{/privacy}","received_events_url":"https://api.github.com/users/igorcanadi/received_events","type":"User","site_admin":false},"created_at":"2016-01-08T00:54:17Z","updated_at":"2016-01-08T00:54:17Z","body":"BTW this is probably related to the same Windows bug: https://github.com/facebook/rocksdb/pull/918/files"}}