Skip to content

HBASE-30100 Fix misleading Javadoc for Table.batch about null in results array#8109

Merged
junegunn merged 1 commit intoapache:masterfrom
junegunn:HBASE-30100
Apr 22, 2026
Merged

HBASE-30100 Fix misleading Javadoc for Table.batch about null in results array#8109
junegunn merged 1 commit intoapache:masterfrom
junegunn:HBASE-30100

Conversation

@junegunn
Copy link
Copy Markdown
Member

…lts array

The Javadoc claimed a null in the result array means the action failed even
after retries. This has been wrong since HBASE-6295 (0.96.0): per-action
failures now store the Throwable in the slot, not null. The only remaining
case where null appears is when the batch is rejected before dispatch by
synchronous input validation in RawAsyncTableImpl.batch (e.g.,
IllegalArgumentException from validateMutation), in which case all slots
will be null and no retries are attempted.
Copy link
Copy Markdown
Contributor

@PDavid PDavid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks for the correction. 👍

@junegunn junegunn merged commit 051c93c into apache:master Apr 22, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants