From e4d761be06c4acfd1767e476b43614320bd03aa6 Mon Sep 17 00:00:00 2001 From: alexvanin Date: Wed, 15 Jan 2020 17:10:45 +0300 Subject: [PATCH] object: Remove tombstone creation field in tombstone header Tombstone header contains timestamp when tombstone was created. This timestamp duplicates object creation timestamp in object system header. This commit removes redundant field. --- object/types.pb.go | Bin 79938 -> 79138 bytes object/types.proto | 5 +---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/object/types.pb.go b/object/types.pb.go index 459e124b053ab4c032498513b277709a36b089bb..b5a1e785e86633310ad63204e2a52d2b49da629d 100644 GIT binary patch delta 5256 zcmY+IJIh@~6ov^2hC~z_wJ=IR5E2sD_X~nzXDJ9`VY9DIKm?mp2)hnea~S-a+WCU|TnJ9B2%?Op3#Yrfx~-}v$G8_(XmcmD2;ch0YT@aX)_!re*dlOSARadfA3m-{^zr=k7a&vw>S-3TDLl_P4nRPt>RQR=|6Lu){-B#K7IG> zcyt`o&fal`^9v`tBJC8M9Lx0Gp`hh_y`W&6;)mlj@OzJp0b@$euE-dM|0Ma{@N0oB z8+YATPS(?+q2ANw64Bd|zDL#>p<9K1{T$cybBhlRcDGvZirowAi2iCvgN`m7GKMQU z4NS#;gHtu4vx8XF>3@y90dHF_H-78GY;XzdjHC|NYxY~#72|t;T{I6#ASM`ZoVWeK5&oz%sxrO}Yut!$6HU(rnv^|l z2wF*~8C!ZQ+DbFHrgFj0EuzKE>~SqC^jAm<+6kQ%-WJ4d!xM{mtnfiPl2W9MnF}pm zO@;??(ub99dPrZDX~4;@L4OI{K@AB8tzRUq3%D~F1iB$Sg}|V>W`DupiJbwVLT_bm z^6EhJWWu68lG6>=NI@oXWr48P=rKL4m06&%QCqCi2p-IhF{!#ZdQZp zW&n^ICAI+>GQK1$rT17gTMYzEol;4!b?ifX#Yz5b4)!7u!T`HTW$|OB)Uab-hX#Ss z6YFE)Zil5SfJJ%&13zfI8EdO4G!m1FgMXx*_M#3qXw~H;uLz(V-@bmo}{5681^*H zt1xv(s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WPt)XUJ`3DJCBwdk%@mck`Dr4XYmgf z|Jl$CiBKZScW``Gl6Xq^dA25~-oQc*AW@WgB*d^yJ&q@WYnSt%l3WddZm;pOIC9wk zEKIIwGD(B#yooOuVA)FqGO@P`Z!DXjiFo96_rE>)ZSnY(H-5c;?aE_UFP{4Ik+=T=IdV+F diff --git a/object/types.proto b/object/types.proto index d2bbaab..8f50f76 100644 --- a/object/types.proto +++ b/object/types.proto @@ -48,10 +48,7 @@ message Header { } } -message Tombstone { - // Epoch when tombstone was created - uint64 Epoch = 1; -} +message Tombstone {} message SystemHeader { // Version of the object structure