Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[walproposer] Remove graceful termination of COPY during walproposer …
…recovery. Rust's postgres_backend currently is too dummy to handle it properly: reading happens in separate thread which just ignores CopyDone. Instead, writer thread must get aware of termination and send CommandComplete. Also reading socket must be transferred back to postgres_backend (or connection terminated completely after COPY). Let's do that after more basic safkeeper refactoring and right now cover this up to make tests pass. ref neondatabase#388
- Loading branch information