-
-
Notifications
You must be signed in to change notification settings - Fork 591
Created test-autosharding-outage-rebalancing.rec #3304
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
base: master
Are you sure you want to change the base?
Conversation
clt❌ CLT tests in test/clt-tests/core/show-settings.rec––– input –––
export INSTANCE=1
––– output –––
OK
––– input –––
mkdir -p /var/{run,lib,log}/manticore-${INSTANCE}
––– output –––
OK
––– input –––
stdbuf -oL searchd -c test/clt-tests/base/searchd-with-flexible-ports.conf > /dev/null
––– output –––
OK
––– input –––
if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore-${INSTANCE}/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore-${INSTANCE}/searchd.log; exit 1; fi
––– output –––
OK
––– input –––
mysql -h0 -P1306 -e "SHOW SETTINGS;"
––– output –––
- | searchd.binlog_path | /var/log/manticore-1/binlog |
+ | searchd.watchdog | 0 |
- | common.plugin_dir | /usr/local/lib/manticore |
+ | searchd.binlog_path | /var/log/manticore-1/binlog |
- | common.lemmatizer_base | /usr/share/manticore/ |
+ | common.plugin_dir | /usr/local/lib/manticore |
- +----------------------------+------------------------------------------------------------+
+ | common.lemmatizer_base | /usr/share/manticore/ |
+ +----------------------------+------------------------------------------------------------+
|
clt❌ CLT tests in test/clt-tests/core/show-settings.rec––– input –––
export INSTANCE=1
––– output –––
OK
––– input –––
mkdir -p /var/{run,lib,log}/manticore-${INSTANCE}
––– output –––
OK
––– input –––
stdbuf -oL searchd -c test/clt-tests/base/searchd-with-flexible-ports.conf > /dev/null
––– output –––
OK
––– input –––
if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore-${INSTANCE}/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore-${INSTANCE}/searchd.log; exit 1; fi
––– output –––
OK
––– input –––
mysql -h0 -P1306 -e "SHOW SETTINGS;"
––– output –––
- | searchd.binlog_path | /var/log/manticore-1/binlog |
+ | searchd.watchdog | 0 |
- | common.plugin_dir | /usr/local/lib/manticore |
+ | searchd.binlog_path | /var/log/manticore-1/binlog |
- | common.lemmatizer_base | /usr/share/manticore/ |
+ | common.plugin_dir | /usr/local/lib/manticore |
- +----------------------------+------------------------------------------------------------+
+ | common.lemmatizer_base | /usr/share/manticore/ |
+ +----------------------------+------------------------------------------------------------+
|
clt❌ CLT tests in test/clt-tests/core/show-settings.rec––– input –––
export INSTANCE=1
––– output –––
OK
––– input –––
mkdir -p /var/{run,lib,log}/manticore-${INSTANCE}
––– output –––
OK
––– input –––
stdbuf -oL searchd -c test/clt-tests/base/searchd-with-flexible-ports.conf > /dev/null
––– output –––
OK
––– input –––
if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore-${INSTANCE}/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore-${INSTANCE}/searchd.log; exit 1; fi
––– output –––
OK
––– input –––
mysql -h0 -P1306 -e "SHOW SETTINGS;"
––– output –––
- | searchd.binlog_path | /var/log/manticore-1/binlog |
+ | searchd.watchdog | 0 |
- | common.plugin_dir | /usr/local/lib/manticore |
+ | searchd.binlog_path | /var/log/manticore-1/binlog |
- | common.lemmatizer_base | /usr/share/manticore/ |
+ | common.plugin_dir | /usr/local/lib/manticore |
- +----------------------------+------------------------------------------------------------+
+ | common.lemmatizer_base | /usr/share/manticore/ |
+ +----------------------------+------------------------------------------------------------+
|
clt❌ CLT tests in test/clt-tests/core/show-settings.rec––– input –––
export INSTANCE=1
––– output –––
OK
––– input –––
mkdir -p /var/{run,lib,log}/manticore-${INSTANCE}
––– output –––
OK
––– input –––
stdbuf -oL searchd -c test/clt-tests/base/searchd-with-flexible-ports.conf > /dev/null
––– output –––
OK
––– input –––
if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore-${INSTANCE}/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore-${INSTANCE}/searchd.log; fi
––– output –––
OK
––– input –––
mysql -h0 -P1306 -e "SHOW SETTINGS;"
––– output –––
- | searchd.binlog_path | /var/log/manticore-1/binlog |
+ | searchd.watchdog | 0 |
- | common.plugin_dir | /usr/local/lib/manticore |
+ | searchd.binlog_path | /var/log/manticore-1/binlog |
- | common.lemmatizer_base | /usr/share/manticore/ |
+ | common.plugin_dir | /usr/local/lib/manticore |
- +----------------------------+------------------------------------------------------------+
+ | common.lemmatizer_base | /usr/share/manticore/ |
+ +----------------------------+------------------------------------------------------------+
|
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.
Let's add a test that makes sure that when a NODE is returned and/or when a NODE is added to the cluster, rebalancing happens to it.
Test on test kit: test-kit-fix-sharding-rebalacing-on-new-node
Type of Change (select one):
Description of the Change:
Related Issue (provide the link):