You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by zh...@apache.org on 2020/07/24 15:33:29 UTC

[incubator-doris] branch imay-patch-1 created (now 9108a99)

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

zhaoc pushed a change to branch imay-patch-1
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git.


      at 9108a99  Let linked-schema change work for BETA tablet

This branch includes the following new commits:

     new 9108a99  Let linked-schema change work for BETA tablet

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org


[incubator-doris] 01/01: Let linked-schema change work for BETA tablet

Posted by zh...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

zhaoc pushed a commit to branch imay-patch-1
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git

commit 9108a999a045c00133a2361165db6dbe15719348
Author: Zhao Chun <bu...@gmail.com>
AuthorDate: Fri Jul 24 23:33:17 2020 +0800

    Let linked-schema change work for BETA tablet
    
    #4181
---
 be/src/olap/schema_change.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/be/src/olap/schema_change.cpp b/be/src/olap/schema_change.cpp
index 8dcd8d7..555a664 100644
--- a/be/src/olap/schema_change.cpp
+++ b/be/src/olap/schema_change.cpp
@@ -2141,7 +2141,7 @@ OLAPStatus SchemaChangeHandler::_parse_request(TabletSharedPtr base_tablet,
         *sc_directly = true;
     }
 
-    if (new_tablet->tablet_meta()->preferred_rowset_type() == BETA_ROWSET) {
+    if (base_tablet->tablet_meta()->preferred_rowset_type() != new_tablet->tablet_meta()->preferred_rowset_type()) {
         // if the default rowset type is alpha, and tablet meta has preferred_rowset_type
         // field set to BETA_ROWST, just use directly type
         *sc_directly = true;


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org