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

server: Default job wait period to 0 #103134

Merged
merged 1 commit into from
May 11, 2023
Merged

Conversation

miretskiy
Copy link
Contributor

@miretskiy miretskiy commented May 11, 2023

Avoid test flakes by default job wait period to 0.

Epic: None

Release note: None

@miretskiy miretskiy requested a review from renatolabs May 11, 2023 18:48
@miretskiy miretskiy requested review from a team as code owners May 11, 2023 18:48
@blathers-crl
Copy link

blathers-crl bot commented May 11, 2023

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

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

@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@renatolabs renatolabs left a comment

Choose a reason for hiding this comment

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

Not familiar with the changes; approving to confirm this seems to fix the flakes.

Avoid test flakes by default job wait period to 0.

Release note: None
@msbutler
Copy link
Collaborator

please do run this with bors p=999 when you're ready! It seems to be causing a bunch of flakes

@miretskiy
Copy link
Contributor Author

Bors r+ p=999

@craig
Copy link
Contributor

craig bot commented May 11, 2023

Build succeeded:

@craig craig bot merged commit 818cd3f into cockroachdb:master May 11, 2023
miretskiy pushed a commit to miretskiy/cockroach that referenced this pull request May 12, 2023
This is a revert of cockroachdb#103134 to reset job wait period to 10s
Epic: None

Release note: None
craig bot pushed a commit that referenced this pull request May 15, 2023
103131: util/parquet: add crdb metadata to parquet files r=miretskiy a=jayshrivastava

util/parquet: add option to write kv metadata to files

This change adds an option to the writer which allows the caller
to write arbitrary kv metadata to parquet files. This is useful
for testing purposes.

Informs: #99028
Epic: https://cockroachlabs.atlassian.net/browse/CRDB-15071
Release note: None

---

util/parquet: remove dependency on writer to read parquet files

Previously, the test utils used to read parquet files
would require the writer as an argument. The main reason
the writer was required is that the writer contained
crdb-specific type information which could be used to
decode raw data until crdb datums.

With this change, the writer is updated to write this
crdb-specific type information to the parquet file in
its metadata. The reader is updated to the read type
information from the file metadata. There is a new
test utility function `ReadFile(parquetFile string)`
which can be used to read all datums from a parquet
file without providing any additional type information.
The function also returns metadata since it is possible
for users of the `Writer` to write arbitrary metadata
and such users may need this metadata in testing.

Informs: #99028
Epic: https://cockroachlabs.atlassian.net/browse/CRDB-15071
Release note: None

103181: server: Default job wait time to 10s r=miretskiy a=miretskiy

This is a revert of #103134 to reset job wait period to 10s Epic: None

Release note: None

Co-authored-by: Jayant Shrivastava <[email protected]>
Co-authored-by: Yevgeniy Miretskiy <[email protected]>
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