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

prealloc fails in heavy load conditions (obj_pmalloc_mt test fails) #5587

Open
grom72 opened this issue Apr 20, 2023 · 0 comments
Open

prealloc fails in heavy load conditions (obj_pmalloc_mt test fails) #5587

grom72 opened this issue Apr 20, 2023 · 0 comments
Labels
libpmemobj src/libpmemobj Priority: 2 high Type: Bug A previously unknown bug in PMDK
Milestone

Comments

@grom72
Copy link
Contributor

grom72 commented Apr 20, 2023

ISSUE: prealloc fails in heavy load conditions

Environment Information

  • PMDK package version(s): 1.12
  • OS(es) version(s): all
  • ndctl version(s): 71.1
  • kernel version(s):
  • compiler, libraries, packaging and other related tools version(s):

Please provide a reproduction of the bug:

PR #5568 introduces verification if realloc operation succeeds.

		ret = prealloc(a->pop, &a->r->offs[a->idx][i],
							REALLOC_SIZE, 0, 0);
		UT_ASSERTeq(ret, 0);

With this modification, the test permanently fails on PMem setup.
https://github.com/pmem/pmdk/actions/runs/4604839665/jobs/8440844480?pr=5568

How often bug is revealed: always

Actual behavior:

prealloc fails in heavy load condition

Expected behavior:

realloc shall not fail

Details

Additional information about Priority and Help Requested:

Are you willing to submit a pull request with a proposed change? (Yes, No)

Requested priority: Medium

@grom72 grom72 added the Type: Bug A previously unknown bug in PMDK label Apr 20, 2023
@lukaszstolarczuk lukaszstolarczuk added the libpmemobj src/libpmemobj label Apr 20, 2023
@grom72 grom72 changed the title prealloc fails in heavy load conditions obj_pmalloc_mt test fails irregularly Apr 21, 2023
@grom72 grom72 added this to the 1.14 milestone May 15, 2023
@grom72 grom72 changed the title obj_pmalloc_mt test fails irregularly prealloc fails in heavy load conditions (obj_pmalloc_mt test fails) May 29, 2023
@janekmi janekmi modified the milestones: 2.0.0, 2.0.1 Jul 21, 2023
@janekmi janekmi modified the milestones: 2.0.1, 2.0.2 Nov 23, 2023
@janekmi janekmi modified the milestones: 2.1.0, 2.x Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
libpmemobj src/libpmemobj Priority: 2 high Type: Bug A previously unknown bug in PMDK
Projects
None yet
Development

No branches or pull requests

3 participants