Skip to content

Add memory used to scan trace spans - #6524

Open
DomGarguilo wants to merge 1 commit into
apache:2.1from
DomGarguilo:scanTraceFix
Open

Add memory used to scan trace spans#6524
DomGarguilo wants to merge 1 commit into
apache:2.1from
DomGarguilo:scanTraceFix

Conversation

@DomGarguilo

Copy link
Copy Markdown
Member

Closes #6022

table.scan.max.memory is checked against KVEntry.estimateMemoryUsed() (which is the bytes + 288 bytes per entry overhead for the java object), but accumulo.scan.bytes.returned reports bytes only. Meaning a stopped batch will report lower than actual. For example a batch that stopped at 1M will report ~820k making it seem like the config was ignored.

This PR adds accumulo.scan.memory.used with the value the limit actually uses which clarifies the property description and helps outline the difference.

@DomGarguilo DomGarguilo self-assigned this Sep 1, 2026
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.

Investigate why numbers seen in scan trace do not match configuration

1 participant