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

test: add test of batch reuse semantics #67

Merged
merged 1 commit into from
Mar 9, 2020

Conversation

erikgrinaker
Copy link
Contributor

This tests that a closed batch can be reused as if it were a new one. It is unclear if this is the semantics we want, the alternative is to panic/error on reuse. The latter option might be better for safety, but many of the current backends allow the former so it is less breaking.

Personally I don't have a strong opinion, we just have to choose one or the other.

@erikgrinaker erikgrinaker self-assigned this Mar 9, 2020
Copy link
Contributor

@melekes melekes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@erikgrinaker erikgrinaker merged commit 7098243 into master Mar 9, 2020
@erikgrinaker erikgrinaker deleted the erik/batch-reuse-test branch March 9, 2020 19:18
nddeluca referenced this pull request in Kava-Labs/tm-db Jan 8, 2024
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.55.0 to 1.56.0.
- [Release notes](https://github.com/grpc/grpc-go/releases)
- [Commits](grpc/grpc-go@v1.55.0...v1.56.0)

---
updated-dependencies:
- dependency-name: google.golang.org/grpc
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants