Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

londiste.repair: add option to dump in parallel #48

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

tarvip
Copy link

@tarvip tarvip commented Sep 2, 2015

No description provided.

@yesnik
Copy link

yesnik commented Feb 2, 2016

@tarvip , hello! Could you please explain what does the option --parallel do? Why is it convenient to have this option at our disposal?

@tarvip
Copy link
Author

tarvip commented Feb 2, 2016

This is used by repair. When tables are repaired then source and target tables are dumped to disk and then these dumps are compared later. Without --parallel option tables are dumped in serial. First source is dumped then target. Downside is that if you have large table then transaction on target can be opened for a long time as it is opened before starting source dump.
With --parallel option source and target dumps are created at the same time.

@yesnik
Copy link

yesnik commented Feb 2, 2016

Thank you, Tarvi ( @tarvip ), I got it. This option will be very helpful for us.
Marko ( @markokr ), hello! Is it possible to merge this pull request into master?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants