From c9eb09c1f7a2b1cbb5d1923b26d4e1dd6f1b00b5 Mon Sep 17 00:00:00 2001 From: Zardosht Kasheff Date: Tue, 16 Apr 2013 23:59:25 -0400 Subject: [PATCH] [t:3008], modify comments a bit git-svn-id: file:///svn/toku/tokudb@25193 c7de825b-a66e-492c-adef-691d508d4ae1 --- newbrt/leafentry.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/newbrt/leafentry.h b/newbrt/leafentry.h index a53fb2c05f3..77a08135c99 100644 --- a/newbrt/leafentry.h +++ b/newbrt/leafentry.h @@ -60,16 +60,16 @@ struct __attribute__ ((__packed__)) leafentry { uint32_t num_cxrs; // number of committed transaction records uint8_t num_pxrs; // number of provisional transaction records u_int8_t key_xrs[0]; //Actual key, - //then "interesting" TXNIDs: + //then TXNIDs of transaction records relevant for reads: // if provisional uxrs exist, store OUTERMOST TXNID // store committed TXNIDs, from most recently committed to least recently committed - //then "interesting" lengths (length is at most 1<<31, MSB is used to store the type bit): - // if provisional uxrs exist, store length and type of INNERMOST TXNID - // store length and type of committed TXNIDs, in same order as above - //then "interesting" data - // if provisional uxrs exist, store data for INNERMOST TXNID - // store data for committed TXNIDs - //if provisional uxrs still exist (that is, num_puxrs > 1, so INNERMOST provisional != OUTERMOST provisional): + //then lengths of transaction records relevant for reads (length is at most 1<<31, MSB is used to store the type bit): + // if provisional xrs exist, store length and type associated with INNERMOST TXNID + // store length and type associated with committed TXNIDs, in same order as above + //then data of transaction records relevant for reads + // if provisional xrs exist, store data associated with INNERMOST TXNID + // store data associated with committed TXNIDs + //if provisional xrs still exist (that is, num_puxrs > 1, so INNERMOST provisional TXNID != OUTERMOST provisional TXNID): // for OUTERMOST provisional TXNID: // 1 byte: store type // 4 bytes: length (if type is INSERT)