Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[KYUUBI #6048] Assign serviceNode and add volatile for variables
# 🔍 Description ## Issue References 🔗 This pull request fixes # ## Describe Your Solution 🔧 Fix the following issues: + `EtcdDiscoveryClient#serviceNode` has never been assigned. + Variables in EtcdDiscoveryClient may be accessed by multiple threads. ## Types of changes 🔖 - [X] Bugfix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan 🧪 #### Behavior Without This Pull Request ⚰️ #### Behavior With This Pull Request 🎉 #### Related Unit Tests --- # Checklist 📝 - [ ] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes #6048 from wForget/hotfix. Closes #6048 79aa971 [wforget] Assign serviceNode and add volatile to the variables Authored-by: wforget <[email protected]> Signed-off-by: wforget <[email protected]> (cherry picked from commit 19c0576) Signed-off-by: wforget <[email protected]>
- Loading branch information