Repository navigation
P14: Port opt-in audit data lengths to ZooKeeper 3.8.7 - #190
Merged
bellatrix007 merged 1 commit intoDec 3, 2026
Conversation
1 task
bellatrix007
force-pushed
the
adbansal/zk-387-p14-audit-data-length-stacked
branch
from
November 27, 2026 07:17
77c4cc5 to
eb0ca25
Compare
bellatrix007
force-pushed
the
adbansal/zk-387-p14-audit-data-length-stacked
branch
from
December 3, 2026 12:25
eb0ca25 to
faedb67
Compare
Carry PR170 directly, preserving source comments, documentation and test scenarios. Retain existing sanitization and request-user access, with required Jupiter compatibility changes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
bellatrix007
force-pushed
the
adbansal/zk-387-p14-audit-data-length-stacked
branch
from
December 3, 2026 14:56
faedb67 to
c2230e8
Compare
bellatrix007
deleted the
adbansal/zk-387-p14-audit-data-length-stacked
branch
December 3, 2026 16:38
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Forward-port #170 from
branch-3.6to ZooKeeper 3.8.7, stacked on #189.Add opt-in
data_lengthto existing audited create/setData operations,including failed requests and entries in successful multis.
The field records request payload bytes; null/empty data is
0. Payloadcontents are not logged. Enable
zookeeper.audit.dataLength.enable=truetogether with
zookeeper.audit.enable=true; configuration is read at startup.Data-length auditing defaults to false.
Preserve the source provider, documentation and test scenarios. Retain
3.8.7's audit sanitization, request-user accessor and existing parsing flow.
Tests
On
77c4cc5c:All three source
AuditDataLengthTestscenarios are retained with requiredJupiter adaptations. Existing default-off audit and sanitization controls
also passed.
The pre-existing standalone
createTTLaudit gap remains unchanged.Deployed/mixed-version qualification and earlier stack CI failures (#184,
#186) are separate; this PR does not fix them.
Changes that Break Backward Compatibility (Optional)
Existing audit records are unchanged with the flag off. Enabling it adds
the optional
data_lengthfield; downstream log consumers must accept it.Existing logging overloads remain available. No client/server protocol or
snapshot-format changes.
Documentation (Optional)
Carry the source field and configuration documentation in
zookeeperAuditLogs.md.🤖 Generated with GitHub Copilot CLI