Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test issue 16709 based 1.2 dev #19008

Open
wants to merge 3 commits into
base: 1.2-dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion pkg/vm/engine/disttae/engine.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ import (
"sync"
"time"

"github.com/panjf2000/ants/v2"

"github.com/matrixorigin/matrixone/pkg/catalog"
"github.com/matrixorigin/matrixone/pkg/clusterservice"
"github.com/matrixorigin/matrixone/pkg/common/moerr"
Expand Down Expand Up @@ -54,7 +56,6 @@ import (
"github.com/matrixorigin/matrixone/pkg/vm/engine/disttae/route"
"github.com/matrixorigin/matrixone/pkg/vm/engine/tae/blockio"
"github.com/matrixorigin/matrixone/pkg/vm/process"
"github.com/panjf2000/ants/v2"
)

var _ engine.Engine = new(Engine)
Expand Down Expand Up @@ -522,6 +523,12 @@ func (e *Engine) GetRelationById(ctx context.Context, op client.TxnOperator, tab
logutil.Errorf("tables: %v, tableIds: %v", tbls, tblIds)
util.CoreDump()
}
logutil.Infof("can not find table by id %d: accountId: %v, txn:%s, isSnapOp:%v",
tableId,
accountId,
txn.op.Txn().DebugString(),
txn.op.IsSnapOp(),
)
return "", "", nil, moerr.NewInternalErrorf(ctx, "can not find table by id %d: accountId: %v ", tableId, accountId)
}
return
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
-- @bvt:issue#16709
drop account if exists acc01;
create account acc01 admin_name = 'test_account' identified by '111';

Expand Down Expand Up @@ -376,4 +375,3 @@ drop database if exists Projects;
drop database if exists Company;

drop snapshot snapshot_01;
-- @bvt:issue
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
-- @bvt:issue#16709
drop account if exists acc01;
create account acc01 admin_name = 'test_account' identified by '111';
drop account if exists acc02;
Expand Down Expand Up @@ -203,4 +202,3 @@ drop database acc_test03;
drop snapshot sp04;
drop account acc01;
drop account acc02;
-- @bvt:issue
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
-- @bvt:issue#16709
drop account if exists acc01;
create account acc01 admin_name = 'test_account' identified by '111';

Expand Down Expand Up @@ -615,4 +614,3 @@ drop snapshot sp105;
drop account acc01;
drop account acc02;
drop account acc03;
-- @bvt:issue#16709
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
-- @bvt:issue#16709
set global enable_privilege_cache = off;
drop account if exists acc01;
create account acc01 admin_name = 'test_account' identified by '111';
Expand Down Expand Up @@ -557,4 +556,3 @@ drop role r5;
drop snapshot sp03;
drop account acc01;
drop account acc02;
-- @bvt:issue
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
-- @bvt:issue#16709
drop account if exists acc01;
create account acc01 admin_name = 'test_account' identified by '111';

Expand Down Expand Up @@ -368,5 +367,4 @@ drop snapshot sp03;
drop database test01;
-- @session

drop account acc01;
-- @bvt:issue
drop account acc01;
Loading