From 15879d33e53037d454337cfbebf55b287510b7fd Mon Sep 17 00:00:00 2001 From: Yahor Yuzefovich Date: Thu, 19 Dec 2024 17:39:31 -0800 Subject: [PATCH] WIP remove the only usage of InitPut with FailOnTombstones --- pkg/sql/sqlliveness/slstorage/slstorage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/sql/sqlliveness/slstorage/slstorage.go b/pkg/sql/sqlliveness/slstorage/slstorage.go index 245860c12575..234b16519abb 100644 --- a/pkg/sql/sqlliveness/slstorage/slstorage.go +++ b/pkg/sql/sqlliveness/slstorage/slstorage.go @@ -529,7 +529,7 @@ func (s *Storage) Insert( } v := encodeValue(expiration) - batch.InitPut(k, &v, true) + batch.InitPut(k, &v, false /* failOnTombstones */) return txn.CommitInBatch(ctx, batch) }); err != nil {