ctubbsii commented on code in PR #3124:
URL: https://github.com/apache/accumulo/pull/3124#discussion_r1052565489


##########
core/src/main/java/org/apache/accumulo/core/client/ScannerBase.java:
##########
@@ -390,4 +390,21 @@ default Stream<Entry<Key,Value>> stream() {
     return StreamSupport.stream(this.spliterator(), false);
   }
 
+  /**
+   * Set user data on the Scanner. This data will be added to server side 
information and logs for
+   * correlation.
+   *
+   * @param userData meaningful data that can be used to correlate server side 
information
+   * @since 3.0.0
+   */
+  void setUserData(String userData);

Review Comment:
   Metrics wasn't my first thought at all. The term is generically used to 
refer to any kind of auxiliary descriptive mechanism that enables automated 
processing. So, it's used in a lot of similar contexts. Even though the term is 
a generic one, I was thinking it might be more intuitive than the less familiar 
"user data" which, unlike "tag", doesn't intuitively lead one to think about 
auxiliary descriptive information for collating. (NIST definition is 
https://csrc.nist.gov/glossary/term/data_tag)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to