-
Notifications
You must be signed in to change notification settings - Fork 152
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(v2): storage network with v2 data engine #3521
base: master
Are you sure you want to change the base?
feat(v2): storage network with v2 data engine #3521
Conversation
WalkthroughThis pull request modifies how storage IP addresses are handled during instance creation. In the engine controller, it adds logic to retrieve the instance manager pod and use its storage IP when setting the Changes
Sequence Diagram(s)Engine Instance Creation FlowsequenceDiagram
participant EC as EngineController
participant DS as DataStore
participant Pod as Instance Manager Pod
participant ES as EngineService
EC->>DS: GetPod(instanceManagerName)
DS-->>EC: Pod (with storage IP)
EC->>ES: CreateEngineInstance(InitiatorAddress & TargetAddress = storage IP)
ES-->>EC: Instance process created
Replica Instance Creation FlowsequenceDiagram
participant RC as ReplicaController
participant ES as EngineService
RC->>ES: CreateReplicaInstance(without IM IP)
ES-->>RC: Instance process created
Assessment against linked issues
Suggested reviewers
Tip 🌐 Web search-backed reviews and chat
📜 Recent review detailsConfiguration used: .coderabbit.yaml 📒 Files selected for processing (3)
💤 Files with no reviewable changes (2)
⏰ Context from checks skipped due to timeout of 90000ms (2)
🔇 Additional comments (2)
✨ Finishing Touches
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
7bffa9e
to
f4b3312
Compare
Test result:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
f4b3312
to
e3492b6
Compare
Signed-off-by: Chin-Ya Huang <[email protected]>
longhorn/longhorn-6450 Signed-off-by: Chin-Ya Huang <[email protected]>
e3492b6
to
d78b240
Compare
Hi @c3y1huang There is only one place where it may need the instance-manager ip, not sure if in this case will we need to pass the storage network ip instead of pod ip.
|
Which issue(s) this PR fixes:
Issue longhorn/longhorn#6450
What this PR does / why we need it:
Use storage network for V2 data engine.
Special notes for your reviewer:
None
Additional documentation or context
None