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

roachpb,storage: remove DeprecatedVerifyChecksum request #26939

Merged
merged 1 commit into from
Jun 26, 2018

Conversation

benesch
Copy link
Contributor

@benesch benesch commented Jun 23, 2018

DeprecatedVerifyChecksum request was removed prior to September 2016. It
is not sent by a CockroachDB 2.0 cluster, so it's safe to remove in 2.1.


Someone more familiar with prop-eval KV should double-check that this is actually safe.

@benesch benesch requested a review from a team June 23, 2018 20:46
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@tbg
Copy link
Member

tbg commented Jun 25, 2018

:lgtm:


Reviewed 9 of 9 files at r1.
Review status: :shipit: complete! 0 of 0 LGTMs obtained (and 1 stale)


Comments from Reviewable

@benesch
Copy link
Contributor Author

benesch commented Jun 25, 2018

bors r=nvanbenschoten,tschottdorf

@craig
Copy link
Contributor

craig bot commented Jun 25, 2018

Merge conflict (retrying...)

@benesch benesch force-pushed the remove-deprecated-checksum branch from a343625 to 21a0991 Compare June 25, 2018 21:39
DeprecatedVerifyChecksum request was removed prior to September 2016. It
is not sent by a CockroachDB 2.0 cluster, so it's safe to remove in 2.1.
@benesch benesch force-pushed the remove-deprecated-checksum branch from 21a0991 to 0e94a78 Compare June 26, 2018 12:48
@benesch
Copy link
Contributor Author

benesch commented Jun 26, 2018

bors r=nvanbenschoten,tschottdorf

craig bot pushed a commit that referenced this pull request Jun 26, 2018
26939: roachpb,storage: remove DeprecatedVerifyChecksum request r=nvanbenschoten,tschottdorf a=benesch

DeprecatedVerifyChecksum request was removed prior to September 2016. It
is not sent by a CockroachDB 2.0 cluster, so it's safe to remove in 2.1.

---

Someone more familiar with prop-eval KV should double-check that this is actually safe.

26972: sem/tree: remove TestClusterTimestampConversion r=andreimatei a=andreimatei

I can't really tell what this test is testing exactly, but what it does
is really weird - it creates a TestingEvalCcontext and then it peeks
inside it to update the txn proto's timestamp, only to the retrieve that
timestamp and assert some serialization on it.
This is bizarre, and also changing a txn's proto like that is not going
to be a thing any more - I'm making this proto not be exposed any more,
and definitely not writable by the world. In fact, it never was intended
to be modified by clients.

If a test really needs a transaction at a particular timestamp and the
test needs to operate at a high level, there's txn.SetFixedTimestamp().
But that requires a txn to actually exist; the mocking done by
tree.NewTestingEvalContext() is not sufficient.
I'd like to remove this test...

Release note: None

Co-authored-by: Nikhil Benesch <[email protected]>
Co-authored-by: Andrei Matei <[email protected]>
@craig
Copy link
Contributor

craig bot commented Jun 26, 2018

Build succeeded

@craig craig bot merged commit 0e94a78 into cockroachdb:master Jun 26, 2018
@benesch benesch deleted the remove-deprecated-checksum branch June 27, 2018 22:24
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.

4 participants