apache / accumulo

Apache Accumulo
https://accumulo.apache.org
Apache License 2.0
1.06k stars 445 forks source link

Make scan session id available for full life cycle of scan session. #4842

Open keith-turner opened 3 weeks ago

keith-turner commented 3 weeks ago

Is your feature request related to a problem? Please describe.

Scans on tablet servers create scan session ids which are 64 bit secure random ids. These ids are strong selectors when grepping log files and including them in more log messages could be useful. This id can also be used to correlate log messages with the output of list scans. Currently the server side scan session object does not track the scan session id. This causes the scan session id to be unavailable for use by listscans and logging during part of the lifecycle of a scan session.

Describe the solution you'd like

Modify the code to always keep track of the scan session id and use the id more in logging.

kevinrr888 commented 2 weeks ago

For what version should these changes be made?

keith-turner commented 2 weeks ago

For what version should these changes be made?

Making these changes in 4.0 would avoid having to deal with merge conflicts.