Skip to content

Commit 79c6d46

Browse files
committed
Fix Javadoc for populateRecordsForAfterImageIndexTest
1 parent aeff947 commit 79c6d46

1 file changed

Lines changed: 10 additions & 3 deletions

File tree

integration-test/src/main/java/com/scalar/db/transaction/consensuscommit/ConsensusCommitSpecificIntegrationTestBase.java

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2520,12 +2520,19 @@ private void scan_ScanWithIndexForPreparedWhenCoordinatorStateAbortedAndIndexKey
25202520
* <ul>
25212521
* <li>(0,0): COMMITTED with BALANCE=NEW_BALANCE
25222522
* <li>(0,2): COMMITTED with BALANCE=NEW_BALANCE
2523-
* <li>(0,1): PREPARED/DELETED with BALANCE changed from INITIAL_BALANCE to NEW_BALANCE
2523+
* <li>(0,1): {@code recordState} with BALANCE changed from INITIAL_BALANCE to NEW_BALANCE
25242524
* </ul>
25252525
*
2526-
* When querying BALANCE=NEW_BALANCE, all 3 records match the normal index. After rollback of
2527-
* (0,1), its BALANCE reverts to INITIAL_BALANCE, so it should be filtered out, leaving only the 2
2526+
* When querying BALANCE=NEW_BALANCE, all 3 records match the normal index. If (0,1) is rolled
2527+
* back, its BALANCE reverts to INITIAL_BALANCE, so it should be filtered out, leaving only the 2
25282528
* COMMITTED records.
2529+
*
2530+
* @param storage the storage instance to use for populating records
2531+
* @param namespace the namespace of the table
2532+
* @param table the table name
2533+
* @param recordState the transaction state of the (0,1) record (e.g., PREPARED or DELETED)
2534+
* @param preparedAt the prepared-at timestamp for the (0,1) record
2535+
* @param coordinatorState the coordinator state for the transaction that wrote the (0,1) record
25292536
*/
25302537
private void populateRecordsForAfterImageIndexTest(
25312538
DistributedStorage storage,

0 commit comments

Comments
 (0)