From ba129b376616044a1a3c0df4ace8dec935395b17 Mon Sep 17 00:00:00 2001 From: Tobias Schottdorf Date: Thu, 24 Aug 2017 22:58:31 -0400 Subject: [PATCH] storage: trace pushee status after push This would have been interesting to know during a debugging session today. --- pkg/storage/intent_resolver.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/storage/intent_resolver.go b/pkg/storage/intent_resolver.go index 2d7b1c065c4..f131530d402 100644 --- a/pkg/storage/intent_resolver.go +++ b/pkg/storage/intent_resolver.go @@ -229,6 +229,7 @@ func (ir *intentResolver) maybePushTransactions( panic(fmt.Sprintf("have two PushTxn responses for %s", txn.ID)) } pushedTxns[txn.ID] = txn + log.Eventf(ctx, "%s is now %s", txn.ID, txn.Status) } var resolveIntents []roachpb.Intent