Skip to content

replication: add specification of GetReplicationDestinationInfo#79

Merged
mergify[bot] merged 1 commit into
csi-addons:mainfrom
nicknevin:destinfo
May 15, 2026
Merged

replication: add specification of GetReplicationDestinationInfo#79
mergify[bot] merged 1 commit into
csi-addons:mainfrom
nicknevin:destinfo

Conversation

@nicknevin
Copy link
Copy Markdown
Contributor

Introduce a new RPC GetReplicationDestinationInfo with a corresponding capability GET_REPLICATION_DESTINATION_INFO. This RPC can be called to retrieve the current destination volume or volume group details, including per-volume ID mappings for dynamic groups.

This is necessary to support storage providers which have different volume IDs and volume group IDs on the source and destination sides of a replication relationship.

Note: This is taken verbatim from @Madhu-1 's design proposal .

@Madhu-1
Copy link
Copy Markdown
Member

Madhu-1 commented Apr 30, 2026

changes LGTM @nicknevin can you fix the CI error and move it to ready for review?

Comment thread replication/replication.proto
@nicknevin nicknevin marked this pull request as ready for review April 30, 2026 11:08
Comment thread replication/README.md Outdated
Comment on lines +442 to +447
// The source volume or volume group for which destination
// details are requested.
// This field is REQUIRED.
ReplicationSource replication_source = 1;
// Secrets required by the plugin to complete the request.
map<string, string> secrets = 2 [(csi.v1.csi_secret) = true];
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Based on how other RPCs are defined, I think secrets should come first and then the replication_source

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Makes sense to me. @Madhu-1 what do you think?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nicknevin sounds good, can you please fix the DOC error

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. I presume you meant DCO error? Fixed and combined the two commits into one.

Introduce a new RPC `GetReplicationDestinationInfo` with a corresponding
capability `GET_REPLICATION_DESTINATION_INFO`. This RPC can be called to
retrieve the current destination volume or volume group details, including
per-volume ID mappings for dynamic groups.

This is necessary to support storage providers which have different volume IDs
and volume group IDs on the source and destination sides of a replication
relationship.

Signed-off-by: Nick Nevin <nnevin@redhat.com>
@Madhu-1
Copy link
Copy Markdown
Member

Madhu-1 commented May 15, 2026

@Mergifyio queue

@mergify
Copy link
Copy Markdown

mergify Bot commented May 15, 2026

Merge Queue Status

This pull request spent 2 minutes 54 seconds in the queue, including 2 minutes 26 seconds running CI.

Required conditions to merge

@mergify mergify Bot added the queued label May 15, 2026
mergify Bot added a commit that referenced this pull request May 15, 2026
@mergify mergify Bot merged commit d4a3737 into csi-addons:main May 15, 2026
7 checks passed
@mergify mergify Bot removed the queued label May 15, 2026
@nicknevin nicknevin deleted the destinfo branch May 15, 2026 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

design Adds or updates an operation or service

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants