mς MγΈEc@s/dZdkZdkZdfd„ƒYZdS(sTLog a transaction's commit info during two-phase commit. A storage server allows multiple clients to commit transactions, but must serialize them as the actually execute at the server. The concurrent commits are achieved by logging actions up until the tpc_vote(). At that point, the entire transaction is committed on the real storage. Nt CommitLogcBs5tZd„Zd„Zd„Zd„Zd„ZRS(NcCsOtiddƒ|_ti|idƒ|_d|i_d|_d|_ dS(Ntsuffixs.logii( ttempfilet TemporaryFiletselftfiletcPickletPicklertpicklertfasttstorestread(R((t,/data/zmath/zope/lib/python/ZEO/CommitLog.pyt__init__s   cCs |iiƒS(N(RRttell(R((R tsize"scCs/|ii||||fƒ|id7_dS(Ni(RRtdumptoidtserialtdatatversionR (RRRRR((R tstore%scCs2d|_|iidƒ|iti|iƒfS(Nii(RR RtseekR Rt Unpickler(R((R t get_loader)s cCs(|io|iiƒd|_ndS(N(RRtclosetNone(R((R R.s  (t__name__t __module__R RRRR(((R Rs     (t__doc__RRR(RRR((R t?s