From c9695d4fd1dc52be0f2bc3dc2f5cb33b9bdc3020 Mon Sep 17 00:00:00 2001 From: michim Date: Thu, 12 May 2011 21:06:31 +0000 Subject: [PATCH] commented out timestamp hack git-svn-id: svn+ssh://svn.corp.yahoo.com/yahoo/yrl/labs/pnuts/code/logstore@2549 8dad8b1f-cf64-0410-95b6-bcf113ffbcfe --- datatuple.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/datatuple.h b/datatuple.h index 65eceea..50dd163 100644 --- a/datatuple.h +++ b/datatuple.h @@ -87,12 +87,15 @@ public: static int compare(const byte* k1,size_t k1l, const byte* k2, size_t k2l) { const size_t ts_sz = sizeof(int64_t)+1; +#if 0 + // hack for gc if(k1l > ts_sz && ! k1[k1l-ts_sz]) { k1l -= ts_sz; } if(k2l > ts_sz && ! k2[k2l-ts_sz]) { k2l -= ts_sz; } +#endif size_t min_l = k1l < k2l ? k1l : k2l;