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

env: Add clearerr() before repeating an interrupted file read #75

Merged
merged 1 commit into from
Mar 12, 2020

Conversation

itsbilal
Copy link

@itsbilal itsbilal commented Mar 11, 2020

This change updates PosixSequentialFile::Read to call clearerr()
before fread()ing again after an EINTR is returned on a previous
fread.

Proactive fix for facebook#6509


This change is Reviewable

This change updates PosixSequentialFile::Read to call clearerr()
before fread()ing again after an EINTR is returned on a previous
fread.

Proactive fix for facebook#6509
@itsbilal itsbilal self-assigned this Mar 11, 2020
Copy link

@petermattis petermattis left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewable status: 0 of 1 files reviewed, all discussions resolved (waiting on @petermattis and @sumeerbhola)

@itsbilal
Copy link
Author

CI is really flakey; the main tests are passing, but the java ones are failing with this error:

Downloading /home/travis/build/cockroachdb/rocksdb/java/test-libs/junit-4.12.jar

Downloading /home/travis/build/cockroachdb/rocksdb/java/test-libs/hamcrest-core-1.3.jar

Downloading /home/travis/build/cockroachdb/rocksdb/java/test-libs/mockito-all-1.10.19.jar

Downloading /home/travis/build/cockroachdb/rocksdb/java/test-libs/cglib-2.2.2.jar

Downloading /home/travis/build/cockroachdb/rocksdb/java/test-libs/assertj-core-1.7.1.jar

CMake Error at java/CMakeLists.txt:422 (message):

  Failed downloading

  /home/travis/build/cockroachdb/rocksdb/java/test-libs/assertj-core-1.7.1.jar

I'll just merge as-is

@itsbilal itsbilal merged commit 31a10dc into crl-release-6.2.1 Mar 12, 2020
itsbilal added a commit to itsbilal/cockroach that referenced this pull request Mar 12, 2020
Bumps rocksdb ref to pick up cockroachdb/rocksdb#75

Bumps pebble ref to pick up SeqNum fix and standardization of initial
and last SeqNum handling with RocksDB. New pebble revision is
d2ecbc248decea8d177e2d2777d8ef458267eddc

Release note: None
craig bot pushed a commit to cockroachdb/cockroach that referenced this pull request Mar 12, 2020
45986: roachtest: adjust tpchvec r=yuzefovich a=yuzefovich

Release justification: non-production code change.

This commit unskips query 9 and removes some code that was put in place
to handle missing disk spilling in the vectorized engine.

Release note: None

46009: sql: add telemetry for window functions r=yuzefovich a=yuzefovich

**sql: remove some unused code**

Release justification: non-production code changes.

This code is no longer needed since the optimizer took over planning of
the window functions.

Release note: None

**sql: add telemetry for window functions**

Release justification: telemetry change.

Fixes: #45598.

Release note: None

46032: vendor, rocksdb: Bump rocksdb and pebble refs r=itsbilal a=itsbilal

Bumps rocksdb ref to pick up cockroachdb/rocksdb#75

Bumps pebble ref to pick up SeqNum fix and standardization of initial
and last SeqNum handling with RocksDB. New pebble revision is
d2ecbc248decea8d177e2d2777d8ef458267eddc

Release note: None

46036: sqltelemetry: adjust IAM telemetry methods to have Inc/Counter r=RichardJCai a=otan

Trying to standardise the sqltelemetry package such that every name ends
with `Counter`, so this is a `sed` replace to do just that. Also noticed
that `IAMAlter` has a different name, so fixing that form too.

Release justification: Refactoring of names only.

Release note: None

Co-authored-by: Yahor Yuzefovich <[email protected]>
Co-authored-by: Bilal Akhtar <[email protected]>
Co-authored-by: Oliver Tan <[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.

2 participants