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

util/span: use bazel for codegen, regenerate #118490

Merged
merged 2 commits into from
Jan 31, 2024

Conversation

ajwerner
Copy link
Contributor

In #110516, the code started used a generated btree. Unfortunately, the code did not adopt bazel code generation, so missed a regeneration when the changes in #116663 merged.

Also, it seems, the change rotted such that regenerating didn't work because the entry was renamed from frontierEntry to btreeFrontierEntry without updating the go:generate comment. I imagine somebody did a manual rename.

This fixes the problem by adopting bazel generation.

Epic: None

Release note: None

In cockroachdb#110516, the code started used a generated btree. Unfortunately, the
code did not adopt bazel code generation, so missed a regeneration when
the changes in cockroachdb#116663 merged.

Also, it seems, the change rotted such that regenerating didn't work
because the entry was renamed from `frontierEntry` to
`btreeFrontierEntry` without updating the go:generate comment. I imagine
somebody did a manual rename.

This fixes the problem by adopting bazel generation.

Epic: None

Release note: None
@ajwerner ajwerner requested a review from a team as a code owner January 30, 2024 18:28
Copy link

blathers-crl bot commented Jan 30, 2024

Thank you for contributing to CockroachDB. Please ensure you have followed the guidelines for creating a PR.

My owl senses detect your PR is good for review. Please keep an eye out for any test failures in CI.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@blathers-crl blathers-crl bot added the O-community Originated from the community label Jan 30, 2024
@cockroach-teamcity
Copy link
Member

This change is Reviewable

ajwerner added a commit to ajwerner/cockroach that referenced this pull request Jan 30, 2024
Relates to cockroachdb#118490.

Epic: None

Release note: None
Copy link

blathers-crl bot commented Jan 30, 2024

Thank you for updating your pull request.

Before a member of our team reviews your PR, I have some potential action items for you:

  • We notice you have more than one commit in your PR. We try break logical changes into separate commits, but commits such as "fix typo" or "address review commits" should be squashed into one commit and pushed with --force
  • When CI has completed, please ensure no errors have appeared.

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

For whatever reason, the linter is unhappy that this package does
not have a comment. I don't know how we avoided this failure in
the past, but maybe it's being triggered by the fact that I'm changing
the package?

Epic: none

Release note: None
@ajwerner ajwerner force-pushed the adopt-btree-changes-and-bazel branch from 3953a63 to d855875 Compare January 30, 2024 18:52
@ajwerner
Copy link
Contributor Author

@miretskiy can you stamp this?

@miretskiy
Copy link
Contributor

Bors r+

@craig
Copy link
Contributor

craig bot commented Jan 31, 2024

Build succeeded:

@craig craig bot merged commit 9a8037a into cockroachdb:master Jan 31, 2024
8 of 9 checks passed
ajwerner added a commit to ajwerner/cockroach that referenced this pull request Jan 31, 2024
Relates to cockroachdb#118490.

Epic: None

Release note: None
craig bot pushed a commit that referenced this pull request May 2, 2024
118491: util/interval: update doc.go for bazel r=yuzefovich a=ajwerner

Relates to #118490.

Epic: None

Release note: None

118719: Storage: show in logs when crdb_internal.compact_engine_span is called #111954 r=raduberinde a=Manish4044

**Fixes**: #111954 

**Description**
This PR introduces log entries to indicate when crdb_internal.compact_engine_span is called. This improvement aims to facilitate debugging escalations.

**Changes**
Adding log statements whenever crdb_internal.compact_engine_span builtin is called

Release Note: None
Epic: none

Co-authored-by: Andrew Werner <[email protected]>
Co-authored-by: Manish Yadav <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
O-community Originated from the community
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants