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

Introduce "Lock Strategy" option #182

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

Commits on May 3, 2020

  1. Introduce "Lock Strategy" option

    With this commit, we allow using an in-application lock in ghostferry,
    instead of using the source DB as lock. The lock is required to avoid
    race conditions between the data iteration/copy and the binlog writer.
    
    The default behavior is preserved; a new option "LockStrategy" allows
    moving the lock from the source DB into ghostferry, or disabling the
    lock altogether.
    
    This fixes Shopify#169
    
    Change-Id: I20f1d2a189078a3877f831c7a98e8ca956620cc7
    kolbitsch-lastline committed May 3, 2020
    Configuration menu
    Copy the full SHA
    ceaba06 View commit details
    Browse the repository at this point in the history