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

ci: update pebble metamorphic nightly to use bazel #75585

Merged
merged 1 commit into from
Feb 1, 2022

Conversation

rickystewart
Copy link
Collaborator

Closes #67335.

Release note: None

@rickystewart rickystewart requested review from a team as code owners January 26, 2022 23:20
@rickystewart rickystewart requested review from otan and removed request for a team January 26, 2022 23:20
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@rickystewart rickystewart force-pushed the pebblemetamorphic branch 5 times, most recently from 2e278be to 8bdb524 Compare January 28, 2022 15:41
@rickystewart rickystewart requested review from nicktrav and removed request for otan January 31, 2022 15:29
@rickystewart rickystewart changed the title [WIP] ci: update pebble metamorphic nightly to use bazel ci: update pebble metamorphic nightly to use bazel Jan 31, 2022
Copy link
Collaborator

@nicktrav nicktrav left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 8 of 8 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @rickystewart)


build/patches/com_github_cockroachdb_pebble.patch, line 8 at r1 (raw file):

         "finalizer_off.go",
         "finalizer_on.go",
+        "off.go",

What's the reason for needing this patch? Any way we can put a comment somewhere about it?


pkg/cmd/mirror/mirror.go, line 458 at r1 (raw file):

		fmt.Printf(`    go_repository(
        name = "%s",
`, repoName)

nit: formatting

@rickystewart
Copy link
Collaborator Author

What's the reason for needing this patch? Any way we can put a comment somewhere about it?

Done (put in README.md for that folder).

nit: formatting

Not sure exactly what this comment means, but the whitespace is significant here.

@nicktrav
Copy link
Collaborator

Not sure exactly what this comment means, but the whitespace is significant here.

Disregard. I didn't notice the backticks.

@rickystewart
Copy link
Collaborator Author

TFTR!

bors r=nicktrav

@craig
Copy link
Contributor

craig bot commented Feb 1, 2022

Build succeeded:

@craig craig bot merged commit cb00001 into cockroachdb:master Feb 1, 2022
rickystewart added a commit to rickystewart/cockroach that referenced this pull request Feb 7, 2022
The `--formatter=pebble-metamorphic` option got lost in cockroachdb#75585.

Release note: None
craig bot pushed a commit that referenced this pull request Feb 8, 2022
76095: kv: don't pass clock information through Raft log r=nvanbenschoten a=nvanbenschoten

This commit eliminates the primary mechanism that we use to pass clock information from a leaseholder, through Raft log entries, to a Range's followers. As we found in #72278, this was only needed for correctness in a few specific cases — namely lease transfers and range merges. These two operations continue to pass clock signals through more explicit channels, but we remove the unnecessary general case.

The allows us to remote one of the two remaining places where we convert a `Timestamp` to a `ClockTimestamp` through the `TryToClockTimestamp` method. As outlined in #72121 (comment), I would like to remove ability to downcast a "data-plane" `Timestamp` to a "control-plane" `CloudTimestamp` entirely. This will clarify the role of `ClockTimestamps` in the system and clean up the channels through which clock information is passed between nodes.

The other place where we cast from `Timestamp` to `ClockTimesatmp` is in `Store.Send`, at the boundary of KV RPCs. I would also like to get rid of this, but doing so needs to wait on #73732.

76163: bazel: remove old protos when generating new ones r=ajwerner a=ajwerner

This is what the Makefile did. It was painful to have the old onces because
they'd lead to spurious diffs.

Release note: None

76166: sql: support version numbers on descriptor validation r=fqazi a=fqazi

Previously, the descriptor validation code did not
take a version number, so it was not possible to version
gate new validation logic. This was inadequate  because
when new fields are introduced we don't want their validation
to kick in for certain cases like the debug doctor, such as any
new fields with non-zero defaults. To address this, this patch add supports
for version numbers inside the validation, and updates unit tests
to pass this in as well. It also adds a new option on debug doctor
to run a version of validation.

Release note (cli change): Add new optional version argument
to the doctor examine command. This can be used to enable /
disable validation when examining older zip directories.

76188: ci: make sure metamorphic nightly uses proper formatter for issues r=nicktrav a=rickystewart

The `--formatter=pebble-metamorphic` option got lost in #75585.

Release note: None

76191: gazelle: exclude `.pb.go` files r=dt a=rickystewart

Should prevent Gazelle from getting confused and adding these to `srcs`.

Release note: None

76192: ci: make sure extra env vars are set for `roachtest` jobs r=rail a=rickystewart

We [need these](https://github.com/cockroachdb/cockroach/blob/5e7690d6da09821ff431ef32fe8d1430d05aed9f/pkg/cmd/internal/issues/issues.go#L159-L171).

Release note: None

76194: tree: remove TODOs about bytea/float cast volatility r=mgartner a=rafiss

These comments aren't needed, since the current cast volatility is
correct, as far as I can tell.

We might want to report this as a bug in Postgres if it describes these
casts as immutable incorrectly.

Release note: None

Co-authored-by: Nathan VanBenschoten <nvanbenschoten@gmail.com>
Co-authored-by: Andrew Werner <awerner32@gmail.com>
Co-authored-by: Faizan Qazi <faizan@cockroachlabs.com>
Co-authored-by: Ricky Stewart <ricky@cockroachlabs.com>
Co-authored-by: Rafi Shamim <rafi@cockroachlabs.com>
RajivTS pushed a commit to RajivTS/cockroach that referenced this pull request Mar 6, 2022
The `--formatter=pebble-metamorphic` option got lost in cockroachdb#75585.

Release note: None
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.

ci: duplicate Pebble Nightly - AWS build config for ci
3 participants