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

Fix SIGABRT caused by uninitialized mutex (#296) #298

Merged
merged 1 commit into from
Jul 7, 2022

Conversation

ethercflow
Copy link
Member

  • Fix SIGABRT caused by uninitialized mutex

Signed-off-by: Wenbo Zhang [email protected]

  • Use spinlock instead of mutex to reduce writer ctor cost

Signed-off-by: Wenbo Zhang [email protected]

  • Update db/write_thread.h

Co-authored-by: Xinye Tao [email protected]
Signed-off-by: Wenbo Zhang [email protected]

Co-authored-by: Xinye Tao [email protected]

* Fix SIGABRT caused by uninitialized mutex

Signed-off-by: Wenbo Zhang <[email protected]>

* Use spinlock instead of mutex to reduce writer ctor cost

Signed-off-by: Wenbo Zhang <[email protected]>

* Update db/write_thread.h

Co-authored-by: Xinye Tao <[email protected]>
Signed-off-by: Wenbo Zhang <[email protected]>

Co-authored-by: Xinye Tao <[email protected]>
Signed-off-by: Wenbo Zhang <[email protected]>
@tabokie tabokie merged commit 9bb7147 into tikv:6.29.tikv Jul 7, 2022
v01dstar added a commit to v01dstar/rocksdb that referenced this pull request May 19, 2024
Implement multi batches write

Signed-off-by: v01dstar <[email protected]>

Fix SIGABRT caused by uninitialized mutex (tikv#296) (tikv#298)

* Fix SIGABRT caused by uninitialized mutex

Signed-off-by: Wenbo Zhang <[email protected]>

* Use spinlock instead of mutex to reduce writer ctor cost

Signed-off-by: Wenbo Zhang <[email protected]>

* Update db/write_thread.h

Co-authored-by: Xinye Tao <[email protected]>
Signed-off-by: Wenbo Zhang <[email protected]>

Co-authored-by: Xinye Tao <[email protected]>
Signed-off-by: Wenbo Zhang <[email protected]>

Co-authored-by: Xinye Tao <[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