This is an automated email from the ASF dual-hosted git repository.

zykkk 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 edd36fe86b [Chore](tablet) Remove unused BaseTablet::is_memory (#22688)
edd36fe86b is described below

commit edd36fe86b703d522fc8c24470b73f33c51ca7a9
Author: Jack Drogon <[email protected]>
AuthorDate: Tue Aug 8 16:42:59 2023 +0800

    [Chore](tablet) Remove unused BaseTablet::is_memory (#22688)
    
    Signed-off-by: Jack Drogon <[email protected]>
---
 be/src/olap/base_tablet.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/be/src/olap/base_tablet.h b/be/src/olap/base_tablet.h
index 164215989b..22f2045314 100644
--- a/be/src/olap/base_tablet.h
+++ b/be/src/olap/base_tablet.h
@@ -51,7 +51,6 @@ public:
     // Property encapsulated in TabletMeta
     const TabletMetaSharedPtr& tablet_meta();
 
-    bool is_memory() const;
     TabletUid tablet_uid() const;
     int64_t table_id() const;
     // Returns a string can be used to uniquely identify a tablet.
@@ -109,10 +108,6 @@ inline const TabletMetaSharedPtr& 
BaseTablet::tablet_meta() {
     return _tablet_meta;
 }
 
-inline bool BaseTablet::is_memory() const {
-    return _tablet_meta->tablet_type() == TabletTypePB::TABLET_TYPE_MEMORY;
-}
-
 inline TabletUid BaseTablet::tablet_uid() const {
     return _tablet_meta->tablet_uid();
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to