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

[Bug]: Txn commit bug. #2170

Open
1 task done
small-turtle-1 opened this issue Nov 5, 2024 · 0 comments
Open
1 task done

[Bug]: Txn commit bug. #2170

small-turtle-1 opened this issue Nov 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@small-turtle-1
Copy link
Contributor

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Version or Commit ID

0daca36

Other environment information

bug in https://github.com/infiniflow/infinity/actions/runs/11663273438/job/32471372736

Actual behavior and How to reproduce it

reason: TxnTableStore::Commit is not commit as atomic operation.

bug happens in python/parallel_test/test_index_parallel.py: test_index_creation_deletion_parallel
possible reason:
consider following case:
thread1: recreate a dropped index and populate to existed data
thread2: insert a line
thread1@TxnTableStore::Commit first commit table_index_entry, then thread2@TableEntry::MemIndexInsert found not segment index entry and create new one. thread1 then commit another segment index entry. That's the bug.

Expected behavior

No response

Additional information

No response

@small-turtle-1 small-turtle-1 added the bug Something isn't working label Nov 5, 2024
@small-turtle-1 small-turtle-1 closed this as not planned Won't fix, can't repro, duplicate, stale Nov 5, 2024
@small-turtle-1 small-turtle-1 reopened this Nov 5, 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

1 participant