Skip to content

Commit 6a0b9c4

Browse files
committed
Fix based on feedback
1 parent 4792aa6 commit 6a0b9c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/com/scalar/db/transaction/consensuscommit/MutationsGrouper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public List<List<Mutation>> groupMutations(Collection<Mutation> mutations)
5252
}
5353

5454
public boolean canBeGroupedTogether(Collection<Mutation> mutations) throws ExecutionException {
55-
if (mutations.isEmpty()) {
55+
if (mutations.size() <= 1) {
5656
return true;
5757
}
5858

0 commit comments

Comments
 (0)