You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Ray Mattingly (Jira)" <ji...@apache.org> on 2023/07/30 13:31:00 UTC
[jira] [Created] (HBASE-28002) Add Get, Mutate, and Multi operations to slow log params
Ray Mattingly created HBASE-28002:
-------------------------------------
Summary: Add Get, Mutate, and Multi operations to slow log params
Key: HBASE-28002
URL: https://issues.apache.org/jira/browse/HBASE-28002
Project: HBase
Issue Type: Improvement
Reporter: Ray Mattingly
In https://issues.apache.org/jira/browse/HBASE-27536 we added the ability to include Scan operations in the slow log params. It would be useful to include more operations too. Beyond just showing the shape of the request to slow log readers, this would also ensure that operation attributes can be inferred.
There are a few complications to consider for some operation types:
* Mutate:
** we should probably strip the columns from these puts. Otherwise we might produce unpredictably large slow log payloads, and there are potentially security concerns to consider
* Multi
** we should also consider stripping columns from these requests
** (configurably?) limiting the number of operations that can be included. For example, maybe we only want to include 5 operations on a slow log payload for a 100 operation MultiRequest for the sake of brevity
** we may want to deduplicate operation attributes. I'm not really sure how we'd do this without the output being misleading
--
This message was sent by Atlassian Jira
(v8.20.10#820010)