kangpinghuang commented on a change in pull request #966: Set ref_tablet id 
when do alter task
URL: https://github.com/apache/incubator-doris/pull/966#discussion_r276893186
 
 

 ##########
 File path: be/test/olap/tablet_mgr_test.cpp
 ##########
 @@ -129,6 +130,10 @@ TEST_F(TabletMgrTest, CreateTablet) {
     // check dir exist
     bool dir_exist = check_dir_existed(tablet->tablet_path());
     ASSERT_TRUE(dir_exist);
+    // check meta has this tablet
+    TabletMetaSharedPtr new_tablet_meta(new TabletMeta());
 
 Review comment:
   ```suggestion
       TabletMetaSharedPtr new_tablet_meta(new(std::nothrow) TabletMeta());
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to