stor_obj_test
This function seems to be missing the "meat." It retrieves then disposes of a keylist.
bool stor_obj_test(struct open_chunk *cep, uint64_t key)
{
struct st_keylist *klist;
if (!cep->stc)
return false;
klist = stc_keys(cep->stc);
if (!klist)
return false;
stc_free_keylist(klist);
return true;
}Quoted 4 lines · On Wed, 07 Jul 2010 00:02:02 -0400 Jeff Garzik <[email protected]> wrote:
This function seems to be missing the "meat." It retrieves then disposes of a keylist.
bool
stor_obj_test(struct open_chunk *cep, uint64_t key)
I do not understand what kind of meat you expect stor_obj_test to have. In the filesystem backend this was a stat() that verified if the just-stored object existed and that was it.
-- Pete