Skip to content

Conversation

@dlmarion
Copy link
Contributor

A NPE was being raised in ScanServerMetrics.registerMetrics when the SSERV_CACHED_TABLET_METADATA_EXPIRATION value was zero, which disables the tablet metadata caching and leaves the variable tabletMetadataCache referencing null. A test was failing in ScanServerConcurrentTabletScanIT that led to this discovery.

A NPE was being raised in ScanServerMetrics.registerMetrics when
the SSERV_CACHED_TABLET_METADATA_EXPIRATION value was zero, which
disables the tablet metadata caching and leaves the variable
tabletMetadataCache referencing null. A test was failing in
ScanServerConcurrentTabletScanIT that led to this discovery.
@dlmarion dlmarion self-assigned this May 23, 2024
Copy link
Member

@DomGarguilo DomGarguilo left a comment

Choose a reason for hiding this comment

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

Confirmed that this change allows for the mentioned test to pass.

@dlmarion dlmarion merged commit 5f57150 into apache:2.1 May 24, 2024
@dlmarion dlmarion deleted the npe-scan-server-metrics branch May 24, 2024 11:45
@ctubbsii ctubbsii modified the milestones: 3.1.0, 2.1.3 Jul 12, 2024
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.

4 participants