Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[PBCKP-150] Reading buffer is flushed each time we verify the checksum.#487

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
kulaginm merged 5 commits intorelease_2_5_6fromPBCKP-150_race_condition
May 25, 2022

Conversation

@daniel-95
Copy link
Contributor

The race condition is covered with a unit-test, the buffer is flushed
now so each of 300 reads requests the data from the disc.

The race condition is covered with a unit-test, the buffer is flushednow so each of 300 reads requests the data from the disc.
@daniel-95daniel-95 requested a review fromkulaginmMay 4, 2022 14:57
src/data.c Outdated
/* read the block */
intread_len=fio_pread(in,page,blknum*BLCKSZ);
/* avoid re-reading once buffered data, see PBCKP-150 */
fflush(in);
Copy link
Contributor

Choose a reason for hiding this comment

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

Why here? It should be at the end of loop body, before next iteration.

Copy link
Contributor

Choose a reason for hiding this comment

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

And I didn't get:in could be remote or not?

@daniel-95daniel-95force-pushed thePBCKP-150_race_condition branch fromad21b30 tode8634dCompareMay 11, 2022 08:59
@kulaginmkulaginm added this to the2.5.6 milestoneMay 17, 2022
@kulaginmkulaginm changed the base branch frommaster torelease_2_5_6May 17, 2022 09:24
@kulaginmkulaginm removed their request for reviewMay 25, 2022 11:02
…use in lengthy testsadd description for new PG_PROBACKUP_LONG variableadding one test run of this test to travis
@kulaginmkulaginm merged commit68b77a0 intorelease_2_5_6May 25, 2022
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@funny-falconfunny-falconfunny-falcon approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

2.5.6

Development

Successfully merging this pull request may close these issues.

4 participants

@daniel-95@funny-falcon@kulaginm

[8]ページ先頭

©2009-2025 Movatter.jp