Skip to content

Commit

Permalink
chore(spanner): lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
harshachinta committed Oct 16, 2024
1 parent e5d0ca4 commit d80fda0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,9 @@ private static void checkStreamException(
private ConcurrentMap<String, List<ByteString>> partitionTokens = new ConcurrentHashMap<>();
private ConcurrentMap<ByteString, Instant> transactionLastUsed = new ConcurrentHashMap<>();

// Stores latest sequence number required for precommit token.
// Stores the latest sequence number needed for the precommit token.
// The transaction entry is created only if the transaction is read-write and executed on a
// multiplexed session.
private static ConcurrentMap<ByteString, AtomicInteger> transactionSequenceNo =
new ConcurrentHashMap<>();
private int maxNumSessionsInOneBatch = 100;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -926,7 +926,7 @@ public void testAbortedReadWriteTxnUsesPreviousTxnIdOnRetryWithExplicitBegin() {
.getReadWrite()
.getMultiplexedSessionPreviousTransactionId());
}

@Test
public void testPrecommitTokenForResultSet() {
// This test verifies that the precommit token received from the ResultSet is properly tracked
Expand Down

0 comments on commit d80fda0

Please sign in to comment.