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

A0-2846: aleph-bft shouldn't quit after creator's graceful exit #314

Commits on Jul 31, 2023

  1. FIX: aleph-bft was panicking in situations when creator decided to fi…

    …nish early, which might happen if unit-backup was purged.
    fixxxedpoint committed Jul 31, 2023
    Configuration menu
    Copy the full SHA
    2ab0b18 View commit details
    Browse the repository at this point in the history

Commits on Aug 2, 2023

  1. FIX: added complete branch to select in terminal.rs. Without it cou…

    …ld panic (which happened during tests).
    fixxxedpoint committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    8f9a601 View commit details
    Browse the repository at this point in the history
  2. Spawner::spawn_essential uses JoinHandle from tokio::spawn, instead o…

    …f some custom oneshot channel, to allow await task completion.
    fixxxedpoint committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    ef90f0f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    10881ba View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2ab1efc View commit details
    Browse the repository at this point in the history
  5. working version of the consensus, where exit (even with panic) of cre…

    …ator won't stop whole AlephBFT
    fixxxedpoint committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    b715ba2 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    1583a82 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    17f2b93 View commit details
    Browse the repository at this point in the history
  8. Revert "Spawner::spawn_essential uses JoinHandle from tokio::spawn, i…

    …nstead of some custom oneshot channel, to allow await task completion."
    
    This reverts commit ef90f0f.
    fixxxedpoint committed Aug 2, 2023
    Configuration menu
    Copy the full SHA
    9d3915d View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2023

  1. Version of consensus.rs that is not watching for creator's panics. Th…

    …is version also works, but kind of against the description of the SpawnHandle returned by substrate. Probably it is caused by setting a global panic handler on substrate's runner initialization.
    fixxxedpoint committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    b8f4601 View commit details
    Browse the repository at this point in the history
  2. Revert "Version of consensus.rs that is not watching for creator's pa…

    …nics. This version also works, but kind of against the description of the SpawnHandle returned by substrate. Probably it is caused by setting a global panic handler on substrate's runner initialization."
    
    This reverts commit b8f4601.
    fixxxedpoint committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    284c1b2 View commit details
    Browse the repository at this point in the history
  3. Terminator: now if we call terminate_sync without being earlier notif…

    …ied about exit from our parent, we continue to disable our offspring tasks, but without communicating it to our parent.
    fixxxedpoint committed Aug 3, 2023
    Configuration menu
    Copy the full SHA
    61f880f View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2023

  1. Configuration menu
    Copy the full SHA
    dfc42d1 View commit details
    Browse the repository at this point in the history
  2. Changed log-line in consensus.rs - closed channel to creator is ok, u…

    …ntil it has not panicked.
    fixxxedpoint committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    f30aeff View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b5bffd4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    19f22fb View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f9fba8c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    f6a3b42 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    bcda683 View commit details
    Browse the repository at this point in the history
  8. FIX: fixed the way we are using Terminator in futures::select! - it w…

    …as panicking without returning error, since oneshot::Receiver returned by Terminator was already implementing FusedFuture that behaved that way.
    fixxxedpoint committed Aug 4, 2023
    Configuration menu
    Copy the full SHA
    2354840 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2023

  1. Configuration menu
    Copy the full SHA
    cb9564d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5ce6ac0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    939e875 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    4f46254 View commit details
    Browse the repository at this point in the history