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

[3.5] server: don't panic in readonly serializable txn #14178

Merged
merged 1 commit into from Sep 13, 2022

Commits on Sep 1, 2022

  1. [backport 3.5] server: don't panic in readonly serializable txn

    Problem: We pass grpc context down to applier in readonly serializable txn.
    This context can be cancelled for example due to timeout.
    This will trigger panic inside applyTxn
    
    Solution: Only panic for transactions with write operations
    
    fixes etcd-io#14110
    main PR etcd-io#14149
    
    Signed-off-by: Bogdan Kanivets <bkanivets@apple.com>
    Bogdan Kanivets committed Sep 1, 2022
    Copy the full SHA
    204d883 View commit details
    Browse the repository at this point in the history