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

report nlink <= 0 when run tpc-ds test #2998

Open
madstorage opened this issue Mar 28, 2024 · 0 comments
Open

report nlink <= 0 when run tpc-ds test #2998

madstorage opened this issue Mar 28, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@madstorage
Copy link

Describe the bug (描述bug)

when run tpc-ds test, the rename operator return failed: -1, internal error!

the log print:
Unlink find nlink <= 0, nlink =

To Reproduce (复现方法)

multi client do rename dir operator parallel, the nlink of parent dir would bigger than expected, or do rename dir and create dir parallel, the nlink of parent dir would less than expected.

Expected behavior (期望行为)

nlink of parent dir, should correspond to it's sub dir after parallel operator!

Versions (各种版本)

OS: ubuntu22
Compiler: default
branch: release2.7
commit id: b125418

Additional context/screenshots (更多上下文/截图)

after rename operator, on client side to unlink src parent nlink is read-modify-write, which is not an atomic operator, conflict with create/remove dir or other client rename!

494995b51c862815cf7d05619db4186f
企业微信截图_17115214947443

@madstorage madstorage added the bug Something isn't working label Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants