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

Fix restartDeadTask logic when the task thread has died #861

Merged
merged 4 commits into from
Nov 1, 2021

Commits on Oct 28, 2021

  1. Fix restartDeadTask logic when the task thread has died

    In restartDeadTask we check if a task is dead and attempt to cleanly stop the task before restarting
    the task again. To check if the task is dead or not, one of the things we check is if the task
    thread is alive or not. Even though this is a correct check, we don't need to attempt to stop the
    task in this case as the task thread is already dead.
    Another fix is in KafkaMirrorMakerConnectorTask to count down the latch in case we fail to acquire
    the task lock.
    surajkn committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    fa4d506 View commit details
    Browse the repository at this point in the history
  2. Adding a method for counting down stop latch and removing finally blo…

    …ck around task lock acquire
    surajkn committed Oct 28, 2021
    Configuration menu
    Copy the full SHA
    a9ab2cc View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2021

  1. Renaming the countDownLatch method and remove calling it from KafkaMi…

    …rrorMakerConnectorTask
    surajkn committed Nov 1, 2021
    Configuration menu
    Copy the full SHA
    3d463d7 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a223fe9 View commit details
    Browse the repository at this point in the history