You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by GitBox <gi...@apache.org> on 2022/10/02 08:47:04 UTC

[GitHub] [doris] Cherry-Puppy opened a new issue, #13107: [Bug] 备份恢复的时候如果是多租户的恢复就会失败

Cherry-Puppy opened a new issue, #13107:
URL: https://github.com/apache/doris/issues/13107

   ### Search before asking
   
   - [X] I had searched in the [issues](https://github.com/apache/incubator-doris/issues?q=is%3Aissue) and found no similar issues.
   
   
   ### Version
   
   1.1.1-rc03
   
   ### What's Wrong?
   
   如果be划分了资源组,那么在恢复备份的时候会报错找不到be。
   ps: 
   alter system modify backend "host:9050" set ("tag.location" = "a");
   create table test
   (k1 int, k2 int)
   distributed by hash(k1) buckets 1
   properties(
       "replication_allocation"="tag.location.a:1"
   )
   备份的元数据如下
   <img width="536" alt="image" src="https://user-images.githubusercontent.com/46736583/193445861-e9a008e2-5de7-4abe-958b-e2cdabdff7d6.png">
   恢复的时候就会报错如下
   detailMessage = Failed to find 3 backends for policy: cluster|query|load|schedule|tags|medium: default_cluster|false|false|true|[{"location" : "default"}]|HDD
   原因:这时候be节点的tag.location为default而不是划分的a。
   
   ### What You Expected?
   
   当用户更改了分组之后,也能备份恢复成功。而不是用的默认 default 的 tag
   
   ### How to Reproduce?
   
   _No response_
   
   ### Anything Else?
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [X] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [doris] stalary commented on issue #13107: [Bug] 备份恢复的时候如果是多租户的恢复就会失败

Posted by GitBox <gi...@apache.org>.
stalary commented on issue #13107:
URL: https://github.com/apache/doris/issues/13107#issuecomment-1271331408

   I can help you implement it if you're not already doing it.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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


[GitHub] [doris] nextdreamblue commented on issue #13107: [Bug] 备份恢复的时候如果是多租户的恢复就会失败

Posted by GitBox <gi...@apache.org>.
nextdreamblue commented on issue #13107:
URL: https://github.com/apache/doris/issues/13107#issuecomment-1271565502

   on master branch,
   you can restore like this: 
   RESTORE SNAPSHOT test.test123 FROM xxxx ON ( test) PROPERTIES("backup_timestamp"="xxxxx","replication_num" = "1","reserve_replica"="true");
   
   use "reserve_replica"="true",can fix it.


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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