Conversation
There was a problem hiding this comment.
the problem seems to be related to hostname, if you change the hostname from e0- to random the test starts working.
The bug may be a test thing when the hostname is the same.
There was a problem hiding this comment.
ah good point. we should change e0- to -20 to match the shard name and make it unique.
There was a problem hiding this comment.
-20 also conflicts. I guess we should make it 0.
I tried that, the next error is
--- FAIL: TestExecutorMaxPayloadSizeExceeded (0.00s)
executor_test.go:1992:
Error Trace: executor_test.go:1992
Error: Not equal:
expected: <nil>(<nil>)
actual : *vterrors.fundamental(Code: NOT_FOUND
tablet aa-0000000010 not found
)
Test: TestExecutorMaxPayloadSizeExceeded
Messages: err should be nil
go/vt/vtgate/executor_dml_test.go
Outdated
There was a problem hiding this comment.
for failing test, the issue is due to a global session named primarySession getting used.
instead create a local session for those tests and use exec or executorExecSession instead of executorExec
There was a problem hiding this comment.
What I did instead is to not initialize primarySession when it is declared, but create it in each of the test env functions - createExecutorEnv etc. That seems to fix all the failures in this particular test.
|
let's re-open when we have time to spend on it |
Signed-off-by: deepthi <deepthi@planetscale.com>
Signed-off-by: deepthi <deepthi@planetscale.com>
… package Signed-off-by: deepthi <deepthi@planetscale.com>
3f5662e to
266af64
Compare
…teway Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
…t names Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
777a4ba to
faf0cd3
Compare
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
3c976f2 to
2475fb3
Compare
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
|
I will open a follow-up pull request rebased on top of this one to remove the |
…TabletUID Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
systay
left a comment
There was a problem hiding this comment.
I opened this PR, so I can't accept it, but it LGTM ⭐
Removing old code is the best ❤️
…teway Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
|
@deepthi in Link to the corresponding ToDo: |
Not deprecate, just change from exported -> not. All 6 flags below that comment should be reviewed to see if they are still being used outside |
Signed-off-by: Florent Poinsard <florent.poinsard@outlook.fr>
Description
This pull request removes the
DiscoveryGatewaystruct and related files. TheDiscoveryGatewayhas been our legacy gateway since the implementation of the newtabletgatewaythrough #6155.Related Issue(s)
Checklist