This is an automated email from the ASF dual-hosted git repository.

kturner pushed a commit to branch elasticity
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/elasticity by this push:
     new 06c8ca5592 removes PREV_ROW as requireSame paramater
06c8ca5592 is described below

commit 06c8ca5592acc2ffb02e0445a36f14679696df53
Author: Keith Turner <ktur...@apache.org>
AuthorDate: Thu Oct 19 13:05:23 2023 -0400

    removes PREV_ROW as requireSame paramater
---
 .../src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java 
b/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java
index 31891f3289..f08c5e367e 100644
--- 
a/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java
+++ 
b/server/tserver/src/main/java/org/apache/accumulo/tserver/tablet/Tablet.java
@@ -452,7 +452,7 @@ public class Tablet extends TabletBase {
             try (var tabletsMutator = 
getContext().getAmple().conditionallyMutateTablets()) {
               var tablet = tabletsMutator.mutateTablet(extent)
                   
.requireLocation(Location.current(tabletServer.getTabletSession()))
-                  .requireSame(lastTabletMetadata, ColumnType.PREV_ROW, 
ColumnType.FLUSH_ID);
+                  .requireSame(lastTabletMetadata, ColumnType.FLUSH_ID);
 
               tablet.putFlushId(tableFlushID);
               tablet.putZooLock(context.getZooKeeperRoot(), 
getTabletServer().getLock());
@@ -1321,7 +1321,7 @@ public class Tablet extends TabletBase {
     try (var tabletsMutator = 
getContext().getAmple().conditionallyMutateTablets()) {
       var tablet = tabletsMutator.mutateTablet(extent)
           .requireLocation(Location.current(tabletServer.getTabletSession()))
-          .requireSame(lastTabletMetadata, ColumnType.PREV_ROW, 
ColumnType.TIME);
+          .requireSame(lastTabletMetadata, ColumnType.TIME);
 
       Optional<StoredTabletFile> newFile = Optional.empty();
 

Reply via email to