Skip to content

test: add test of batch reuse semantics#67

Merged
erikgrinaker merged 1 commit intomasterfrom
erik/batch-reuse-test
Mar 9, 2020
Merged

test: add test of batch reuse semantics#67
erikgrinaker merged 1 commit intomasterfrom
erik/batch-reuse-test

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] <support@github.com>
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