From 0b253b519e2c96bb5362a75914fa67b608d81fb6 Mon Sep 17 00:00:00 2001 From: Hongchao Deng Date: Wed, 24 Aug 2016 16:22:51 -0700 Subject: [PATCH] etcd3 compactor: update docs --- pkg/storage/etcd3/compact.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/storage/etcd3/compact.go b/pkg/storage/etcd3/compact.go index d6d71f03d73..39b21c1c6e7 100644 --- a/pkg/storage/etcd3/compact.go +++ b/pkg/storage/etcd3/compact.go @@ -86,10 +86,10 @@ func compactor(ctx context.Context, client *clientv3.Client, interval time.Durat // CAS later and would try again in 10 minutes. If an APIServer crashed, another one would "take over" the lease. // // For example, in the following diagram, we have a compactor C1 doing compaction in t1, t2. Another compactor C2 - // at t1' (t1 < t1' < t2) would CAS fail, set its known oldRev to rev at t1, and try again in t2' (t2' > t2). + // at t1' (t1 < t1' < t2) would CAS fail, set its known oldRev to rev at t1', and try again in t2' (t2' > t2). // If C1 crashed and wouldn't compact at t2, C2 would CAS successfully at t2'. // - // oldRev(t2) curRev(t2) + // oldRev(t2) curRev(t2) // + // oldRev curRev | // + + |