[fix][meta] Fix ephemeral Zookeeper put which creates a persistent znode - #23984
Conversation
|
This PR does not include the zk.Stat ephemral check fix, since #23902 (fix zkStat.getEphemeralOwner() != 0) requires more work to update test framework. |
ef507ea to
4255386
Compare
Thank you @heesung-sn. Makes sense to split things into multiple PRs. The test framework changes are actually completed, I'll push a PR with those. It's possible that we have many bad tests which were relying on the wrong assumptions. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #23984 +/- ##
============================================
+ Coverage 73.57% 74.19% +0.62%
+ Complexity 32624 31881 -743
============================================
Files 1877 1853 -24
Lines 139502 143826 +4324
Branches 15299 16337 +1038
============================================
+ Hits 102638 106715 +4077
+ Misses 28908 28727 -181
- Partials 7956 8384 +428
Flags with carried forward coverage won't be shown. Click here to find out more.
|
…ode (apache#23984) (cherry picked from commit 40d5af4) (cherry picked from commit 2cf8389)
…ode (apache#23984) (cherry picked from commit 40d5af4) (cherry picked from commit 5489da3)
…ode (apache#23984) (cherry picked from commit 40d5af4) (cherry picked from commit 2cf8389)
Fixes #23889
Motivation
Fixes #23889
zk.put creates persistent znode although it passes ephemeral node creation option.
Modifications
Verifying this change
Does this pull request potentially affect one of the following parts:
If the box was checked, please highlight the changes
Documentation
docdoc-requireddoc-not-neededdoc-completeMatching PR in forked repository
PR in forked repository: heesung-sohn#87