This is an automated email from the ASF dual-hosted git repository.
dataroaring pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new 7f1e3e48cdb [Fix](Tablet) Fix `Tablet::_meta_lock` shadows member
inherited from `BaseTablet` (#25693)
7f1e3e48cdb is described below
commit 7f1e3e48cdbae26d50a39cc134151705c4cb9602
Author: plat1ko <[email protected]>
AuthorDate: Fri Oct 20 18:36:20 2023 +0800
[Fix](Tablet) Fix `Tablet::_meta_lock` shadows member inherited from
`BaseTablet` (#25693)
---
be/src/olap/tablet.h | 4 ----
1 file changed, 4 deletions(-)
diff --git a/be/src/olap/tablet.h b/be/src/olap/tablet.h
index 8f3c71d06cc..4a074952ab9 100644
--- a/be/src/olap/tablet.h
+++ b/be/src/olap/tablet.h
@@ -634,10 +634,6 @@ private:
std::shared_mutex _migration_lock;
std::mutex _build_inverted_index_lock;
- // TODO(lingbin): There is a _meta_lock TabletMeta too, there should be a
comment to
- // explain how these two locks work together.
- mutable std::shared_mutex _meta_lock;
-
// In unique key table with MoW, we should guarantee that only one
// writer can update rowset and delete bitmap at the same time.
// We use a separate lock rather than _meta_lock, to avoid blocking read
queries
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]