This is an automated email from the ASF dual-hosted git repository.
morningman pushed a commit to branch dev-1.1.2
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/dev-1.1.2 by this push:
new 1365e2b78e [dev-1.1.2][fix] Fix build failed for dev-1.1.2 (#12291)
1365e2b78e is described below
commit 1365e2b78e17085755fc036497a21580d6846b83
Author: weizuo93 <[email protected]>
AuthorDate: Fri Sep 2 12:48:25 2022 +0800
[dev-1.1.2][fix] Fix build failed for dev-1.1.2 (#12291)
introduced from #10721
---
be/src/olap/tablet_manager.cpp | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/be/src/olap/tablet_manager.cpp b/be/src/olap/tablet_manager.cpp
index 041124ea61..45e980cc98 100644
--- a/be/src/olap/tablet_manager.cpp
+++ b/be/src/olap/tablet_manager.cpp
@@ -163,12 +163,12 @@ OLAPStatus TabletManager::_add_tablet_unlocked(TTabletId
tablet_id, SchemaHash s
tablet->set_tablet_state(TABLET_SHUTDOWN);
tablet->save_meta();
{
- std::lock_guard<std::shared_mutex>
shutdown_tablets_wrlock(_shutdown_tablets_lock);
+ WriteLock shutdown_tablets_wrlock(_shutdown_tablets_lock);
_shutdown_tablets.push_back(tablet);
}
LOG(INFO) << "set tablet to shutdown state."
<< "tablet_id=" << tablet->tablet_id()
- << ", tablet_path=" << tablet->tablet_path();
+ << ", tablet_path=" <<
tablet->tablet_path_desc().debug_string();
res = OLAP_ERR_ENGINE_INSERT_OLD_TABLET;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]