From f59c1c8e56b61abefab076d44bfb8a04bd51ac33 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Fri, 3 Sep 2010 20:36:43 +0000 Subject: Looks like the bug I was seeing in myriad wasn't in myriad. It was in the Bu::CacheStoreMyriad system, it had some minor issues dealing with the index blocks. Should be fixed up now. --- src/cachestoremyriad.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/cachestoremyriad.h') diff --git a/src/cachestoremyriad.h b/src/cachestoremyriad.h index 928eb46..b90793d 100644 --- a/src/cachestoremyriad.h +++ b/src/cachestoremyriad.h @@ -106,6 +106,8 @@ namespace Bu MyriadStream ns = mStore.openStream( 1 ); Bu::Archive ar( ns, Bu::Archive::save ); ar << hId; + ns.setSize( ns.tell() ); + mStore.sync(); } virtual void sync( obtype *pSrc, const keytype &key ) -- cgit v1.2.3