-
Notifications
You must be signed in to change notification settings - Fork 85
Conversation
tests/_utils/run_services
Outdated
sleep 3 | ||
done | ||
|
||
echo "Starting PD..." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does mocktikv tidb
need pd
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's lightning needs pd to start
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can turn off --check-requirements
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay, let me try
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
when I removed pd-server, it seems lightning will try to get settings from tidb, then it will get this error:
[error="cannot decode settings from TiDB, please manually fill in `tidb.port` and `tidb.pd-addr`: json: cannot unmarshal bool into Go struct field Log.log.enable-slow-log of type uint32"]
seems tidb has changed log.EnableSlowLog from uint32 to bool in master
we need update tidb dependency in lightning first.
then use latest lightining
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ok, please file an issue to Lightning to track it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure,have filed an issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe I can keep pd-server here in this PR, leave TODO to remove it in the future. @kennytm after lightning fix the issue, I'll use another PR to fix it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found a proper version (v3.1.0.beta.1) that has no such problem. CI fixed PTAL
Co-Authored-By: kennytm <kennytm@gmail.com>
@@ -10,7 +10,7 @@ run_sql "create table t (a varchar(255))" | |||
chars_20="1111_0000_1111_0000_" | |||
|
|||
# insert 100 records, each occupies 20 bytes | |||
run_sql "insert into t values $(seq -s, 100 | sed "s/[0-9]\+/('$chars_20')/g")" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this shell can not run on mac OS, so change it
please remove |
|
||
# FIXME: change to latest version after lightning fix issue | ||
# https://github.com/pingcap/tidb-lightning/issues/277 | ||
TAG="v3.1.0-beta.1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it better to always use latest lightning?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
an available lightning is enough, this test aimed to test dumpling not lightning
Rest LGTM |
Co-Authored-By: Ian <ArGregoryIan@gmail.com>
* tests: add e2e test * fix ci * Update tests/_utils/check_sync_diff Co-Authored-By: kennytm <kennytm@gmail.com> * fix ci * fix ci * remove pd-server * fix ci * fix ci * fix ci * fix ci * debug ci * debug ci * fix ci * leave TODO * Update tests/_utils/check_sync_diff Co-Authored-By: Ian <ArGregoryIan@gmail.com> Co-authored-by: kennytm <kennytm@gmail.com> Co-authored-by: Ian <ArGregoryIan@gmail.com>
* tests: add e2e test * fix ci * Update tests/_utils/check_sync_diff Co-Authored-By: kennytm <kennytm@gmail.com> * fix ci * fix ci * remove pd-server * fix ci * fix ci * fix ci * fix ci * debug ci * debug ci * fix ci * leave TODO * Update tests/_utils/check_sync_diff Co-Authored-By: Ian <ArGregoryIan@gmail.com> Co-authored-by: kennytm <kennytm@gmail.com> Co-authored-by: Ian <ArGregoryIan@gmail.com>
* tests: add e2e test * fix ci * Update tests/_utils/check_sync_diff Co-Authored-By: kennytm <kennytm@gmail.com> * fix ci * fix ci * remove pd-server * fix ci * fix ci * fix ci * fix ci * debug ci * debug ci * fix ci * leave TODO * Update tests/_utils/check_sync_diff Co-Authored-By: Ian <ArGregoryIan@gmail.com> Co-authored-by: kennytm <kennytm@gmail.com> Co-authored-by: Ian <ArGregoryIan@gmail.com>
* tests: add e2e test * fix ci * Update tests/_utils/check_sync_diff Co-Authored-By: kennytm <kennytm@gmail.com> * fix ci * fix ci * remove pd-server * fix ci * fix ci * fix ci * fix ci * debug ci * debug ci * fix ci * leave TODO * Update tests/_utils/check_sync_diff Co-Authored-By: Ian <ArGregoryIan@gmail.com> Co-authored-by: kennytm <kennytm@gmail.com> Co-authored-by: Ian <ArGregoryIan@gmail.com>
* tests: add e2e test * fix ci * Update tests/_utils/check_sync_diff Co-Authored-By: kennytm <kennytm@gmail.com> * fix ci * fix ci * remove pd-server * fix ci * fix ci * fix ci * fix ci * debug ci * debug ci * fix ci * leave TODO * Update tests/_utils/check_sync_diff Co-Authored-By: Ian <ArGregoryIan@gmail.com> Co-authored-by: kennytm <kennytm@gmail.com> Co-authored-by: Ian <ArGregoryIan@gmail.com>
try to resolve #3, add an e2e test for dumpling.