On Thu, Feb 7, 2013 at 12:42 PM, sheng qiu <[email protected]> wrote:
> Hi Dan,
>
> thanks for your reply.
>
> after some code tracking, i found it failed at this point :
> in file leveldb/db/db_impl.cc  --> NewDB()
>
> log::Writer log(file);
>     std::string record;
>     new_db.EncodeTo(&record);
>     s = log.AddRecord(record);
>     if (s.ok()) {
>       fprintf(test, "NewDB: 2\n");
>       s = file->Close();
>     }else
>       fprintf(test, "NewDB: 2.5\n");
>
> the log.AddRecord return s which is not ok().
>
> can you provide some hint why it fails?  i am reading the AddRecord()
> function now.

LevelDB is a generic library which we don't develop. My understanding
is that it's expected to work on any POSIX-compliant filesystem, but
you can check out the docs
(http://leveldb.googlecode.com/svn/trunk/doc/index.html) or source
code for more info.
-Greg
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to