ZOOKEEPER-3864: Reject create/renew/close global session in RO mode - #1381
ZOOKEEPER-3864: Reject create/renew/close global session in RO mode#1381jhuan31 wants to merge 1 commit into
Conversation
|
looks like an infra issue. it failed only on s390x and the error msg is "An error occurred while generating the build script.An error occurred while generating the build script." |
hanm
left a comment
There was a problem hiding this comment.
lgtm.
non blocking : might worth to add a test for this in ReadOnlyModeTest.
|
@hanm I think there is something wrong with ReadOnlyModeTest: some tests depend on renewing a global session, which is rejected by this change. The check result of the continuous integration is very confusing though--it doesn't show any test failure. Trying to fix it. |
|
Need to have ZOOKEEPER-3863, which replace SessionTrackerImpl with LearnerSessionTracker for ReadOnlyServer, to make this PR work coz SessionTrackerImpl can't whether a session is global or not. |
|
Yes, |
|
also, should we combine #1380 with this pull request? Logically, both are separate issues, but since this patch depends on PR1380 (which itself does not come with any unit test), I am thinking combine both in a single PR might be better (and probably easier to get all test pass). |
|
Combine this PR with #1380 |
No description provided.