Skip to content

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

PavelShilin89
Copy link
Contributor

@PavelShilin89 PavelShilin89 commented Apr 16, 2025

Type of Change (select one):

  • New feature

Description of the Change:

Related Issue (provide the link):

Copy link

clt

❌ CLT tests in test/clt-tests/core/ test/clt-tests/expected-errors/
✅ OK: 42
❌ Failed: 1
⏳ Duration: 400s
👉 Check Action Results for commit a8235f2
Failed tests:

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/                                      |
+ +----------------------------+------------------------------------------------------------+

Copy link

clt

❌ CLT tests in test/clt-tests/core/ test/clt-tests/expected-errors/
✅ OK: 43
❌ Failed: 1
⏳ Duration: 410s
👉 Check Action Results for commit d665d36
Failed tests:

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/                                      |
+ +----------------------------+------------------------------------------------------------+

Copy link

github-actions bot commented May 6, 2025

clt

❌ CLT tests in test/clt-tests/core/ test/clt-tests/expected-errors/
✅ OK: 43
❌ Failed: 1
⏳ Duration: 433s
👉 Check Action Results for commit f5034bc
Failed tests:

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/                                      |
+ +----------------------------+------------------------------------------------------------+

Copy link

github-actions bot commented May 7, 2025

clt

❌ CLT tests in test/clt-tests/core/ test/clt-tests/expected-errors/
✅ OK: 44
❌ Failed: 1
⏳ Duration: 427s
👉 Check Action Results for commit c73fd85
Failed tests:

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/                                      |
+ +----------------------------+------------------------------------------------------------+

Copy link
Contributor

@donhardman donhardman left a 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants