Skip to content

CURATOR-241: Write updated data on reconnect#95

Merged
asfgit merged 3 commits intoapache:masterfrom
alexbrasetvik:CURATOR-241
Aug 11, 2015
Merged

CURATOR-241: Write updated data on reconnect#95
asfgit merged 3 commits intoapache:masterfrom
alexbrasetvik:CURATOR-241

Conversation

@alexbrasetvik
Copy link
Copy Markdown
Contributor

PersistentEphemeralNode can be initialised with certain data, then later updated. If the client reconnects, the replacing ephemeral should write the updated data.

PersistentEphemeralNode can be initialised with certain data, then
later updated. If the client reconnects, the replacing ephemeral
should write the updated data.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason that this is package protected rather than private?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The idea was to make it available for future tests, but can make it private.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd mark it as private for now and it can be exposed later if needed. If it were to be for testing we mark these as @VisibleForTesting to be explicit as to why it's package protected.

@alexbrasetvik
Copy link
Copy Markdown
Contributor Author

Updated based on feedback. Want me to squash the commits together? :)

@cammckenzie
Copy link
Copy Markdown
Contributor

Don't worry about squashing the commits. Thanks for the patch.

+1 from me.

@asfgit asfgit merged commit f3ff7e7 into apache:master Aug 11, 2015
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.

3 participants