Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

no rsync in replication but ref'ed in clustering #521

Open
ajschumacher opened this issue Nov 26, 2014 · 5 comments
Open

no rsync in replication but ref'ed in clustering #521

ajschumacher opened this issue Nov 26, 2014 · 5 comments

Comments

@ajschumacher
Copy link
Contributor

(as of ac00f61)

clustering.html includes "See more about rsync and replication in Chapter 16, Replication." but replication.html doesn't include anything about rsync.

@janl
Copy link
Member

janl commented Nov 26, 2014

That needs to be "sync".

On 26.11.2014, at 18:51, Aaron Schumacher [email protected] wrote:

(as of ac00f61)

clustering.html includes "See more about rsync and replication in Chapter 16, Replication." but replication.html doesn't include anything about rsync.


Reply to this email directly or view it on GitHub.

@ajschumacher
Copy link
Contributor Author

There isn't anything about any file-based syncing in replication though, is there?

@janl
Copy link
Member

janl commented Nov 26, 2014

No, in CouchDB we often use Replication and Sync synonymously.

On 26.11.2014, at 19:12, Aaron Schumacher [email protected] wrote:

There isn't anything about any file-based syncing in replication though, is there?


Reply to this email directly or view it on GitHub.

@ajschumacher
Copy link
Contributor Author

Here's the paragraph for context:

Another method for moving partition databases is to rsync the files on disk from the old node to the new one. Depending on how recently the partition was compacted, this should result in efficient, low-CPU initialization of a new node. Replication can then be used to bring the rsynced file up-to-date. See more about rsync and replication in Chapter 16, Replication.

To me it seems like it's talking about an alternative method for getting the same database state to a different node: moving files, rather than using the usual CouchDB replication features. That's why I thought Replication and (r)Sync weren't being used synonymously, and why I thought it was strange that it referred to the replication chapter despite the replication chapter not having anything about replicating by moving files yourself. Does that make sense? Is my reading very strange? What would clarify it here?

@janl
Copy link
Member

janl commented Nov 27, 2014

Ah good point. rsync is a UNIX tool that copies files around. At this point, the text assumes knowledge of that. Might be worth adding a reference to it’s wikipedia page.

The original issue of “[r]sync and replication” still needs to be “sync”.

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

No branches or pull requests

2 participants