saintstack commented on a change in pull request #390: HBASE-22623 - Add
RegionObserver coprocessor hook for preWALAppend
URL: https://github.com/apache/hbase/pull/390#discussion_r312599675
##########
File path: hbase-server/src/main/java/org/apache/hadoop/hbase/wal/WALKey.java
##########
@@ -86,6 +85,13 @@ default long getNonce() {
*/
long getOrigLogSeqNum();
+ /**
+ * Add a named String value to this WALKey to be persisted into the WAL
+ * @param attributeKey Name of the attribute
+ * @param attributeValue Value of the attribute
+ */
+ void addExtendedAttribute(String attributeKey, byte[] attributeValue);
Review comment:
Oh, so WALKey goes from being read-only to now carrying burden? WALEdit is
for freight?
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services