Skip to content

Fix odp set dirty#333

Merged
WeiXinChan merged 1 commit intomasterfrom
fix_odp_set_dirty
May 12, 2025
Merged

Fix odp set dirty#333
WeiXinChan merged 1 commit intomasterfrom
fix_odp_set_dirty

Conversation

@JackShi148
Copy link
Copy Markdown
Contributor

Summary

In disaster recovery situation, if one of the servers gets unavailable for service, the new client will set the server as dirty and avoid to access to it again until it becomes available. But in odp mode, the client should not to set proxy's address as dirty, otherwise the proxy will never recover to valid.

Solution Description

In odp mode, do not set dirty to proxy's address. Disaster recovery policy should be implemented by the odp side.

@JackShi148 JackShi148 force-pushed the fix_odp_set_dirty branch from e8e44e3 to ea0aca5 Compare May 8, 2025 09:09
Comment thread src/main/java/com/alipay/oceanbase/rpc/table/ObTable.java Outdated
@JackShi148 JackShi148 force-pushed the fix_odp_set_dirty branch from 8a8315a to 7243b68 Compare May 8, 2025 13:35
@JackShi148 JackShi148 force-pushed the fix_odp_set_dirty branch from 7243b68 to ab6ce0e Compare May 8, 2025 13:38
@WeiXinChan
Copy link
Copy Markdown
Contributor

LGTM

@WeiXinChan WeiXinChan merged commit d2f48dd into master May 12, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants