You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@kudu.apache.org by "Ashwani Raina (Code Review)" <ge...@cloudera.org> on 2026/10/26 13:27:15 UTC

[kudu-CR] [test] add tests for scans vs tablet history GC

Ashwani Raina has uploaded this change for review. ( http://gerrit.cloudera.org:8080/25212


Change subject: [test] add tests for scans vs tablet history GC
......................................................................

[test] add tests for scans vs tablet history GC

Add integration tests to tablet_history_gc-itest.cc that verify what
happens to scans when tablet history GC removes the history they need,
after the scans have been set up but before they read their data.

Query engines such as Impala build and serialize scan tokens in one
process and run them in others. The read mode and the snapshot timestamp
(or the diff scan range) are either part of the token or applied to the
scanner after the token is deserialized, depending on the engine. The
new fixture, ScanTokenHistoryGcITest, covers both ways of doing this,
using a single-replica tablet, a mock clock and manually driven flushes
and undo delta GC.

TestScanTokensAfterHistoryGc: produces scan tokens for a snapshot scan
at 't' and a diff scan over (t, end_ts], moves the clock past the
ancient history mark and GCs the undo deltas, then runs the tokens. It
covers four ways of setting up the scans:
  - snapshot scan, with the timestamp applied to the scanner
  - snapshot scan, with the timestamp in the tokens
  - diff scan, with only the end timestamp in the tokens and the range
    applied to the scanner
  - diff scan, with the whole range in the tokens
Before the GC each case returns the data as of its timestamp(s). After
the GC every case fails with InvalidArgument (earlier than the ancient
history mark) and returns no rows, instead of returning wrong data. The
same tokens still work in READ_LATEST mode and with a fresh snapshot.

TestOpenScannersAfterHistoryGc: opens a snapshot scanner and a diff
scanner before the GC, without reading any rows, then GCs the undo
deltas, then reads the rest. A new scan at the same timestamp is
rejected, but the scanners opened before the GC still return the data
as of their timestamps.

Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
---
M src/kudu/integration-tests/tablet_history_gc-itest.cc
1 file changed, 430 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/12/25212/1
-- 
To view, visit http://gerrit.cloudera.org:8080/25212
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
Gerrit-Change-Number: 25212
Gerrit-PatchSet: 1
Gerrit-Owner: Ashwani Raina <ar...@gmail.com>

[kudu-CR] [test] add tests for scans vs tablet history GC

Posted by "Ashwani Raina (Code Review)" <ge...@cloudera.org>.
Hello Marton Greber, Alexey Serbin, Kudu Jenkins, Abhishek Chennaka, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/25212

to look at the new patch set (#3).

Change subject: [test] add tests for scans vs tablet history GC
......................................................................

[test] add tests for scans vs tablet history GC

Add integration tests to tablet_history_gc-itest.cc that verify what
happens to scans when tablet history GC removes the history they need,
after the scans have been set up but before they read their data.

Query engines such as Impala build and serialize scan tokens in one
process and run them in others. The read mode and the snapshot timestamp
(or the diff scan range) are either part of the token or applied to the
scanner after the token is deserialized, depending on the engine. The
new fixture, ScanTokenHistoryGcITest, covers both ways of doing this,
using a single-replica tablet, a mock clock and manually driven flushes
and undo delta GC.

TestScanTokensAfterHistoryGc: produces scan tokens for a snapshot scan
at 't' and a diff scan over (t, end_ts], moves the clock past the
ancient history mark and GCs the undo deltas, then consumes those tokens
to run scans. It covers four ways of setting up the scans:
  - snapshot scan, with the timestamp applied to the scanner
  - snapshot scan, with the timestamp in the tokens
  - diff scan, with only the end timestamp in the tokens and the range
    applied to the scanner
  - diff scan, with the whole range in the tokens
Before the GC each case returns the data as of its timestamp(s). After
the GC every case fails with InvalidArgument (earlier than the ancient
history mark) and returns no rows, instead of returning wrong data. The
same tokens still work in READ_LATEST mode and with a fresh snapshot.

TestOpenScannersAfterHistoryGc: opens a snapshot scanner and a diff
scanner before the GC, without reading any rows, then GCs the undo
deltas, then reads the rest. A new scan at the same timestamp is
rejected, but the scanners opened before the GC still return the data
as of their timestamps.

Partially-Generated-By: Cursor <cu...@cursor.com>

Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
---
M src/kudu/integration-tests/tablet_history_gc-itest.cc
1 file changed, 466 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/12/25212/3
-- 
To view, visit http://gerrit.cloudera.org:8080/25212
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
Gerrit-Change-Number: 25212
Gerrit-PatchSet: 3
Gerrit-Owner: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>

[kudu-CR] [test] add tests for scans vs tablet history GC

Posted by "Ashwani Raina (Code Review)" <ge...@cloudera.org>.
Ashwani Raina has posted comments on this change. ( https://gerrit.cloudera.org/25212 )

Change subject: [test] add tests for scans vs tablet history GC
......................................................................


Patch Set 3:

(2 comments)

https://gerrit.cloudera.org/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc
File src/kudu/integration-tests/tablet_history_gc-itest.cc:

https://gerrit.cloudera.org/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc@446
PS2, Line 446:   Ad
> Nothing particular, but a helper method that returns Status is easier to pl
Done


https://gerrit.cloudera.org/#/c/25212/3/src/kudu/integration-tests/tablet_history_gc-itest.cc
File src/kudu/integration-tests/tablet_history_gc-itest.cc:

https://gerrit.cloudera.org/#/c/25212/3/src/kudu/integration-tests/tablet_history_gc-itest.cc@677
PS3, Line 677: vector<ScanCase> cases
> nit: could add 'const' to explicitly point it's not a subject to change in 
It cannot be a 'const' because 'tokens' for each case are populated outside initialization statement below at line 694.



-- 
To view, visit https://gerrit.cloudera.org/25212
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
Gerrit-Change-Number: 25212
Gerrit-PatchSet: 3
Gerrit-Owner: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>
Gerrit-Comment-Date: Wed, 11 Nov 2026 10:43:43 +0000
Gerrit-HasComments: Yes

[kudu-CR] [test] add tests for scans vs tablet history GC

Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/25212 )

Change subject: [test] add tests for scans vs tablet history GC
......................................................................


Patch Set 3:

Build Started http://jenkins.kudu.apache.org/job/pre_commit/3206/


-- 
To view, visit http://gerrit.cloudera.org:8080/25212
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
Gerrit-Change-Number: 25212
Gerrit-PatchSet: 3
Gerrit-Owner: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>
Gerrit-Comment-Date: Fri, 30 Oct 2026 08:29:15 +0000
Gerrit-HasComments: No

[kudu-CR] [test] add tests for scans vs tablet history GC

Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has posted comments on this change. ( https://gerrit.cloudera.org/25212 )

Change subject: [test] add tests for scans vs tablet history GC
......................................................................


Patch Set 4: Code-Review+2


-- 
To view, visit https://gerrit.cloudera.org/25212
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
Gerrit-Change-Number: 25212
Gerrit-PatchSet: 4
Gerrit-Owner: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>
Gerrit-Comment-Date: Fri, 13 Nov 2026 18:13:46 +0000
Gerrit-HasComments: No

[kudu-CR] [test] add tests for scans vs tablet history GC

Posted by "Marton Greber (Code Review)" <ge...@cloudera.org>.
Marton Greber has posted comments on this change. ( http://gerrit.cloudera.org:8080/25212 )

Change subject: [test] add tests for scans vs tablet history GC
......................................................................


Patch Set 1:

(3 comments)

http://gerrit.cloudera.org:8080/#/c/25212/1/src/kudu/integration-tests/tablet_history_gc-itest.cc
File src/kudu/integration-tests/tablet_history_gc-itest.cc:

http://gerrit.cloudera.org:8080/#/c/25212/1/src/kudu/integration-tests/tablet_history_gc-itest.cc@631
PS1, Line 631:   std::shared_ptr<Tablet> tablet_;
This keeps the Tablet alive past cluster_->Shutdown() in TearDown(), so rowsets and block handles are released after the block manager is gone. Could you override TearDown() and reset tablet_ before shutdown, like alter_table-test.cc does with tablet_replica_?


http://gerrit.cloudera.org:8080/#/c/25212/1/src/kudu/integration-tests/tablet_history_gc-itest.cc@681
PS1, Line 681:                     DiffScanInToken(snap_ts, end_ts), nullptr, kNewVal, {} });
All diff cases have end_ts behind the AHM, so only the "end timestamp" check in VerifyLegalSnapshotTimestamps() is exercised. Could you add a case where only start_ts is ancient (start < AHM <= end)? It's the more realistic one for incremental consumers.


http://gerrit.cloudera.org:8080/#/c/25212/1/src/kudu/integration-tests/tablet_history_gc-itest.cc@753
PS1, Line 753:   ASSERT_OK(snapshot_scanner.SetBatchSizeBytes(0));
The test relies on Open() with batch size 0 returning no rows; otherwise it would pass without reading anything after the GC. Maybe note that in the comment.



-- 
To view, visit http://gerrit.cloudera.org:8080/25212
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
Gerrit-Change-Number: 25212
Gerrit-PatchSet: 1
Gerrit-Owner: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>
Gerrit-Comment-Date: Tue, 27 Oct 2026 11:48:38 +0000
Gerrit-HasComments: Yes

[kudu-CR] [test] add tests for scans vs tablet history GC

Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/25212 )

Change subject: [test] add tests for scans vs tablet history GC
......................................................................


Patch Set 2:

(14 comments)

http://gerrit.cloudera.org:8080/#/c/25212/2//COMMIT_MSG
Commit Message:

PS2: 
nit: if you use AI tools to generate the code, add corresponding tags or least mention that in the commit message


http://gerrit.cloudera.org:8080/#/c/25212/2//COMMIT_MSG@23
PS2, Line 23: tokens
scans?


http://gerrit.cloudera.org:8080/#/c/25212/2//COMMIT_MSG@27
PS2, Line 27: range
beginning of the range?


http://gerrit.cloudera.org:8080/#/c/25212/2//COMMIT_MSG@34
PS2, Line 34: 
            : TestOpenScannersAfterHistoryGc: opens a snapshot scanner and a diff
            : scanner before the GC, without reading any rows, then GCs the undo
            : deltas, then reads the rest. A new scan at the same timestamp is
            : rejected, but the scanners opened before the GC still return the data
            : as of their timestamps.
Having extra tests shouldn't hurt, but that's the idea behind having this?  Aren't already existing scenarios for scan tokens verify that they are properly rehydrate into corresponding scanners?


http://gerrit.cloudera.org:8080/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc
File src/kudu/integration-tests/tablet_history_gc-itest.cc:

http://gerrit.cloudera.org:8080/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc@446
PS2, Line 446: bool
Introduce an enum here instead?


http://gerrit.cloudera.org:8080/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc@446
PS2, Line 446: void
nit: return Status instead, similar to other helper methods?


http://gerrit.cloudera.org:8080/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc@468
PS2, Line 468: Plan
What's a 'plan' scan token?  Did you mean 'plain'?

If that's a producer, use proper naming for the method: it should be something related to action (i.e. what does it do?)


http://gerrit.cloudera.org:8080/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc@488
PS2, Line 488: serialized token
What's serialized token?

A scan token is a serialized entity by definition, so 'serialized token' sounds weird to me.


http://gerrit.cloudera.org:8080/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc@524
PS2, Line 524:         (*rows)[key] = int_val;
This doesn't verify whether the key is replaced or not.  From the other side, test scenarios check for the size of the result map.  Since these scenarios hint on possible mishap with GC-ed data, and ReadAllRows() is used in ExecuteScanTokens() with some keys already populated in the output parameter 'rows', perhaps it makes sense to double-check that already existing key isn't replaced?


http://gerrit.cloudera.org:8080/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc@580
PS2, Line 580: static_cast<size_t>(
Why to add static_cast here?


http://gerrit.cloudera.org:8080/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc@641
PS2, Line 641: Kudu
nit for here and elsewhere: be more specific -- perhaps, "tablet server" fits here better than "Kudu"


http://gerrit.cloudera.org:8080/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc@667
PS2, Line 667:   vector<ScanCase> cases;
             :   // A snapshot scan at 't', with the read mode and 't' applied to the scanner.
             :   cases.push_back({ "snapshot scan, timestamp applied to the scanner",
             :                     nullptr, AtSnapshotMicros(snap_micros), kOldVal, {} });
             :   // A snapshot scan at 't', with the read mode and 't' in the tokens.
             :   cases.push_back({ "snapshot scan, timestamp in the tokens",
             :                     SnapshotMicrosInToken(snap_micros), nullptr, kOldVal, {} });
             :   // A diff scan over (t, end_ts]: only 'end_ts' is in the tokens, and the diff
             :   // scan range is applied to the scanner.
             :   cases.push_back({ "diff scan, range applied to the scanner",
             :                     DiffScanEndInToken(end_ts), AsDiffScan(snap_ts, end_ts),
             :                     kNewVal, {} });
             :   // A diff scan over (t, end_ts], with the whole range in the tokens.
             :   cases.push_back({ "diff scan, range in the tokens",
             :                     DiffScanInToken(snap_ts, end_ts), nullptr, kNewVal, {} });
Why to use 'push_back' when it's possible to initialize the vector with initializer list?


http://gerrit.cloudera.org:8080/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc@695
PS2, Line 695: ExecuteScanTokens
Scan tokens aren't executed -- there isn't such terminology, at least in Kudu.  And besides terminology, this name looks a bit funny.

Perhaps, rename this into RunScannersFromTokens() or similar?


http://gerrit.cloudera.org:8080/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc@716
PS2, Line 716:   // Nothing silently falls back to other data: the tokens which don't have a
             :   // snapshot in them can still be used in the default READ_LATEST mode.
             :   ASSERT_OK(ExecuteScanTokens(plain_tokens, nullptr, &rows));
             :   NO_FATALS(AssertAllRowsHaveValue(rows, kNewVal));
Isn't this already covered in many variations by many other test scenarios, e.g. in scenarios of scan_token-test.cc



-- 
To view, visit http://gerrit.cloudera.org:8080/25212
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
Gerrit-Change-Number: 25212
Gerrit-PatchSet: 2
Gerrit-Owner: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>
Gerrit-Comment-Date: Thu, 29 Oct 2026 08:08:30 +0000
Gerrit-HasComments: Yes

[kudu-CR] [test] add tests for scans vs tablet history GC

Posted by "Ashwani Raina (Code Review)" <ge...@cloudera.org>.
Hello Marton Greber, Alexey Serbin, Kudu Jenkins, Abhishek Chennaka, 

I'd like you to reexamine a change. Please visit

    https://gerrit.cloudera.org/25212

to look at the new patch set (#4).

Change subject: [test] add tests for scans vs tablet history GC
......................................................................

[test] add tests for scans vs tablet history GC

Add integration tests to tablet_history_gc-itest.cc that verify what
happens to scans when tablet history GC removes the history they need,
after the scans have been set up but before they read their data.

Query engines such as Impala build and serialize scan tokens in one
process and run them in others. The read mode and the snapshot timestamp
(or the diff scan range) are either part of the token or applied to the
scanner after the token is deserialized, depending on the engine. The
new fixture, ScanTokenHistoryGcITest, covers both ways of doing this,
using a single-replica tablet, a mock clock and manually driven flushes
and undo delta GC.

TestScanTokensAfterHistoryGc: produces scan tokens for a snapshot scan
at 't' and a diff scan over (t, end_ts], moves the clock past the
ancient history mark and GCs the undo deltas, then consumes those tokens
to run scans. It covers four ways of setting up the scans:
  - snapshot scan, with the timestamp applied to the scanner
  - snapshot scan, with the timestamp in the tokens
  - diff scan, with only the end timestamp in the tokens and the range
    applied to the scanner
  - diff scan, with the whole range in the tokens
Before the GC each case returns the data as of its timestamp(s). After
the GC every case fails with InvalidArgument (earlier than the ancient
history mark) and returns no rows, instead of returning wrong data. The
same tokens still work in READ_LATEST mode and with a fresh snapshot.

TestOpenScannersAfterHistoryGc: opens a snapshot scanner and a diff
scanner before the GC, without reading any rows, then GCs the undo
deltas, then reads the rest. A new scan at the same timestamp is
rejected, but the scanners opened before the GC still return the data
as of their timestamps.

Partially-Generated-By: Cursor <cu...@cursor.com>

Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
---
M src/kudu/integration-tests/tablet_history_gc-itest.cc
1 file changed, 467 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/12/25212/4
-- 
To view, visit https://gerrit.cloudera.org/25212
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
Gerrit-Change-Number: 25212
Gerrit-PatchSet: 4
Gerrit-Owner: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>

[kudu-CR] [test] add tests for scans vs tablet history GC

Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/25212 )

Change subject: [test] add tests for scans vs tablet history GC
......................................................................


Patch Set 2: Verified-1

Build Failed 

http://jenkins.kudu.apache.org/job/pre_commit/3193/ : FAILURE


-- 
To view, visit http://gerrit.cloudera.org:8080/25212
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
Gerrit-Change-Number: 25212
Gerrit-PatchSet: 2
Gerrit-Owner: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>
Gerrit-Comment-Date: Wed, 28 Oct 2026 13:39:24 +0000
Gerrit-HasComments: No

[kudu-CR] [test] add tests for scans vs tablet history GC

Posted by "Ashwani Raina (Code Review)" <ge...@cloudera.org>.
Hello Marton Greber, Alexey Serbin, Kudu Jenkins, Abhishek Chennaka, 

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/25212

to look at the new patch set (#2).

Change subject: [test] add tests for scans vs tablet history GC
......................................................................

[test] add tests for scans vs tablet history GC

Add integration tests to tablet_history_gc-itest.cc that verify what
happens to scans when tablet history GC removes the history they need,
after the scans have been set up but before they read their data.

Query engines such as Impala build and serialize scan tokens in one
process and run them in others. The read mode and the snapshot timestamp
(or the diff scan range) are either part of the token or applied to the
scanner after the token is deserialized, depending on the engine. The
new fixture, ScanTokenHistoryGcITest, covers both ways of doing this,
using a single-replica tablet, a mock clock and manually driven flushes
and undo delta GC.

TestScanTokensAfterHistoryGc: produces scan tokens for a snapshot scan
at 't' and a diff scan over (t, end_ts], moves the clock past the
ancient history mark and GCs the undo deltas, then runs the tokens. It
covers four ways of setting up the scans:
  - snapshot scan, with the timestamp applied to the scanner
  - snapshot scan, with the timestamp in the tokens
  - diff scan, with only the end timestamp in the tokens and the range
    applied to the scanner
  - diff scan, with the whole range in the tokens
Before the GC each case returns the data as of its timestamp(s). After
the GC every case fails with InvalidArgument (earlier than the ancient
history mark) and returns no rows, instead of returning wrong data. The
same tokens still work in READ_LATEST mode and with a fresh snapshot.

TestOpenScannersAfterHistoryGc: opens a snapshot scanner and a diff
scanner before the GC, without reading any rows, then GCs the undo
deltas, then reads the rest. A new scan at the same timestamp is
rejected, but the scanners opened before the GC still return the data
as of their timestamps.

Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
---
M src/kudu/integration-tests/tablet_history_gc-itest.cc
1 file changed, 455 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/12/25212/2
-- 
To view, visit http://gerrit.cloudera.org:8080/25212
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
Gerrit-Change-Number: 25212
Gerrit-PatchSet: 2
Gerrit-Owner: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>

[kudu-CR] [test] add tests for scans vs tablet history GC

Posted by "Ashwani Raina (Code Review)" <ge...@cloudera.org>.
Ashwani Raina has posted comments on this change. ( http://gerrit.cloudera.org:8080/25212 )

Change subject: [test] add tests for scans vs tablet history GC
......................................................................


Patch Set 1:

(3 comments)

http://gerrit.cloudera.org:8080/#/c/25212/1/src/kudu/integration-tests/tablet_history_gc-itest.cc
File src/kudu/integration-tests/tablet_history_gc-itest.cc:

http://gerrit.cloudera.org:8080/#/c/25212/1/src/kudu/integration-tests/tablet_history_gc-itest.cc@631
PS1, Line 631:   std::shared_ptr<Tablet> tablet_;
> This keeps the Tablet alive past cluster_->Shutdown() in TearDown(), so row
Rowsets and other tablet components are released inside Tablet::Shutdown() which is invoked as part of cluster_->Shutdown() before block manager is torn down.

Call trace from gdb clearly confirms this:

kudu::tablet::Tablet::Shutdown
kudu::tablet::TabletReplica::Stop
kudu::tablet::TabletReplica::Shutdown
kudu::tserver::TSTabletManager::Shutdown
kudu::tserver::TabletServer::ShutdownImpl
kudu::tserver::TabletServer::Shutdown
kudu::tserver::MiniTabletServer::Shutdown
kudu::cluster::InternalMiniCluster::ShutdownNodes
kudu::cluster::MiniCluster::Shutdown
kudu::MiniClusterITestBase::StopCluster
kudu::MiniClusterITestBase::TearDown

I can see that there could be some confusion because Tablet's destructor also calls Tablet::Shutdown() which will be no-op for its components.

So, having an override TearDown() that resets tablet_ would be more of a defensive cleanup rather than correctness fix.

alter_table-test resets tablet_replica_ in TearDown() mostly because a TabletReplica reference becomes invalid across TS restart/shutdown.


http://gerrit.cloudera.org:8080/#/c/25212/1/src/kudu/integration-tests/tablet_history_gc-itest.cc@681
PS1, Line 681:                     DiffScanInToken(snap_ts, end_ts), nullptr, kNewVal, {} });
> All diff cases have end_ts behind the AHM, so only the "end timestamp" chec
That's a good suggestion. Thanks!


http://gerrit.cloudera.org:8080/#/c/25212/1/src/kudu/integration-tests/tablet_history_gc-itest.cc@753
PS1, Line 753:   ASSERT_OK(snapshot_scanner.SetBatchSizeBytes(0));
> The test relies on Open() with batch size 0 returning no rows; otherwise it
Done



-- 
To view, visit http://gerrit.cloudera.org:8080/25212
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
Gerrit-Change-Number: 25212
Gerrit-PatchSet: 1
Gerrit-Owner: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>
Gerrit-Comment-Date: Wed, 28 Oct 2026 13:01:28 +0000
Gerrit-HasComments: Yes

[kudu-CR] [test] add tests for scans vs tablet history GC

Posted by "Ashwani Raina (Code Review)" <ge...@cloudera.org>.
Ashwani Raina has submitted this change and it was merged. ( https://gerrit.cloudera.org/25212 )

Change subject: [test] add tests for scans vs tablet history GC
......................................................................

[test] add tests for scans vs tablet history GC

Add integration tests to tablet_history_gc-itest.cc that verify what
happens to scans when tablet history GC removes the history they need,
after the scans have been set up but before they read their data.

Query engines such as Impala build and serialize scan tokens in one
process and run them in others. The read mode and the snapshot timestamp
(or the diff scan range) are either part of the token or applied to the
scanner after the token is deserialized, depending on the engine. The
new fixture, ScanTokenHistoryGcITest, covers both ways of doing this,
using a single-replica tablet, a mock clock and manually driven flushes
and undo delta GC.

TestScanTokensAfterHistoryGc: produces scan tokens for a snapshot scan
at 't' and a diff scan over (t, end_ts], moves the clock past the
ancient history mark and GCs the undo deltas, then consumes those tokens
to run scans. It covers four ways of setting up the scans:
  - snapshot scan, with the timestamp applied to the scanner
  - snapshot scan, with the timestamp in the tokens
  - diff scan, with only the end timestamp in the tokens and the range
    applied to the scanner
  - diff scan, with the whole range in the tokens
Before the GC each case returns the data as of its timestamp(s). After
the GC every case fails with InvalidArgument (earlier than the ancient
history mark) and returns no rows, instead of returning wrong data. The
same tokens still work in READ_LATEST mode and with a fresh snapshot.

TestOpenScannersAfterHistoryGc: opens a snapshot scanner and a diff
scanner before the GC, without reading any rows, then GCs the undo
deltas, then reads the rest. A new scan at the same timestamp is
rejected, but the scanners opened before the GC still return the data
as of their timestamps.

Partially-Generated-By: Cursor <cu...@cursor.com>

Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
Reviewed-on: https://gerrit.cloudera.org/25212
Reviewed-by: Marton Greber <gr...@gmail.com>
Tested-by: Ashwani Raina <ar...@gmail.com>
Reviewed-by: Alexey Serbin <al...@apache.org>
---
M src/kudu/integration-tests/tablet_history_gc-itest.cc
1 file changed, 467 insertions(+), 0 deletions(-)

Approvals:
  Marton Greber: Looks good to me, but someone else must approve
  Ashwani Raina: Verified
  Alexey Serbin: Looks good to me, approved

-- 
To view, visit https://gerrit.cloudera.org/25212
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
Gerrit-Change-Number: 25212
Gerrit-PatchSet: 5
Gerrit-Owner: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>

[kudu-CR] [test] add tests for scans vs tablet history GC

Posted by "Ashwani Raina (Code Review)" <ge...@cloudera.org>.
Ashwani Raina has posted comments on this change. ( http://gerrit.cloudera.org:8080/25212 )

Change subject: [test] add tests for scans vs tablet history GC
......................................................................


Patch Set 2:

(14 comments)

http://gerrit.cloudera.org:8080/#/c/25212/2//COMMIT_MSG
Commit Message:

PS2: 
> nit: if you use AI tools to generate the code, add corresponding tags or le
Done.

Thanks for pointing out.


http://gerrit.cloudera.org:8080/#/c/25212/2//COMMIT_MSG@23
PS2, Line 23: tokens
> scans?
Done


http://gerrit.cloudera.org:8080/#/c/25212/2//COMMIT_MSG@27
PS2, Line 27: range
> beginning of the range?
Technically, it is the full range that is applied to the scanner (via KuduScanner::SetDiffScan) with the same end ts value.


http://gerrit.cloudera.org:8080/#/c/25212/2//COMMIT_MSG@34
PS2, Line 34: 
            : TestOpenScannersAfterHistoryGc: opens a snapshot scanner and a diff
            : scanner before the GC, without reading any rows, then GCs the undo
            : deltas, then reads the rest. A new scan at the same timestamp is
            : rejected, but the scanners opened before the GC still return the data
            : as of their timestamps.
> Having extra tests shouldn't hurt, but that's the idea behind having this? 
The idea is to have a test that:
- opens a scanner with 0 batch (to avoid fetching rows from tserver) size before GC
- reads scanner rows after GC that are expected to reach tablet server because open didn't fetch any rows
- does all this with diff scan as well
- verifies that new scan at the same timestamp is rejected

I don't think there is any existing test that does all these.


http://gerrit.cloudera.org:8080/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc
File src/kudu/integration-tests/tablet_history_gc-itest.cc:

http://gerrit.cloudera.org:8080/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc@446
PS2, Line 446: void
> nit: return Status instead, similar to other helper methods?
Don't see much value in returning Status from here unless you have something specific in mind?


http://gerrit.cloudera.org:8080/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc@446
PS2, Line 446: bool
> Introduce an enum here instead?
Done


http://gerrit.cloudera.org:8080/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc@468
PS2, Line 468: Plan
> What's a 'plan' scan token?  Did you mean 'plain'?
Done


http://gerrit.cloudera.org:8080/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc@488
PS2, Line 488: serialized token
> What's serialized token?
Not as per the definition of KuduScanToken's Serialize()  inside src/kudu/client/client.h:
++
 /// Serialize the token into a string.
 ///
 /// The resulting string can be deserialized with
 /// @c KuduScanToken::Deserialize() to
 ///
 /// @param [out] buf
 ///   Result string to output the serialized token.
 /// @return Operation result status.
 Status Serialize(std::string* buf) const WARN_UNUSED_RESULT;
++
It exists in unserialized form until Serialize() is called on it.


http://gerrit.cloudera.org:8080/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc@524
PS2, Line 524:         (*rows)[key] = int_val;
> This doesn't verify whether the key is replaced or not.  From the other sid
With current test conditions, it shouldn't be possible for a client to receive duplicate keys. However, I can imagine such situation arising if there are some changes in test conditions that allows same key in different rowsets along with unordered scans or some bug in GC/scan code.

Added a check for duplicate key.


http://gerrit.cloudera.org:8080/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc@580
PS2, Line 580: static_cast<size_t>(
> Why to add static_cast here?
Removed


http://gerrit.cloudera.org:8080/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc@641
PS2, Line 641: Kudu
> nit for here and elsewhere: be more specific -- perhaps, "tablet server" fi
Done


http://gerrit.cloudera.org:8080/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc@667
PS2, Line 667:   vector<ScanCase> cases;
             :   // A snapshot scan at 't', with the read mode and 't' applied to the scanner.
             :   cases.push_back({ "snapshot scan, timestamp applied to the scanner",
             :                     nullptr, AtSnapshotMicros(snap_micros), kOldVal, {} });
             :   // A snapshot scan at 't', with the read mode and 't' in the tokens.
             :   cases.push_back({ "snapshot scan, timestamp in the tokens",
             :                     SnapshotMicrosInToken(snap_micros), nullptr, kOldVal, {} });
             :   // A diff scan over (t, end_ts]: only 'end_ts' is in the tokens, and the diff
             :   // scan range is applied to the scanner.
             :   cases.push_back({ "diff scan, range applied to the scanner",
             :                     DiffScanEndInToken(end_ts), AsDiffScan(snap_ts, end_ts),
             :                     kNewVal, {} });
             :   // A diff scan over (t, end_ts], with the whole range in the tokens.
             :   cases.push_back({ "diff scan, range in the tokens",
             :                     DiffScanInToken(snap_ts, end_ts), nullptr, kNewVal, {} });
> Why to use 'push_back' when it's possible to initialize the vector with ini
Done


http://gerrit.cloudera.org:8080/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc@695
PS2, Line 695: ExecuteScanTokens
> Scan tokens aren't executed -- there isn't such terminology, at least in Ku
Indeed! I guess I was thinking in impala terminology where planner produces scan tokens and executor consumes scan tokens.

Renamed to ConsumeScanTokens.


http://gerrit.cloudera.org:8080/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc@716
PS2, Line 716:   // Nothing silently falls back to other data: the tokens which don't have a
             :   // snapshot in them can still be used in the default READ_LATEST mode.
             :   ASSERT_OK(ExecuteScanTokens(plain_tokens, nullptr, &rows));
             :   NO_FATALS(AssertAllRowsHaveValue(rows, kNewVal));
> Isn't this already covered in many variations by many other test scenarios,
The point of having this here is to test it after GC runs and ensure that GC has no impact on scan tokens with READ_LATEST mode.

I don't see any scenario in scan_token-test.cc doing testing in combination with UNDO delta GC. I see only one instance that is closest to this scenario i.e. 'TestUndoDeltaBlockGc'.

I guess I can change the comment a little bit to state it more clearly.



-- 
To view, visit http://gerrit.cloudera.org:8080/25212
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
Gerrit-Change-Number: 25212
Gerrit-PatchSet: 2
Gerrit-Owner: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>
Gerrit-Comment-Date: Fri, 30 Oct 2026 08:28:39 +0000
Gerrit-HasComments: Yes

[kudu-CR] [test] add tests for scans vs tablet history GC

Posted by "Alexey Serbin (Code Review)" <ge...@cloudera.org>.
Alexey Serbin has posted comments on this change. ( http://gerrit.cloudera.org:8080/25212 )

Change subject: [test] add tests for scans vs tablet history GC
......................................................................


Patch Set 3: Code-Review+2

(5 comments)

Thanks you for adding new tests!

http://gerrit.cloudera.org:8080/#/c/25212/2//COMMIT_MSG
Commit Message:

http://gerrit.cloudera.org:8080/#/c/25212/2//COMMIT_MSG@34
PS2, Line 34: 
            : TestOpenScannersAfterHistoryGc: opens a snapshot scanner and a diff
            : scanner before the GC, without reading any rows, then GCs the undo
            : deltas, then reads the rest. A new scan at the same timestamp is
            : rejected, but the scanners opened before the GC still return the data
            : as of their timestamps.
> The idea is to have a test that:
Ah, it might be a misunderstanding from my side, or perhaps I poorly articulated my feedback here in my first attempt (it was late at night).  Let me try another time to make sure we are on the same page here.

My point was: since scan tokens are turned into scanner objects by the client library, and there is quite good test coverage for scan token --> scanner hydration path, I'd think that it's enough to have TestScanTokensAfterHistoryGc already, not duplicating that stuff in TestOpenScannersAfterHistoryGc.

It seems I missed the main point here: having an open scanner on the data that's GC-ed under the hood.  However, the scanner returns data without any issues if corresponding scan objects are kept around at the server side.  I hope now I understood it right :)

Yes, it totally makes sense.  Sorry for the noise.


http://gerrit.cloudera.org:8080/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc
File src/kudu/integration-tests/tablet_history_gc-itest.cc:

http://gerrit.cloudera.org:8080/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc@446
PS2, Line 446:   Ad
> Don't see much value in returning Status from here unless you have somethin
Nothing particular, but a helper method that returns Status is easier to plug into other helper methods that return Status as well.  And it's always possible to wrap ASSERT_OK() for the such a method in the context of top-level test, if necessary, but the reverse isn't true for methods returning void and having ASSERT_xxx in their implementation.


http://gerrit.cloudera.org:8080/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc@488
PS2, Line 488: (std::move(buf))
> Not as per the definition of KuduScanToken's Serialize()  inside src/kudu/c
OK, thanks for the clarification -- you wanted to differ between scan token as an object in runtime and scan token as a string, it seems.


http://gerrit.cloudera.org:8080/#/c/25212/2/src/kudu/integration-tests/tablet_history_gc-itest.cc@716
PS2, Line 716: 
             :   // Run the very same tokens: all the scans are rejected, and no rows are
             :   // returned.
             :   for (const auto& c : cases) {
> The point of having this here is to test it after GC runs and ensure that G
Thank you for updating the comment!  I think it now provides a better overview of the intent.


http://gerrit.cloudera.org:8080/#/c/25212/3/src/kudu/integration-tests/tablet_history_gc-itest.cc
File src/kudu/integration-tests/tablet_history_gc-itest.cc:

http://gerrit.cloudera.org:8080/#/c/25212/3/src/kudu/integration-tests/tablet_history_gc-itest.cc@677
PS3, Line 677: vector<ScanCase> cases
nit: could add 'const' to explicitly point it's not a subject to change in the code below?

It's just a nit, feel free to ignore.



-- 
To view, visit http://gerrit.cloudera.org:8080/25212
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
Gerrit-Change-Number: 25212
Gerrit-PatchSet: 3
Gerrit-Owner: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>
Gerrit-Comment-Date: Fri, 30 Oct 2026 23:57:22 +0000
Gerrit-HasComments: Yes

[kudu-CR] [test] add tests for scans vs tablet history GC

Posted by "Ashwani Raina (Code Review)" <ge...@cloudera.org>.
Ashwani Raina has removed a vote on this change.

Change subject: [test] add tests for scans vs tablet history GC
......................................................................


Removed Verified-1 by Kudu Jenkins (120)
-- 
To view, visit https://gerrit.cloudera.org/25212
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: deleteVote
Gerrit-Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
Gerrit-Change-Number: 25212
Gerrit-PatchSet: 4
Gerrit-Owner: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>

[kudu-CR] [test] add tests for scans vs tablet history GC

Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/25212 )

Change subject: [test] add tests for scans vs tablet history GC
......................................................................


Patch Set 1:

Build Started http://jenkins.kudu.apache.org/job/pre_commit/3152/


-- 
To view, visit http://gerrit.cloudera.org:8080/25212
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
Gerrit-Change-Number: 25212
Gerrit-PatchSet: 1
Gerrit-Owner: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Mon, 26 Oct 2026 13:27:26 +0000
Gerrit-HasComments: No

[kudu-CR] [test] add tests for scans vs tablet history GC

Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/25212 )

Change subject: [test] add tests for scans vs tablet history GC
......................................................................


Patch Set 1: Verified-1

Build Failed 

http://jenkins.kudu.apache.org/job/pre_commit/3152/ : FAILURE


-- 
To view, visit http://gerrit.cloudera.org:8080/25212
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
Gerrit-Change-Number: 25212
Gerrit-PatchSet: 1
Gerrit-Owner: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Comment-Date: Mon, 26 Oct 2026 14:17:35 +0000
Gerrit-HasComments: No

[kudu-CR] [test] add tests for scans vs tablet history GC

Posted by "Marton Greber (Code Review)" <ge...@cloudera.org>.
Marton Greber has posted comments on this change. ( https://gerrit.cloudera.org/25212 )

Change subject: [test] add tests for scans vs tablet history GC
......................................................................


Patch Set 4: Code-Review+1


-- 
To view, visit https://gerrit.cloudera.org/25212
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
Gerrit-Change-Number: 25212
Gerrit-PatchSet: 4
Gerrit-Owner: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>
Gerrit-Comment-Date: Wed, 11 Nov 2026 11:28:25 +0000
Gerrit-HasComments: No

[kudu-CR] [test] add tests for scans vs tablet history GC

Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( https://gerrit.cloudera.org/25212 )

Change subject: [test] add tests for scans vs tablet history GC
......................................................................


Patch Set 4: Verified-1

Build Failed 

http://jenkins.kudu.apache.org/job/pre_commit/3373/ : FAILURE


-- 
To view, visit https://gerrit.cloudera.org/25212
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
Gerrit-Change-Number: 25212
Gerrit-PatchSet: 4
Gerrit-Owner: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>
Gerrit-Comment-Date: Wed, 11 Nov 2026 11:37:56 +0000
Gerrit-HasComments: No

[kudu-CR] [test] add tests for scans vs tablet history GC

Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( https://gerrit.cloudera.org/25212 )

Change subject: [test] add tests for scans vs tablet history GC
......................................................................


Patch Set 4:

Build Started http://jenkins.kudu.apache.org/job/pre_commit/3373/


-- 
To view, visit https://gerrit.cloudera.org/25212
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
Gerrit-Change-Number: 25212
Gerrit-PatchSet: 4
Gerrit-Owner: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>
Gerrit-Comment-Date: Wed, 11 Nov 2026 10:44:06 +0000
Gerrit-HasComments: No

[kudu-CR] [test] add tests for scans vs tablet history GC

Posted by "Ashwani Raina (Code Review)" <ge...@cloudera.org>.
Ashwani Raina has posted comments on this change. ( https://gerrit.cloudera.org/25212 )

Change subject: [test] add tests for scans vs tablet history GC
......................................................................


Patch Set 4: Verified+1

unrelated failures


-- 
To view, visit https://gerrit.cloudera.org/25212
To unsubscribe, visit https://gerrit.cloudera.org/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
Gerrit-Change-Number: 25212
Gerrit-PatchSet: 4
Gerrit-Owner: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>
Gerrit-Comment-Date: Wed, 11 Nov 2026 13:12:34 +0000
Gerrit-HasComments: No

[kudu-CR] [test] add tests for scans vs tablet history GC

Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/25212 )

Change subject: [test] add tests for scans vs tablet history GC
......................................................................


Patch Set 2:

Build Started http://jenkins.kudu.apache.org/job/pre_commit/3193/


-- 
To view, visit http://gerrit.cloudera.org:8080/25212
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
Gerrit-Change-Number: 25212
Gerrit-PatchSet: 2
Gerrit-Owner: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>
Gerrit-Comment-Date: Wed, 28 Oct 2026 13:01:49 +0000
Gerrit-HasComments: No

[kudu-CR] [test] add tests for scans vs tablet history GC

Posted by "Kudu Jenkins (Code Review)" <ge...@cloudera.org>.
Kudu Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/25212 )

Change subject: [test] add tests for scans vs tablet history GC
......................................................................


Patch Set 3: Verified-1

Build Failed 

http://jenkins.kudu.apache.org/job/pre_commit/3206/ : FAILURE


-- 
To view, visit http://gerrit.cloudera.org:8080/25212
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I3102c248670ca41e6b57c5ba727b6a63acd72bc0
Gerrit-Change-Number: 25212
Gerrit-PatchSet: 3
Gerrit-Owner: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Abhishek Chennaka <ac...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <al...@apache.org>
Gerrit-Reviewer: Ashwani Raina <ar...@gmail.com>
Gerrit-Reviewer: Kudu Jenkins (120)
Gerrit-Reviewer: Marton Greber <gr...@gmail.com>
Gerrit-Comment-Date: Fri, 30 Oct 2026 09:21:50 +0000
Gerrit-HasComments: No