Skip to content

[Bug]: Description Failed to publish the db to tenant all. #9024

Closed

Description

@tianyahui-python

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Environment

- Version or commit-id (e.g. v0.1.0 or 8b23a93):b5e27c495847c08513755790e903611ea0e9ec4d
- Hardware parameters:
- OS type:
- Others:

Actual Behavior

create account test_tenant_1 admin_name 'test_account' identified by '111';
create account test_tenant_2 admin_name 'test_account' identified by '111';
create account test_tenant_3 admin_name 'test_account' identified by '111';
create account test_tenant_4 admin_name 'test_account' identified by '111';
create database db4;
use db4;
create table t4(a int);
mysql> create publication pubname3 database db4 account all comment 'publication to all tenant';
ERROR 1064 (HY000): SQL parser error: You have an error in your SQL syntax; check the manual that corresponds to your MatrixOne server version for the right syntax to use. syntax error at line 1 column 52 near " all comment 'publication to all tenant'";

Expected Behavior

tenant all should also support publication.

Steps to Reproduce

No response

Additional information

No response

Activity

  1. added
    kind/bug
    severity/s1
    on Apr 17, 2023
  2. added this to the V0.8.0 milestone on Apr 17, 2023
  3. added
    kind/bug
    and removed
    kind/bug
    on Apr 24, 2023
  4. YANGGMM commented on May 3, 2023

    @YANGGMM
    Contributor

    you can see the document @tianyahui-python , ACCOUNT,分享发布给目标租户的完整列表,创建时缺省则分享给所有租户,分享给所有租户时,新建的租户同样生效。而且也有相应的测试用例你可以看一下。

  5. 8 remaining items

  6. tianyahui-python commented on Jun 5, 2023

    @tianyahui-python
    ContributorAuthor

    create publication pbname database db1 account all,其中account all这个部分会在0.9去实现

    这个期望的行为应该是什么 @domingozhang
    这个现在是按照什么逻辑实现的 @YANGGMM

    这个all现在是按所有的逻辑处理的 还是按 account name 逻辑来处理的

  7. tianyahui-python commented on Jun 5, 2023

    @tianyahui-python
    ContributorAuthor

    走到qa的issue, 尽可能的要说明具体的情况, 或者对应的链接文档 @YANGGMM

  8. YANGGMM commented on Jun 12, 2023

    @YANGGMM
    Contributor

    目前,all是按所有的逻辑处理的 @tianyahui-python

  9. tianyahui-python commented on Jun 12, 2023

    @tianyahui-python
    ContributorAuthor

    sys tenant:
    截屏2023-06-12 17 44 13

    test_tenant_1:
    截屏2023-06-12 17 44 25

  10. tianyahui-python commented on Jun 12, 2023

    @tianyahui-python
    ContributorAuthor

    bug not fixed

  11. YANGGMM commented on Jul 5, 2023

    @YANGGMM
    Contributor

    because you not subscribe the publication, you can not get the database. @tianyahui-python

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

kind/bugseverity/s1

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions