cmd: add otter subcommand wiring AF2 posix backend with multi-channel router#6
Open
riaarora-boop wants to merge 1 commit into
Open
cmd: add otter subcommand wiring AF2 posix backend with multi-channel router#6riaarora-boop wants to merge 1 commit into
riaarora-boop wants to merge 1 commit into
Conversation
… router Adds the otter CLI subcommand which wires together: - local posix backend with Af2Desc metadata storer + Af2MPUHandler (write-at-offset) + same-dir-tmp atomic rename - Router distributing objects across N AF2 channels by stable key hash - one s3proxy forwarder per non-self slot (re-signed, UNSIGNED-PAYLOAD, plaintext intra-cluster for v1) Flags: --owner-map (shared JSON slot config), --self-idx (this node's slot), --forward-timeout (deadline for forwarded byte-writes). AF2-specific posix flags (--af2-desc, --same-dir-tmp, --disableotmp) also exposed. Jira: CDM-557247 Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
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.
Summary:
Adds the
versitygw ottersubcommand that wires together the full Otter stack:Af2Descmetadata storer +Af2MPUHandler(write-at-offset) +--same-dir-tmpRouterdistributing objects across N AF2 channels by stable key hashs3proxyforwarder per non-self peer slot (re-signed SigV4, UNSIGNED-PAYLOAD streaming, plaintext intra-cluster for v1)Flags:
--owner-map(shared JSON slot config),--self-idx(this node's slot index),--forward-timeout(deadline for forwarded byte-writes). AF2-specific posix flags (--af2-desc,--same-dir-tmp,--disableotmp) also exposed.Note — will be updated with JFL control plane (§14 of design doc): the
--owner-mapstatic file flag will be replaced with theOtterControlThrift server (port 9200, mTLS), CRDB client for grant read-back and startup warmup, in-memory grant cache, and 503/403 split in the S3 auth layer. Forward credentials will be moved to Vault rather than environment variables.Test Plan:
go build ./cmd/...passesottersubcommand into AF2 partitions, objects fanned out evenly across channels, read back byte-cleanJIRA Issues:
CDM-557247 (subtask of CDM-557238)
Revert Plan:
Revert this PR. Removes the
ottersubcommand from the binary; all other subcommands (posix,s3, etc.) are unaffected.