Skip to content

Updating all blocks in the daemon stop startup #3191

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

Merged
merged 17 commits into from
Mar 13, 2025
Merged

Conversation

PavelShilin89
Copy link
Contributor

Update all daemon start and stop blocks, to avoid unnecessary library load checks or running buddy where it is not needed.

Copy link

clt

❌ CLT tests in test/clt-tests/plugins/
✅ OK: 0
❌ Failed: 1
⏳ Duration: 10s
👉 Check Action Results for commit afda0da
Failed tests:

test/clt-tests/plugins/test-enable-disable-buddy-plugin.rec
––– input –––
rm -f /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait > /dev/null; stdbuf -oL searchd > /dev/null
––– output –––
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
mysql -h0 -P9306 -e "SHOW QUERIES\G"|grep "1. row"
––– output –––
*************************** 1. row ***************************
––– input –––
mysql -h0 -P9306 -e "DISABLE BUDDY PLUGIN manticoresoftware/buddy-plugin-show"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW QUERIES"
––– output –––
ERROR 1064 (42000) at line 1: Plugin 'show' is disabled
––– input –––
mysql -h0 -P9306 -e "ENABLE BUDDY PLUGIN manticoresoftware/buddy-plugin-show"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW QUERIES\G"|grep "1. row"
––– output –––
*************************** 1. row ***************************
––– input –––
mysql -h0 -P9306 -e "create table t (id bigint, vector float_vector knn_type='hnsw' knn_dims='4' hnsw_similarity='l2')"
––– output –––
+ ERROR 1064 (42000) at line 1: error adding table 't': knn library not loaded
––– input –––
mysql -h0 -P9306 -e "select id, knn_dist() from t where knn ( image_vector, 5, 1 );"
––– output –––
+ ERROR 1064 (42000) at line 1: unknown local table(s) 't' in search request
––– input –––
mysql -h0 -P9306 -e "DISABLE BUDDY PLUGIN manticoresoftware/buddy-plugin-knn"
––– output –––
––– input –––
mysql -h0 -P9306 -e "select id, knn_dist() from t where knn ( image_vector, 5, 1 );"
––– output –––
ERROR 1064 (42000) at line 1: Plugin 'knn' is disabled
––– input –––
mysql -h0 -P9306 -e "ENABLE BUDDY PLUGIN manticoresoftware/buddy-plugin-knn"
––– output –––
––– input –––
mysql -h0 -P9306 -e "select id, knn_dist() from t where knn ( image_vector, 5, 1 );"
––– output –––
+ ERROR 1064 (42000) at line 1: unknown local table(s) 't' in search request

Copy link

clt

❌ CLT tests in test/clt-tests/replication/
✅ OK: 1
❌ Failed: 1
⏳ Duration: 40s
👉 Check Action Results for commit afda0da
Failed tests:

test/clt-tests/replication/test-cluster-creation-without-replication.rec
––– input –––
sed -i -e '/listen = 127.0.0.1:9312/d' -e '/listen = 127.0.0.1:9308:http/d' /etc/manticoresearch/manticore.conf
––– output –––
––– input –––
stdbuf -oL searchd
––– output –––
~ Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION}7.4.7 afda0da46@25031121 dev (columnar 4.1.2 89795db@25030113) (secondary 4.1.2 89795db@25030113)
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
~ [#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...Tue Mar 11 22:04:46.029 2025] [20] WARNING: Error initializing knn index: daemon requires knn library v4 (trying to load v3)
~ starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' [Tue Mar 11 22:04:46.054 2025] [20] using config file '/etc/manticoresearch/manticore.conf' (212 chars)...
- listening on 127.0.0.1:9306 for mysql
+ starting daemon version '7.4.7 afda0da46@25031121 dev (columnar 4.1.2 89795db@25030113) (secondary 4.1.2 89795db@25030113)' ...
+ listening on 127.0.0.1:9306 for mysql
––– input –––
mysql -h0 -P9306 -e "create cluster c"
––– output –––
ERROR 1064 (42000) at line 1: can not create cluster 'c': no 'listen' is found, cannot set incoming addresses, replication is disabled

Copy link

clt

❌ CLT tests in test/clt-tests/optimisation-and-update/
✅ OK: 0
❌ Failed: 1
⏳ Duration: 74s
👉 Check Action Results for commit afda0da
Failed tests:

test/clt-tests/optimisation-and-update/test-optimisation-and-update.rec
––– input –––
rm -f /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait > /dev/null; stdbuf -oL searchd > /dev/null
––– output –––
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y bc > /dev/null; echo $?
––– output –––
debconf: delaying package configuration, since apt-utils is not installed
0
––– input –––
chmod +x ./test/clt-tests/scripts/load_names_attr.php > /dev/null; echo $?
––– output –––
0
––– input –––
php -d memory_limit=2G ./test/clt-tests/scripts/load_names_attr.php --batch-size=100000 --concurrency=4 --docs=2000000 --start-id=1 --drop-table > /dev/null; echo $?
––– output –––
0
––– input –––
mysql -h0 -P9306 -e "FLUSH RAMCHUNK name;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "OPTIMIZE TABLE name OPTION sync=1, cutoff=2;"
––– output –––
––– input –––
sleep 1 && mysql -h0 -P9306 -e "show table name status like '%chunk%';"
––– output –––
+--------------------------+-------+
| Variable_name            | Value |
+--------------------------+-------+
| ram_chunk                | 0     |
| ram_chunk_segments_count | 0     |
| disk_chunks              | 2     |
+--------------------------+-------+
––– input –––
mysql -h0 -P9306 -e "SELECT COUNT(*) FROM name;"
––– output –––
+----------+
| count(*) |
+----------+
|  2000000 |
+----------+
––– input –––
php -d memory_limit=2G ./test/clt-tests/scripts/load_names_attr.php --batch-size=100000 --concurrency=4 --docs=2000000 --start-id=2000001 --no-drop-table > /dev/null; echo $?
––– output –––
0
––– input –––
mysql -h0 -P9306 -e "FLUSH RAMCHUNK name;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "OPTIMIZE TABLE name OPTION sync=1, cutoff=2;"
––– output –––
––– input –––
sleep 5 && mysql -h0 -P9306 -e "show table name status like '%chunk%';"
––– output –––
+--------------------------+-------+
| Variable_name            | Value |
+--------------------------+-------+
| ram_chunk                | 0     |
| ram_chunk_segments_count | 0     |
| disk_chunks              | 2     |
+--------------------------+-------+
––– input –––
mysql -h0 -P9306 -e "SELECT COUNT(*) FROM name;"
––– output –––
+----------+
| count(*) |
+----------+
|  4000000 |
+----------+
––– input –––
rm -f /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait > /dev/null; stdbuf -oL searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
~ Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION}7.4.7 afda0da46@25031121 dev (columnar 4.1.2 89795db@25030113) (secondary 4.1.2 89795db@25030113)
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
~ [#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...Tue Mar 11 22:05:16.727 2025] [312] WARNING: Error initializing knn index: daemon requires knn library v4 (trying to load v3)
~ starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' [Tue Mar 11 22:05:16.753 2025] [312] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '7.4.7 afda0da46@25031121 dev (columnar 4.1.2 89795db@25030113) (secondary 4.1.2 89795db@25030113)' ...
~ listening on %{IPADDR}:9306 for mysql127.0.0.1:9312 for sphinx and http(s)
~ listening on %{IPADDR}:9308 for sphinx and http(s)127.0.0.1:9306 for mysql
- precaching table 'name'
+ listening on 127.0.0.1:9308 for sphinx and http(s)
~ precached 1 tables in #!/[0-9]{1}.[0-9]{3}/!# secing table 'name'
- Buddy started!
+ precached 1 tables in 0.004 sec
+ Buddy started!
––– input –––
mysql -h0 -P9306 -e "SHOW TABLES;"
––– output –––
+-------+------+
| Table | Type |
+-------+------+
| name  | rt   |
+-------+------+
––– input –––
mysql -h0 -P9306 -e "show table name status like '%chunk%';"
––– output –––
+--------------------------+-------+
| Variable_name            | Value |
+--------------------------+-------+
| ram_chunk                | 0     |
| ram_chunk_segments_count | 0     |
| disk_chunks              | 2     |
+--------------------------+-------+
––– input –––
mysql -h0 -P9306 -e "select * from name ORDER BY id ASC LIMIT 5;"
––– output –––
+------+----------------+------+
| id   | username       | s    |
+------+----------------+------+
|    1 | TARRA NORTH    | a    |
|    2 | CARSON BALL    | a    |
|    3 | TALIA TEAGUE   | a    |
|    4 | ALAYNA KIMBALL | a    |
|    5 | ZULMA RINEHART | a    |
+------+----------------+------+
––– input –––
start_optimize=$(date +%s); time mysql -h0 -P9306 -e "OPTIMIZE TABLE name OPTION sync=1, cutoff=1;" &
––– output –––
––– input –––
sleep 2 && start_update=$(date +%s); time_taken_update=$( { time mysql -h0 -P9306 -e "UPDATE name SET s='b' WHERE id=1;" > /dev/null 2>&1; } 2>&1 | grep real | awk '{print $2}'); update_duration=$(echo "$time_taken_update" | awk -F'm' '{print ($1 * 60) + $2}'); if (( $(echo "$update_duration > 1" | bc -l) )); then echo "FAIL: Update took longer than 1 second!"; exit 1; else echo "Update completed within acceptable time."; fi
––– output –––
Update completed within acceptable time.
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE s='b' ORDER BY id ASC LIMIT 5;"
––– output –––
+------+-------------+------+
| id   | username    | s    |
+------+-------------+------+
|    1 | TARRA NORTH | b    |
+------+-------------+------+
––– input –––
start_update=$(date +%s); time_taken_update=$( { time mysql -h0 -P9306 -e "UPDATE name SET s=123 WHERE id=1;" > /dev/null 2>&1; } 2>&1 | grep real | awk '{print $2}'); update_duration=$(echo "$time_taken_update" | awk -F'm' '{print ($1 * 60) + $2}'); if (( $(echo "$update_duration > 1" | bc -l) )); then echo "FAIL: Update took longer than 1 second!"; exit 1; else echo "Update completed within acceptable time."; fi
––– output –––
Update completed within acceptable time.
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE s='b' ORDER BY id ASC LIMIT 5;"
––– output –––
+------+-------------+------+
| id   | username    | s    |
+------+-------------+------+
|    1 | TARRA NORTH | b    |
+------+-------------+------+
––– input –––
start_update=$(date +%s); time_taken_update=$( { time mysql -h0 -P9306 -e "UPDATE name SET s='b' WHERE id > 0;" > /dev/null 2>&1; } 2>&1 | grep real | awk '{print $2}'); update_duration=$(echo "$time_taken_update" | awk -F'm' '{print ($1 * 60) + $2}'); if (( $(echo "$update_duration > 3" | bc -l) )); then echo "FAIL: Update took longer than 3 seconds!"; false; else echo "Update completed within acceptable time."; fi
––– output –––
Update completed within acceptable time.
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE s='b' ORDER BY id ASC LIMIT 5;"
––– output –––
+------+----------------+------+
| id   | username       | s    |
+------+----------------+------+
|    1 | TARRA NORTH    | b    |
|    2 | CARSON BALL    | b    |
|    3 | TALIA TEAGUE   | b    |
|    4 | ALAYNA KIMBALL | b    |
|    5 | ZULMA RINEHART | b    |
+------+----------------+------+
––– input –––
start_update=$(date +%s); time_taken_update=$(mysql -h0 -P9306 -e "UPDATE name SET unknown='b' WHERE id=1;" 2>&1); update_duration=$(( $(date +%s) - start_update )); [[ "$time_taken_update" == *"ERROR"* ]] && echo "$time_taken_update"; if (( update_duration <= 1 )); then echo "The command is completed within a reasonable time frame."; else echo "FAIL: Update took longer than 1 second!"; false; fi
––– output –––
ERROR 1064 (42000) at line 1: table name: attribute 'unknown' not found
The command is completed within a reasonable time frame.
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE s='b' ORDER BY id ASC LIMIT 5;"
––– output –––
+------+----------------+------+
| id   | username       | s    |
+------+----------------+------+
|    1 | TARRA NORTH    | b    |
|    2 | CARSON BALL    | b    |
|    3 | TALIA TEAGUE   | b    |
|    4 | ALAYNA KIMBALL | b    |
|    5 | ZULMA RINEHART | b    |
+------+----------------+------+
––– input –––
{ command time wait > /dev/null 2>&1; } 2>&1 | grep -v "real" | grep -v "user" | grep -v "sys"; end_optimize=$(date +%s); optimize_duration=$((end_optimize - start_optimize)); echo "OPTIMIZE duration: $optimize_duration seconds"
––– output –––
OPTIMIZE duration: %{NUMBER} seconds

Copy link

clt

❌ CLT tests in test/clt-tests/buddy/
✅ OK: 4
❌ Failed: 4
⏳ Duration: 107s
👉 Check Action Results for commit afda0da
Failed tests:

test/clt-tests/buddy/test-knn-search-by-doc-id.rec
––– input –––
rm -f /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait > /dev/null; stdbuf -oL searchd > /dev/null
––– output –––
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
curl -s localhost:9308/cli -d "create table test ( test_vector float_vector knn_type='hnsw' knn_dims='2' hnsw_similarity='l2' )" > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
curl -s localhost:9308/cli -d 'insert into test values ( 2, (0.2,0.3) ), ( 3, (0.2,0.7) ), ( 4, (0.3,0.5) ), ( 5, (0.5,0.5) ), ( 6, (0.7,0.2) ), ( 10, (0.9,0.9) )' > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
curl -s localhost:9308/search -d '{"index":"test","knn":{"field":"test_vector","doc_id":3,"k":5}}'; echo $?
––– output –––
~ {"took":%{NUMBER},"timed_out":false,"hits":{"total":%{NUMBER},"total_relation":"eq","hits":[{"_id":%{NUMBER},"_score":%{NUMBER},"_knn_dist":#!/[0-9]{1}.[0-9]{2}/!#,"_source":{"test_vector":[#!/[0-9]{1}.[0-9],[0-9]{1}.[0-9]/!#]}},{"_id":%{NUMBER},"_score":%{NUMBER},"_knn_dist":#!/[0-9]{1}.[0-9]{2}/!#,"_source":{"test_vector":[#!/[0-9]{1}.[0-9],[0-9]{1}.[0-9]/!#]}},{"_id":%{NUMBER},"_score":%{NUMBER},"_knn_dist":#!/[0-9]{1}.[0-9]+/!#,"_source":{"test_vector":[#!/[0-9]{1}.[0-9],[0-9]{1}.[0-9]/!#]}},{"_id":%{NUMBER},"_score":%{NUMBER},"_knn_dist":#!/[0-9]{1}.[0-9]{1}/!#,"_source":{"test_vector":[#!/[0-9]{1}.[0-9],[0-9]{1}.[0-9]/!#]}},{"_id":%{NUMBER},"_score":%{NUMBER},"_knn_dist":#!/[0-9]{1}.[0-9]{2}/!#,"_source":{"test_vector":[#!/[0-9]{1}.[0-9],[0-9]{1}.[0-9]/!#]}}]}error":"unknown local table(s) 'test' in search request"}0
test/clt-tests/buddy/test-inconsistency-in-error-messages.rec
––– input –––
echo -e 'common {\n\tplugin_dir = /usr/local/lib/manticore\n\tlemmatizer_base = /usr/share/manticore/morph/\n}\n\nsearchd {\n\tlisten = 9306:mysql41\n\tlisten = 9312\n\tlisten = 9308:http\n\tlog = /var/log/manticore/searchd.log\n\tquery_log = /var/log/manticore/query.log\n\tpid_file = /var/log/manticore/searchd.pid\n\tdata_dir = /var/log/manticore\n\tquery_log_format = sphinxql\n\tquery_log_commands = 1\n\tbuddy_path =\n}\n' > manticore.conf
––– output –––
––– input –––
stdbuf -oL searchd --config ./manticore.conf
––– output –––
~ Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION}7.4.7 afda0da46@25031121 dev (columnar 4.1.2 89795db@25030113) (secondary 4.1.2 89795db@25030113)
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
~ [#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/.clt/manticore.conf' (%{NUMBER} chars)...Tue Mar 11 22:05:48.782 2025] [19] WARNING: Error initializing knn index: daemon requires knn library v4 (trying to load v3)
~ starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' [Tue Mar 11 22:05:48.807 2025] [19] using config file '/.clt/manticore.conf' (390 chars)...
- listening on all interfaces for mysql, port=9306
+ starting daemon version '7.4.7 afda0da46@25031121 dev (columnar 4.1.2 89795db@25030113) (secondary 4.1.2 89795db@25030113)' ...
~ listening on all interfaces for sphinx and http(s), port=9312mysql, port=9306
~ listening on all interfaces for sphinx and http(s), port=930812
+ listening on all interfaces for sphinx and http(s), port=9308
––– input –––
mysql -h0 -P9306 -e "drop table if exists a; drop table if exists test; create table a (id BIGINT, model TEXT, storage_capacity INTEGER, color string, release_year INTEGER, price FLOAT, discounted_price FLOAT, sold BOOL, date_added TIMESTAMP, product_codes MULTI, values MULTI64, additional_info JSON, vector float_vector knn_type='hnsw' knn_dims='4' hnsw_similarity='l2');create table test type='distributed' local='a';"
––– output –––
+ ERROR 1064 (42000) at line 1: error adding table 'a': knn library not loaded
––– input –––
for i in {1..100}; do response=$(curl -s -X POST http://localhost:9308/insert -d '{"table": "test", "id": 1, "doc": {"model": "iPhone 13 Pro", "storage_capacity": 256, "color": "silver", "release_year": 2021, "price": 1099.99, "discounted_price": 989.99, "sold": 1, "date_added": 1591362342000, "product_codes": [1,2,3], "values": [523456764345678976,98765409877866654098,1109876543450987650987], "additional_info": {"features": ["ProMotion display", "A15 Bionic chip", "Ceramic Shield front cover"]}, "vector": [0.773448,0.312478,0.137971,0.459821]}}'); if [[ "$response" != *'"error":{"type":"action_request_validation_exception","reason":"table '\''test'\'' does not support INSERT","table":"test"},"status":409'* ]]; then echo "Mismatch found at iteration $i: $response"; exit 1; fi; done; echo "All 100 requests returned the same error"
––– output –––
- All 100 requests returned the same error
+ Mismatch found at iteration 1: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 2: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 3: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 4: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 5: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 6: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 7: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 8: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 9: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 10: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 11: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 12: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 13: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 14: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 15: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 16: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 17: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 18: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 19: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 20: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 21: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 22: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 23: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 24: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 25: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 26: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 27: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 28: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 29: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 30: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 31: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 32: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 33: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 34: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 35: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 36: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 37: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 38: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 39: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 40: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 41: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 42: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 43: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 44: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 45: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 46: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 47: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 48: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 49: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 50: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 51: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 52: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 53: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 54: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 55: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 56: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 57: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 58: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 59: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 60: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 61: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 62: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 63: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 64: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 65: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 66: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 67: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 68: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 69: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 70: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 71: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 72: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 73: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 74: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 75: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 76: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 77: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 78: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 79: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 80: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 81: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 82: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 83: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 84: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 85: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 86: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 87: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 88: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 89: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 90: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 91: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 92: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 93: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 94: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 95: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 96: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 97: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 98: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 99: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ Mismatch found at iteration 100: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 11: exit: command not found
+ All 100 requests returned the same error
test/clt-tests/buddy/test-inconsistent-comunication-with-buddy.rec
––– input –––
rm -f /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait > /dev/null; stdbuf -oL searchd > /dev/null
––– output –––
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
apt-get install jq -y > /dev/null; echo $?
––– output –––
debconf: delaying package configuration, since apt-utils is not installed
0
––– input –––
curl -s -X POST "http://localhost:9308/sql?mode=raw" -d "query=SHOW TABLES"; echo
––– output –––
[{
"columns":[{"Table":{"type":"string"}},{"Type":{"type":"string"}}],
"data":[
],
"total":%{NUMBER},
"error":"",
"warning":""
}]
––– input –––
curl -s "http://localhost:9308/sql?mode=raw&query=SHOW%20TABLES"; echo
––– output –––
[{
"columns":[{"Table":{"type":"string"}},{"Type":{"type":"string"}}],
"data":[
],
"total":%{NUMBER},
"error":"",
"warning":""
}]
––– input –––
curl -s -X POST "http://localhost:9308/sql?raw_response=true" -d "query=SHOW TABLES"; echo
––– output –––
[{
"columns":[{"Table":{"type":"string"}},{"Type":{"type":"string"}}],
"data":[
],
"total":%{NUMBER},
"error":"",
"warning":""
}]
––– input –––
curl -s "http://localhost:9308/sql?raw_response=true&query=SHOW%20TABLES"; echo
––– output –––
[{
"columns":[{"Table":{"type":"string"}},{"Type":{"type":"string"}}],
"data":[
],
"total":%{NUMBER},
"error":"",
"warning":""
}]
––– input –––
curl -s -X POST "http://localhost:9308/sql?mode=raw" -d "query=SHOW VARIABLES"; echo
––– output –––
[{
"columns":[{"Variable_name":{"type":"string"}},{"Value":{"type":"string"}}],
"data":[
{"Variable_name":"autocommit","Value":"%{NUMBER}"},
{"Variable_name":"auto_optimize","Value":"%{NUMBER}"},
{"Variable_name":"optimize_cutoff","Value":"%{NUMBER}"},
{"Variable_name":"collation_connection","Value":"libc_ci"},
{"Variable_name":"query_log_format","Value":"sphinxql"},
{"Variable_name":"session_read_only","Value":"%{NUMBER}"},
{"Variable_name":"log_level","Value":"info"},
{"Variable_name":"max_allowed_packet","Value":"134217728"},
{"Variable_name":"character_set_client","Value":"utf8"},
{"Variable_name":"character_set_connection","Value":"utf8"},
{"Variable_name":"grouping_in_utc","Value":"%{NUMBER}"},
{"Variable_name":"timezone","Value":"/etc/localtime"},
{"Variable_name":"last_insert_id","Value":""},
{"Variable_name":"pseudo_sharding","Value":"%{NUMBER}"},
{"Variable_name":"secondary_indexes","Value":"%{NUMBER}"},
{"Variable_name":"accurate_aggregation","Value":"%{NUMBER}"},
{"Variable_name":"distinct_precision_threshold","Value":"3500"},
{"Variable_name":"threads_ex_effective","Value":""},
{"Variable_name":"cluster_user","Value":"cluster"},
{"Variable_name":"thread_stack","Value":"%{NUMBER}"},
{"Variable_name":"threads_ex","Value":""},
{"Variable_name":"user","Value":""}
],
"total":%{NUMBER},
"error":"",
"warning":""
}]
––– input –––
curl -s "http://localhost:9308/sql?mode=raw&query=SHOW%20VARIABLES"; echo
––– output –––
[{
"columns":[{"Variable_name":{"type":"string"}},{"Value":{"type":"string"}}],
"data":[
{"Variable_name":"autocommit","Value":"%{NUMBER}"},
{"Variable_name":"auto_optimize","Value":"%{NUMBER}"},
{"Variable_name":"optimize_cutoff","Value":"%{NUMBER}"},
{"Variable_name":"collation_connection","Value":"libc_ci"},
{"Variable_name":"query_log_format","Value":"sphinxql"},
{"Variable_name":"session_read_only","Value":"%{NUMBER}"},
{"Variable_name":"log_level","Value":"info"},
{"Variable_name":"max_allowed_packet","Value":"134217728"},
{"Variable_name":"character_set_client","Value":"utf8"},
{"Variable_name":"character_set_connection","Value":"utf8"},
{"Variable_name":"grouping_in_utc","Value":"%{NUMBER}"},
{"Variable_name":"timezone","Value":"/etc/localtime"},
{"Variable_name":"last_insert_id","Value":""},
{"Variable_name":"pseudo_sharding","Value":"%{NUMBER}"},
{"Variable_name":"secondary_indexes","Value":"%{NUMBER}"},
{"Variable_name":"accurate_aggregation","Value":"%{NUMBER}"},
{"Variable_name":"distinct_precision_threshold","Value":"3500"},
{"Variable_name":"threads_ex_effective","Value":""},
{"Variable_name":"cluster_user","Value":"cluster"},
{"Variable_name":"thread_stack","Value":"%{NUMBER}"},
{"Variable_name":"threads_ex","Value":""},
{"Variable_name":"user","Value":""}
],
"total":%{NUMBER},
"error":"",
"warning":""
}]
––– input –––
curl -s -X POST "http://localhost:9308/sql?raw_response=true" -d "query=SHOW VARIABLES"; echo
––– output –––
[{
"columns":[{"Variable_name":{"type":"string"}},{"Value":{"type":"string"}}],
"data":[
{"Variable_name":"autocommit","Value":"%{NUMBER}"},
{"Variable_name":"auto_optimize","Value":"%{NUMBER}"},
{"Variable_name":"optimize_cutoff","Value":"%{NUMBER}"},
{"Variable_name":"collation_connection","Value":"libc_ci"},
{"Variable_name":"query_log_format","Value":"sphinxql"},
{"Variable_name":"session_read_only","Value":"%{NUMBER}"},
{"Variable_name":"log_level","Value":"info"},
{"Variable_name":"max_allowed_packet","Value":"134217728"},
{"Variable_name":"character_set_client","Value":"utf8"},
{"Variable_name":"character_set_connection","Value":"utf8"},
{"Variable_name":"grouping_in_utc","Value":"%{NUMBER}"},
{"Variable_name":"timezone","Value":"/etc/localtime"},
{"Variable_name":"last_insert_id","Value":""},
{"Variable_name":"pseudo_sharding","Value":"%{NUMBER}"},
{"Variable_name":"secondary_indexes","Value":"%{NUMBER}"},
{"Variable_name":"accurate_aggregation","Value":"%{NUMBER}"},
{"Variable_name":"distinct_precision_threshold","Value":"3500"},
{"Variable_name":"threads_ex_effective","Value":""},
{"Variable_name":"cluster_user","Value":"cluster"},
{"Variable_name":"thread_stack","Value":"%{NUMBER}"},
{"Variable_name":"threads_ex","Value":""},
{"Variable_name":"user","Value":""}
],
"total":%{NUMBER},
"error":"",
"warning":""
}]
––– input –––
curl -s "http://localhost:9308/sql?raw_response=true&query=SHOW%20VARIABLES"; echo
––– output –––
[{
"columns":[{"Variable_name":{"type":"string"}},{"Value":{"type":"string"}}],
"data":[
{"Variable_name":"autocommit","Value":"%{NUMBER}"},
{"Variable_name":"auto_optimize","Value":"%{NUMBER}"},
{"Variable_name":"optimize_cutoff","Value":"%{NUMBER}"},
{"Variable_name":"collation_connection","Value":"libc_ci"},
{"Variable_name":"query_log_format","Value":"sphinxql"},
{"Variable_name":"session_read_only","Value":"%{NUMBER}"},
{"Variable_name":"log_level","Value":"info"},
{"Variable_name":"max_allowed_packet","Value":"134217728"},
{"Variable_name":"character_set_client","Value":"utf8"},
{"Variable_name":"character_set_connection","Value":"utf8"},
{"Variable_name":"grouping_in_utc","Value":"%{NUMBER}"},
{"Variable_name":"timezone","Value":"/etc/localtime"},
{"Variable_name":"last_insert_id","Value":""},
{"Variable_name":"pseudo_sharding","Value":"%{NUMBER}"},
{"Variable_name":"secondary_indexes","Value":"%{NUMBER}"},
{"Variable_name":"accurate_aggregation","Value":"%{NUMBER}"},
{"Variable_name":"distinct_precision_threshold","Value":"3500"},
{"Variable_name":"threads_ex_effective","Value":""},
{"Variable_name":"cluster_user","Value":"cluster"},
{"Variable_name":"thread_stack","Value":"%{NUMBER}"},
{"Variable_name":"threads_ex","Value":""},
{"Variable_name":"user","Value":""}
],
"total":%{NUMBER},
"error":"",
"warning":""
}]
––– input –––
curl -s -X POST "http://localhost:9308/sql?mode=raw" -d "query=SHOW META"; echo
––– output –––
[{
"columns":[{"Variable_name":{"type":"string"}},{"Value":{"type":"string"}}],
"data":[
{"Variable_name":"total","Value":"%{NUMBER}"},
{"Variable_name":"total_found","Value":"%{NUMBER}"},
{"Variable_name":"total_relation","Value":"eq"},
{"Variable_name":"time","Value":"#!/[0-9]{1}.[0-9]{3}/!#"}
],
"total":%{NUMBER},
"error":"",
"warning":""
}]
––– input –––
curl -s "http://localhost:9308/sql?mode=raw&query=SHOW%20META"; echo
––– output –––
[{
"columns":[{"Variable_name":{"type":"string"}},{"Value":{"type":"string"}}],
"data":[
{"Variable_name":"total","Value":"%{NUMBER}"},
{"Variable_name":"total_found","Value":"%{NUMBER}"},
{"Variable_name":"total_relation","Value":"eq"},
{"Variable_name":"time","Value":"#!/[0-9]{1}.[0-9]{3}/!#"}
],
"total":%{NUMBER},
"error":"",
"warning":""
}]
––– input –––
curl -s -X POST "http://localhost:9308/sql?raw_response=true" -d "query=SHOW META"; echo
––– output –––
[{
"columns":[{"Variable_name":{"type":"string"}},{"Value":{"type":"string"}}],
"data":[
{"Variable_name":"total","Value":"%{NUMBER}"},
{"Variable_name":"total_found","Value":"%{NUMBER}"},
{"Variable_name":"total_relation","Value":"eq"},
{"Variable_name":"time","Value":"#!/[0-9]{1}.[0-9]{3}/!#"}
],
"total":%{NUMBER},
"error":"",
"warning":""
}]
––– input –––
curl -s "http://localhost:9308/sql?raw_response=true&query=SHOW%20META"; echo
––– output –––
[{
"columns":[{"Variable_name":{"type":"string"}},{"Value":{"type":"string"}}],
"data":[
{"Variable_name":"total","Value":"%{NUMBER}"},
{"Variable_name":"total_found","Value":"%{NUMBER}"},
{"Variable_name":"total_relation","Value":"eq"},
{"Variable_name":"time","Value":"#!/[0-9]{1}.[0-9]{3}/!#"}
],
"total":%{NUMBER},
"error":"",
"warning":""
}]
––– input –––
curl -s -X POST "http://localhost:9308/sql?mode=raw" -d "query=SHOW QUERIES"; echo
––– output –––
[{"total":%{NUMBER},"error":"","warning":"","columns":[{"id":{"type":"long long"}},{"query":{"type":"string"}},{"time":{"type":"string"}},{"protocol":{"type":"string"}},{"host":{"type":"string"}}],"data":[{"id":%{NUMBER},"query":"SHOW QUERIES","time":"%{NUMBER}#!/(s|ms|us)/!# ago","protocol":"http","host":"127.0.0.1:%{NUMBER}"},{"id":%{NUMBER},"query":"select","time":"%{NUMBER}#!/(s|ms|us)/!# ago","protocol":"http","host":"127.0.0.1:%{NUMBER}"},{"id":%{NUMBER},"query":"show_settings","time":"%{NUMBER}#!/(s|ms|us)/!#","protocol":"http","host":"127.0.0.1:%{NUMBER}"}]}]
––– input –––
curl -s "http://localhost:9308/sql?mode=raw&query=SHOW%20QUERIES"; echo
––– output –––
[{"total":%{NUMBER},"error":"","warning":"","columns":[{"id":{"type":"long long"}},{"query":{"type":"string"}},{"time":{"type":"string"}},{"protocol":{"type":"string"}},{"host":{"type":"string"}}],"data":[{"id":%{NUMBER},"query":"select","time":"%{NUMBER}#!/(s|ms|us)/!# ago","protocol":"http","host":"127.0.0.1:%{NUMBER}"},{"id":%{NUMBER},"query":"SHOW QUERIES","time":"%{NUMBER}#!/(s|ms|us)/!# ago","protocol":"http","host":"127.0.0.1:%{NUMBER}"},{"id":%{NUMBER},"query":"show_settings","time":"%{NUMBER}#!/(s|ms|us)/!#","protocol":"http","host":"127.0.0.1:%{NUMBER}"}]}]
––– input –––
curl -s -X POST "http://localhost:9308/sql?raw_response=true" -d "query=SHOW QUERIES"; echo
––– output –––
[{"total":%{NUMBER},"error":"","warning":"","columns":[{"id":{"type":"long long"}},{"query":{"type":"string"}},{"time":{"type":"string"}},{"protocol":{"type":"string"}},{"host":{"type":"string"}}],"data":[{"id":%{NUMBER},"query":"select","time":"%{NUMBER}#!/(s|ms|us)/!# ago","protocol":"http","host":"127.0.0.1:%{NUMBER}"},{"id":%{NUMBER},"query":"SHOW QUERIES","time":"%{NUMBER}#!/(s|ms|us)/!# ago","protocol":"http","host":"127.0.0.1:%{NUMBER}"},{"id":%{NUMBER},"query":"show_settings","time":"%{NUMBER}#!/(s|ms|us)/!#","protocol":"http","host":"127.0.0.1:%{NUMBER}"}]}]
––– input –––
curl -s "http://localhost:9308/sql?raw_response=true&query=SHOW%20QUERIES"; echo
––– output –––
[{"total":%{NUMBER},"error":"","warning":"","columns":[{"id":{"type":"long long"}},{"query":{"type":"string"}},{"time":{"type":"string"}},{"protocol":{"type":"string"}},{"host":{"type":"string"}}],"data":[{"id":%{NUMBER},"query":"select","time":"%{NUMBER}#!/(s|ms|us)/!# ago","protocol":"http","host":"127.0.0.1:%{NUMBER}"},{"id":%{NUMBER},"query":"SHOW QUERIES","time":"%{NUMBER}#!/(s|ms|us)/!# ago","protocol":"http","host":"127.0.0.1:%{NUMBER}"},{"id":%{NUMBER},"query":"show_settings","time":"%{NUMBER}#!/(s|ms|us)/!#","protocol":"http","host":"127.0.0.1:%{NUMBER}"}]}]
––– input –––
curl -s -X POST "http://localhost:9308/sql?mode=raw" -d "query=SHOW VERSION"; echo
––– output –––
~ [{"total":%{NUMBER},"error":"","warning":"","columns":[{"Component":{"type":"string"}},{"Version":{"type":"string"}}],"data":[{"Component":"Daemon","Version":"%{VERSION}"},{"Component":"Columnar","Version":"columnar %{VERSION}"},{"Component":"Secondary","Version":"secondary %{VERSION}"},{"Component":"KNN","Version":"knn %{VERSION}"},{"Component":"Buddy","Version":"buddy %{VERSION}4,"error":"","warning":"","columns":[{"Component":{"type":"string"}},{"Version":{"type":"string"}}],"data":[{"Component":"Daemon","Version":"7.4.7 afda0da46@25031121 dev"},{"Component":"Columnar","Version":"columnar 4.1.2 89795db@25030113"},{"Component":"Secondary","Version":"secondary 4.1.2 89795db@25030113"},{"Component":"Buddy","Version":"buddy v3.25.2-gc240bd"}]}]
––– input –––
curl -s "http://localhost:9308/sql?mode=raw&query=SHOW%20VERSION"; echo
––– output –––
~ [{"total":%{NUMBER},"error":"","warning":"","columns":[{"Component":{"type":"string"}},{"Version":{"type":"string"}}],"data":[{"Component":"Daemon","Version":"%{VERSION}"},{"Component":"Columnar","Version":"columnar %{VERSION}"},{"Component":"Secondary","Version":"secondary %{VERSION}"},{"Component":"KNN","Version":"knn %{VERSION}"},{"Component":"Buddy","Version":"buddy %{VERSION}4,"error":"","warning":"","columns":[{"Component":{"type":"string"}},{"Version":{"type":"string"}}],"data":[{"Component":"Daemon","Version":"7.4.7 afda0da46@25031121 dev"},{"Component":"Columnar","Version":"columnar 4.1.2 89795db@25030113"},{"Component":"Secondary","Version":"secondary 4.1.2 89795db@25030113"},{"Component":"Buddy","Version":"buddy v3.25.2-gc240bd"}]}]
––– input –––
curl -s -X POST "http://localhost:9308/sql?raw_response=true" -d "query=SHOW VERSION"; echo
––– output –––
~ [{"total":%{NUMBER},"error":"","warning":"","columns":[{"Component":{"type":"string"}},{"Version":{"type":"string"}}],"data":[{"Component":"Daemon","Version":"%{VERSION}"},{"Component":"Columnar","Version":"columnar %{VERSION}"},{"Component":"Secondary","Version":"secondary %{VERSION}"},{"Component":"KNN","Version":"knn %{VERSION}"},{"Component":"Buddy","Version":"buddy %{VERSION}4,"error":"","warning":"","columns":[{"Component":{"type":"string"}},{"Version":{"type":"string"}}],"data":[{"Component":"Daemon","Version":"7.4.7 afda0da46@25031121 dev"},{"Component":"Columnar","Version":"columnar 4.1.2 89795db@25030113"},{"Component":"Secondary","Version":"secondary 4.1.2 89795db@25030113"},{"Component":"Buddy","Version":"buddy v3.25.2-gc240bd"}]}]
––– input –––
curl -s "http://localhost:9308/sql?raw_response=true&query=SHOW%20VERSION"; echo
––– output –––
~ [{"total":%{NUMBER},"error":"","warning":"","columns":[{"Component":{"type":"string"}},{"Version":{"type":"string"}}],"data":[{"Component":"Daemon","Version":"%{VERSION}"},{"Component":"Columnar","Version":"columnar %{VERSION}"},{"Component":"Secondary","Version":"secondary %{VERSION}"},{"Component":"KNN","Version":"knn %{VERSION}"},{"Component":"Buddy","Version":"buddy %{VERSION}4,"error":"","warning":"","columns":[{"Component":{"type":"string"}},{"Version":{"type":"string"}}],"data":[{"Component":"Daemon","Version":"7.4.7 afda0da46@25031121 dev"},{"Component":"Columnar","Version":"columnar 4.1.2 89795db@25030113"},{"Component":"Secondary","Version":"secondary 4.1.2 89795db@25030113"},{"Component":"Buddy","Version":"buddy v3.25.2-gc240bd"}]}]
test/clt-tests/buddy/test-fuzzy-search.rec
––– input –––
rm -f /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait > /dev/null; stdbuf -oL searchd > /dev/null
––– output –––
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install jq -y > /dev/null; echo $?
––– output –––
debconf: delaying package configuration, since apt-utils is not installed
0
––– input –––
php -d memory_limit=2G ./test/clt-tests/scripts/load_names_attr.php --batch-size=100000 --concurrency=4 --docs=1000000 --start-id=1 --min-infix-len=2 > /dev/null; echo $?
––– output –––
0
––– input –––
mysql -h0 -P9306 -e "SHOW CREATE TABLE name;" | grep "min_infix_len='2'" | sed "s/.*\(min_infix_len='2'\).*/\1/"
––– output –––
min_infix_len='2'
––– input –––
mysql -h0 -P9306 -e "SELECT COUNT(*) FROM name;"
––– output –––
+----------+
| count(*) |
+----------+
|  1000000 |
+----------+
––– input –––
mysql -h0 -P9306 -e "OPTIMIZE TABLE name OPTION sync=1;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('RICH') ORDER BY id ASC, username ASC OPTION fuzzy=1;"
––– output –––
+------+-------------------+------+
| id   | username          | s    |
+------+-------------------+------+
|  196 | BRICE MULLIN      | a    |
|  307 | GRICELDA SKELTON  | a    |
|  363 | LAURICE SOLIZ     | a    |
|  478 | ERICH LLAMAS      | a    |
|  490 | LATRICE MANCILLA  | a    |
|  608 | MAURICE PRATHER   | a    |
|  659 | BRICE OLIVARES    | a    |
|  697 | PATRICE WOOD      | a    |
|  822 | JUNITA RICHARD    | a    |
|  835 | AUREA RICO        | a    |
|  854 | ROXANNE BRICE     | a    |
| 1122 | RICH MOLL         | a    |
| 1134 | JOELLA RICHARD    | a    |
| 1160 | MINDY HEINRICH    | a    |
| 1224 | YADIRA RICHARDSON | a    |
| 1379 | BRICE ALLMAN      | a    |
| 1574 | RICO VALENZUELA   | a    |
| 1602 | BEATRICE LOVE     | a    |
| 1822 | RICHELLE ROE      | a    |
| 2136 | CHIQUITA RICHTER  | a    |
+------+-------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('EBGRNA') ORDER BY id ASC, username ASC OPTION fuzzy=1;"
––– output –––
+------+----------------------+------+
| id   | username             | s    |
+------+----------------------+------+
|  675 | CONCEPTION ABERNATHY | a    |
|  964 | BERNARDINA OSHEA     | a    |
| 1354 | VERNA VITALE         | a    |
| 1784 | BERNADETTE HALES     | a    |
| 1839 | BERNARDINA MCMILLAN  | a    |
| 1864 | ERNA ULLOA           | a    |
| 1948 | SAMIRA ABERNATHY     | a    |
| 2238 | JUDI BERNAL          | a    |
| 2446 | MERNA GAITHER        | a    |
| 3065 | BERNADINE HIBBARD    | a    |
| 3195 | BERNADETTE SHELTON   | a    |
| 3688 | VERNA GASTON         | a    |
| 3781 | BERNARDINE WILKINS   | a    |
| 4370 | ERNA VITALE          | a    |
| 4637 | TARSHA HERNANDEZ     | a    |
| 4662 | FERNANDO HOUCK       | a    |
| 5044 | CONSTANCE ABERNATHY  | a    |
| 5580 | LAVERNA GORMAN       | a    |
| 5582 | FERNANDE ISRAEL      | a    |
| 5798 | LAVERNA STORM        | a    |
+------+----------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('ANT') ORDER BY id ASC, username ASC OPTION fuzzy=1;"
––– output –––
+------+-------------------+------+
| id   | username          | s    |
+------+-------------------+------+
|    8 | DAMIAN SOMERS     | a    |
|   16 | TAMI WHELAN       | a    |
|   19 | DARCY SANDBERG    | a    |
|   20 | RANEE BROUGHTON   | a    |
|   21 | STEPHEN ALLMAN    | a    |
|   30 | AMANDA KEY        | a    |
|   37 | ELFRIEDA HANKS    | a    |
|   41 | NANNIE WILLINGHAM | a    |
|   42 | YOULANDA TROUT    | a    |
|   44 | ANTHONY SMOOT     | a    |
|   47 | FRANCIE BUNDY     | a    |
|   51 | LATASHA POLAND    | a    |
|   53 | SHEMEKA DURAND    | a    |
|   54 | LATANYA ARNDT     | a    |
|   56 | JANELLE LASTER    | a    |
|   57 | NANNIE HANNON     | a    |
|   58 | GRANVILLE VALDEZ  | a    |
|   59 | DEDE SPANN        | a    |
|   60 | DANIEL MERRITT    | a    |
|   63 | SAUL HOWLAND      | a    |
+------+-------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('tony') ORDER BY id ASC, username ASC OPTION fuzzy=1;"
––– output –––
+------+--------------------+------+
| id   | username           | s    |
+------+--------------------+------+
|  118 | ANTONIA VANWINKLE  | a    |
|  220 | ANTONIA MELGAR     | a    |
|  391 | KARYL TONEY        | a    |
|  761 | TONYA SHERRILL     | a    |
| 1527 | LEONE TONEY        | a    |
| 2132 | TONIA RAPP         | a    |
| 2195 | TONIE HOANG        | a    |
| 2333 | LATONIA VILLASENOR | a    |
| 2357 | TONIE BARNHILL     | a    |
| 2430 | TONIA BOSTICK      | a    |
| 2584 | TONI SPENCE        | a    |
| 2725 | ANTONIETTA CINTRON | a    |
| 2881 | ANTONINA HASKELL   | a    |
| 3318 | TONY DUPRE         | a    |
| 3582 | ANTONIETTA BAEZ    | a    |
| 3858 | TONEY SCHOEN       | a    |
| 4366 | ROCHEL TONEY       | a    |
| 4608 | ANTONIA DRISCOLL   | a    |
| 4657 | TONYA PARRIS       | a    |
| 4800 | TONY WEISS         | a    |
+------+--------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('SMITH') ORDER BY id DESC, username ASC OPTION fuzzy=1;"
––– output –––
+--------+-------------------+------+
| id     | username          | s    |
+--------+-------------------+------+
| 999973 | KEITH SNOW        | a    |
| 999855 | DOROTHA WISEMAN   | a    |
| 999723 | SCOTT OLSON       | a    |
| 999264 | RUTHANN GREENE    | a    |
| 999250 | MINH LANDERS      | a    |
| 999127 | MALENA RUTHERFORD | a    |
| 999120 | RUTHANNE CARDOSO  | a    |
| 998893 | IRWIN SOUTHARD    | a    |
| 998691 | MITCHELL SEITZ    | a    |
| 998539 | ELSA SEITZ        | a    |
| 998526 | SCOTT CARRION     | a    |
| 997945 | RUTHE SCHENK      | a    |
| 997815 | MINH GOODWIN      | a    |
| 997558 | ARTIE SOUTH       | a    |
| 997189 | BETTY SOUTHERN    | a    |
| 997187 | SUSAN SCOTT       | a    |
| 997098 | OTHA FAJARDO      | a    |
| 997074 | SCOTT FLANDERS    | a    |
| 996804 | SCOTT ENOS        | a    |
| 996461 | EDRA HIGGINBOTHAM | a    |
+--------+-------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('SMITH') ORDER BY id DESC, username ASC OPTION fuzzy=1;"
––– output –––
+--------+-------------------+------+
| id     | username          | s    |
+--------+-------------------+------+
| 999973 | KEITH SNOW        | a    |
| 999855 | DOROTHA WISEMAN   | a    |
| 999723 | SCOTT OLSON       | a    |
| 999264 | RUTHANN GREENE    | a    |
| 999250 | MINH LANDERS      | a    |
| 999127 | MALENA RUTHERFORD | a    |
| 999120 | RUTHANNE CARDOSO  | a    |
| 998893 | IRWIN SOUTHARD    | a    |
| 998691 | MITCHELL SEITZ    | a    |
| 998539 | ELSA SEITZ        | a    |
| 998526 | SCOTT CARRION     | a    |
| 997945 | RUTHE SCHENK      | a    |
| 997815 | MINH GOODWIN      | a    |
| 997558 | ARTIE SOUTH       | a    |
| 997189 | BETTY SOUTHERN    | a    |
| 997187 | SUSAN SCOTT       | a    |
| 997098 | OTHA FAJARDO      | a    |
| 997074 | SCOTT FLANDERS    | a    |
| 996804 | SCOTT ENOS        | a    |
| 996461 | EDRA HIGGINBOTHAM | a    |
+--------+-------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('SMYTH') ORDER BY id DESC, username ASC OPTION fuzzy=1;"
––– output –––
+--------+-------------------+------+
| id     | username          | s    |
+--------+-------------------+------+
| 999973 | KEITH SNOW        | a    |
| 999964 | CANDACE BOOTH     | a    |
| 999855 | DOROTHA WISEMAN   | a    |
| 999723 | SCOTT OLSON       | a    |
| 999264 | RUTHANN GREENE    | a    |
| 999197 | HEATH MCNAMARA    | a    |
| 999127 | MALENA RUTHERFORD | a    |
| 999120 | RUTHANNE CARDOSO  | a    |
| 999013 | HEATHER HAMMOCK   | a    |
| 998893 | IRWIN SOUTHARD    | a    |
| 998526 | SCOTT CARRION     | a    |
| 998000 | EDYTH CARLISLE    | a    |
| 997945 | RUTHE SCHENK      | a    |
| 997558 | ARTIE SOUTH       | a    |
| 997544 | HEATHER CLAUSEN   | a    |
| 997189 | BETTY SOUTHERN    | a    |
| 997187 | SUSAN SCOTT       | a    |
| 997098 | OTHA FAJARDO      | a    |
| 997074 | SCOTT FLANDERS    | a    |
| 996804 | SCOTT ENOS        | a    |
+--------+-------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('SMITH') ORDER BY id DESC, username ASC OPTION fuzzy="1";"
––– output –––
+--------+-------------------+------+
| id     | username          | s    |
+--------+-------------------+------+
| 999973 | KEITH SNOW        | a    |
| 999855 | DOROTHA WISEMAN   | a    |
| 999723 | SCOTT OLSON       | a    |
| 999264 | RUTHANN GREENE    | a    |
| 999250 | MINH LANDERS      | a    |
| 999127 | MALENA RUTHERFORD | a    |
| 999120 | RUTHANNE CARDOSO  | a    |
| 998893 | IRWIN SOUTHARD    | a    |
| 998691 | MITCHELL SEITZ    | a    |
| 998539 | ELSA SEITZ        | a    |
| 998526 | SCOTT CARRION     | a    |
| 997945 | RUTHE SCHENK      | a    |
| 997815 | MINH GOODWIN      | a    |
| 997558 | ARTIE SOUTH       | a    |
| 997189 | BETTY SOUTHERN    | a    |
| 997187 | SUSAN SCOTT       | a    |
| 997098 | OTHA FAJARDO      | a    |
| 997074 | SCOTT FLANDERS    | a    |
| 996804 | SCOTT ENOS        | a    |
| 996461 | EDRA HIGGINBOTHAM | a    |
+--------+-------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('john') ORDER BY id DESC, username ASC OPTION fuzzy=1;"
––– output –––
+--------+------------------------+------+
| id     | username               | s    |
+--------+------------------------+------+
| 999961 | JONELL ENRIGHT         | a    |
| 999932 | JONELL NIX             | a    |
| 999926 | JONAH BURNSIDE         | a    |
| 999922 | LAVONNA JONAS          | a    |
| 999860 | JOHNETTA DO            | a    |
| 999552 | JOHNNY CARNES          | a    |
| 999548 | JOHNATHAN PEPPER       | a    |
| 999509 | JOHNATHAN STUBBLEFIELD | a    |
| 999171 | JOHNNY ABRAMS          | a    |
| 999033 | AGNUS STJOHN           | a    |
| 998835 | SCARLETT JONAS         | a    |
| 998798 | JOHNATHON READ         | a    |
| 998467 | JOHNSON JEAN           | a    |
| 998393 | JOHN BACH              | a    |
| 998306 | JOHNNY TAFOYA          | a    |
| 998304 | JONG SAUER             | a    |
| 998303 | JONATHON DUPRE         | a    |
| 998278 | JOHNNIE LOR            | a    |
| 998181 | JONA ELROD             | a    |
| 998154 | JONG YORK              | a    |
+--------+------------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('jane') AND id BETWEEN 10000 AND 20000 ORDER BY username ASC OPTION fuzzy=1;"
––– output –––
+-------+--------------------+------+
| id    | username           | s    |
+-------+--------------------+------+
| 10028 | ANJANETTE PORTILLO | a    |
| 10056 | JANETTE LYNCH      | a    |
| 10629 | LANETTE SWAIN      | a    |
| 10874 | JANESSA MONTEZ     | a    |
| 10977 | RUTHANN LANEY      | a    |
| 11038 | DESIRE LANE        | a    |
| 11056 | LANELLE WATTS      | a    |
| 11397 | MELITA LANE        | a    |
| 11415 | MARYJANE HOLTZ     | a    |
| 11569 | JANETH SELBY       | a    |
| 11758 | JANETTE GANTT      | a    |
| 11834 | JANELLE DRIGGERS   | a    |
| 12100 | JAE COBLE          | a    |
| 12171 | JAE MEARS          | a    |
| 12185 | JANESSA BALTAZAR   | a    |
| 12237 | JANENE APODACA     | a    |
| 12490 | LANELLE ARNDT      | a    |
| 12536 | JANENE WALDRON     | a    |
| 12540 | ANJANETTE STAGGS   | a    |
| 12642 | HERSHEL LANEY      | a    |
+-------+--------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('EBGRNA') AND id BETWEEN 1000 AND 2000 ORDER BY username ASC OPTION fuzzy=1;"
––– output –––
+------+---------------------+------+
| id   | username            | s    |
+------+---------------------+------+
| 1354 | VERNA VITALE        | a    |
| 1784 | BERNADETTE HALES    | a    |
| 1839 | BERNARDINA MCMILLAN | a    |
| 1864 | ERNA ULLOA          | a    |
| 1948 | SAMIRA ABERNATHY    | a    |
+------+---------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('SARA') ORDER BY id ASC, username ASC OPTION fuzzy=1;"
––– output –––
+------+------------------+------+
| id   | username         | s    |
+------+------------------+------+
|  188 | LARA KIRK        | a    |
|  207 | CLARA MORRIS     | a    |
|  351 | KLARA DONALDSON  | a    |
|  990 | ELAINE SARABIA   | a    |
| 1409 | LARA FREDERICK   | a    |
| 1661 | SARA GARNER      | a    |
| 1831 | SARAI ESPINAL    | a    |
| 2074 | VALENTIN SARABIA | a    |
| 2930 | LARA CINTRON     | a    |
| 3045 | KLARA ANDRES     | a    |
| 3373 | KLARA NORTON     | a    |
| 3741 | CRUZ SARABIA     | a    |
| 3780 | RUSSEL LARA      | a    |
| 4700 | HEE SARABIA      | a    |
| 4933 | KLARA GOODING    | a    |
| 5830 | SARAI LINDLEY    | a    |
| 5865 | SARAN KNAPP      | a    |
| 5918 | SARA WAITE       | a    |
| 6635 | CLARA BEALE      | a    |
| 6836 | CLARA BAZAN      | a    |
+------+------------------+------+
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 1 AS fuzziness);" | tail -n +4 | sort
––– output –––
+---------+
| joe     |
| john    |
| johnie  |
| johnson |
| jordan  |
| jose    |
| joseph  |
| joshua  |
| joy     |
| joyce   |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 'us,ru' AS layouts);" | tail -n +4 | sort
––– output –––
+---------+
| joe     |
| john    |
| johnie  |
| johnson |
| jordan  |
| jose    |
| joseph  |
| joshua  |
| joy     |
| joyce   |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 1 AS append);" | tail -n +4 | sort
––– output –––
+---------+
| joe     |
| john    |
| johnie  |
| johnson |
| jordan  |
| jose    |
| joseph  |
| joshua  |
| joy     |
| joyce   |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 0 AS prepend);" | tail -n +4 | sort
––– output –––
+---------+
| joe     |
| john    |
| johnson |
| jonas   |
| jordan  |
| jose    |
| joseph  |
| joshua  |
| joy     |
| joyce   |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 1 AS prepend, 1 AS append);" | tail -n +4 | sort
––– output –––
+---------+
| joe     |
| john    |
| johnie  |
| johnson |
| jordan  |
| jose    |
| joseph  |
| joshua  |
| joy     |
| joyce   |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 1 AS fuzziness, '' AS layouts, 1 AS append, 1 AS prepend);" | tail -n +4 | sort
––– output –––
+---------+
| joe     |
| john    |
| johnie  |
| johnson |
| jordan  |
| jose    |
| joseph  |
| joshua  |
| joy     |
| joyce   |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 2 AS fuzziness, 'us,ru' AS layouts, 1 AS append, 1 AS prepend, 2 AS expansion_len);" | tail -n +4 | sort
––– output –––
+-------+
| joe   |
| john  |
| jose  |
| joy   |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 1 AS append);" | tail -n +4 | sort
––– output –––
+---------+
| joe     |
| john    |
| johnie  |
| johnson |
| jordan  |
| jose    |
| joseph  |
| joshua  |
| joy     |
| joyce   |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 1 AS prepend);" | tail -n +4 | sort
––– output –––
+---------+
| joe     |
| john    |
| johnie  |
| johnson |
| jordan  |
| jose    |
| joseph  |
| joshua  |
| joy     |
| joyce   |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 1 AS append, 1 AS prepend);" | tail -n +4 | sort
––– output –––
+---------+
| joe     |
| john    |
| johnie  |
| johnson |
| jordan  |
| jose    |
| joseph  |
| joshua  |
| joy     |
| joyce   |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 'us' AS layouts);" | tail -n +4 | sort
––– output –––
+---------+
| joe     |
| john    |
| johnie  |
| johnson |
| jordan  |
| jose    |
| joseph  |
| joshua  |
| joy     |
| joyce   |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 'ru' AS layouts);" | tail -n +4 | sort
––– output –––
+---------+
| joe     |
| john    |
| johnie  |
| johnson |
| jordan  |
| jose    |
| joseph  |
| joshua  |
| joy     |
| joyce   |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('al', 'name', 0 AS fuzziness);" | tail -n +4 | sort
––– output –––
+-----------+
| albert    |
| alexander |
| allen     |
| dale      |
| dallas    |
| donald    |
| gale      |
| kendall   |
| marshall  |
| walter    |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('mi', 'name', 0 AS append, 1 AS prepend);" | tail -n +4 | sort
––– output –––
+---------+
| ami     |
| britni  |
| brittni |
| cami    |
| choi    |
| darci   |
| eleni   |
| jami    |
| jani    |
| jeni    |
| joi     |
| kaci    |
| kami    |
| kimi    |
| laci    |
| lani    |
| luci    |
| mancini |
| marci   |
| martini |
| melani  |
| muoi    |
| nanci   |
| neomi   |
| noemi   |
| nohemi  |
| ricci   |
| shani   |
| staci   |
| tammi   |
| toi     |
| tomi    |
| traci   |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('ch', 'name', 1 AS fuzziness, 3 AS expansion_len);" | tail -n +4 | sort
––– output –––
+-------+
| chang |
| chi   |
| chong |
| chung |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('зф', 'name', 'us,ru' AS layouts);" | tail -n +4 | sort
––– output –––
+---------+
| page    |
| paige   |
| palma   |
| palmer  |
| paris   |
| parker  |
| pat     |
| patrick |
| paul    |
| paz     |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('зф', 'name', 'us' AS layouts);" | tail -n +4 | sort
––– output –––
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('gr', 'name', 1 AS fuzziness, 'ru' AS layouts, 1 AS append, 1 AS prepend);" | tail -n +4 | sort
––– output –––
+------------+
| grace      |
| gracia     |
| grady      |
| graham     |
| grant      |
| gregg      |
| gregory    |
| griffin    |
| grover     |
| montenegro |
––– input –––
mysql -h0 -P9306 -e "drop table if exists t; create table t(f text) min_infix_len='2'; insert into t values(1, 'something'), (2, 'some thing'); select * from t where match('somethin') option fuzzy=0;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "select * from t where match('somethin') option fuzzy=0;"
––– output –––
––– input –––
mysql -P9306 -h0 -e "drop table if exists t; create table t(f text) min_infix_len='2'; insert into t values(1, 'something'), (2, 'some thing'); call autocomplete('some', 't');"
––– output –––
+-----------+
| query     |
+-----------+
| some      |
| something |
+-----------+
––– input –––
mysql -P9306 -h0 -e "drop table if exists t; create table t(f text) min_infix_len='2'; insert into t values(1, 'something'), (2, 'some thing'); call autocomplete('some', 't');"
––– output –––
+-----------+
| query     |
+-----------+
| some      |
| something |
+-----------+
––– input –––
mysql -h0 -P9306 -e "drop table if exists t; create table t(a int);"
––– output –––
––– input –––
mysql -h0 -P9306 -e "select * from t option fuzzy=1;"
––– output –––
ERROR 1064 (42000) at line 1: The 'fuzzy' option requires a full-text query
––– input –––
mysql -h0 -P9306 -e "drop table if exists comment_28798446; create table comment_28798446(id int, content text) min_infix_len='3';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "insert into comment_28798446 values (1, 'business Manticore interaction'), (2, 'buisness Manticore interation'), (3, 'other text content');"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SELECT id FROM comment_28798446 WHERE MATCH('buisness Manticore interation') OPTION fuzzy = 1, layouts = '';"
––– output –––
+------+
| id   |
+------+
|    1 |
|    2 |
+------+
––– input –––
mysql -h0 -P9306 -e "SELECT id FROM comment_28798446 WHERE MATCH('business Manticore interaction') OPTION fuzzy = 1, layouts = '';"
––– output –––
+------+
| id   |
+------+
|    1 |
|    2 |
+------+
––– input –––
mysql -h0 -P9306 -e "SELECT id FROM comment_28798446 WHERE MATCH('Manticore') OPTION fuzzy = 1, layouts = '';"
––– output –––
+------+
| id   |
+------+
|    1 |
|    2 |
+------+
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('bus', 'comment_28798446', 'ru,us,ua' AS layouts);"
––– output –––
+----------+
| query    |
+----------+
| business |
+----------+
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('bus', 'comment_28798446', '' AS layouts);"
––– output –––
+----------+
| query    |
+----------+
| business |
+----------+
––– input –––
mysql -h0 -P9306 -e "DROP TABLE IF EXISTS t; DEBUG SLEEP 2; CREATE TABLE t(f TEXT) min_infix_len='2';"
––– output –––
+---------+--------+
| command | result |
+---------+--------+
| sleep   | #!/[0-9]{1}.[0-9]{3}/!#  |
+---------+--------+
––– input –––
mysql -h0 -P9306 -e "INSERT INTO t VALUES (1, 'abcdef'), (2, 'abcd efgh');"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM t WHERE MATCH('abcdef'); SHOW META;"
––– output –––
+------+--------+
| id   | f      |
+------+--------+
|    1 | abcdef |
+------+--------+
+----------------+--------+
| Variable_name  | Value  |
+----------------+--------+
| total          | 1      |
| total_found    | 1      |
| total_relation | eq     |
| time           | #!/[0-9]{1}.[0-9]{3}/!#  |
| keyword[0]     | abcdef |
| docs[0]        | 1      |
| hits[0]        | 1      |
+----------------+--------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM t WHERE MATCH('abcef') OPTION fuzzy=1; SHOW META;"
––– output –––
+------+-----------+
| id   | f         |
+------+-----------+
|    1 | abcdef    |
|    2 | abcd efgh |
+------+-----------+
+----------------+-------+
| Variable_name  | Value |
+----------------+-------+
| total          | 2     |
| total_found    | 2     |
| total_relation | eq    |
| time           | #!/[0-9]{1}.[0-9]{3}/!# |
+----------------+-------+
––– input –––
grep -A3 "SELECT \* FROM t WHERE MATCH('abcdef')" /var/log/manticore/query.log
––– output –––
/* #!/[A-Za-z]{3}\s+[A-Za-z]{3}\s+[0-9]{1,2}\s+[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}\s+[0-9]{4}/!# conn %{NUMBER} (127.0.0.1:%{NUMBER}) real #!/[0-9]{1}.[0-9]{3}/!# wall #!/[0-9]{1}.[0-9]{3}/!# found 1 */ SELECT * FROM t WHERE MATCH('abcdef');
/* #!/[A-Za-z]{3}\s+[A-Za-z]{3}\s+[0-9]{1,2}\s+[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}\s+[0-9]{4}/!# conn %{NUMBER} (127.0.0.1:%{NUMBER}) real #!/[0-9]{1}.[0-9]{3}/!# wall #!/[0-9]{1}.[0-9]{3}/!# found 2 */ SELECT * FROM t WHERE MATCH('abcef') OPTION fuzzy=1;
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM t WHERE MATCH('nonexistent'); SHOW META;"
––– output –––
+----------------+-------------+
| Variable_name  | Value       |
+----------------+-------------+
| total          | 0           |
| total_found    | 0           |
| total_relation | eq          |
| time           | #!/[0-9]{1}.[0-9]{3}/!#       |
| keyword[0]     | nonexistent |
| docs[0]        | 0           |
| hits[0]        | 0           |
+----------------+-------------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM t WHERE MATCH('abcdef') OPTION fuzzy=1;"
––– output –––
+------+-----------+
| id   | f         |
+------+-----------+
|    1 | abcdef    |
|    2 | abcd efgh |
+------+-----------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM t WHERE MATCH('\$#@\!') OPTION fuzzy=1;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "DROP TABLE IF EXISTS idx1; CREATE TABLE idx1(value TEXT) min_infix_len='2';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "INSERT INTO idx1(value) VALUES ('340');"
––– output –––
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('34', 'idx1');"
––– output –––
+-------+
| query |
+-------+
| 340   |
+-------+
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('3', 'idx1');"
––– output –––
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('34', 'idx1', 1 AS fuzziness);"
––– output –––
+-------+
| query |
+-------+
| 340   |
+-------+
––– input –––
echo -e "searchd {\nlisten = 9306:mysql\nlisten = 9312\nlisten = 9308:http\nlog = /tmp/searchd.log\nquery_log = /tmp/query.log\npid_file = /tmp/searchd.pid\n}\n\nsource src_idx {\ntype = tsvpipe\ntsvpipe_command = cat /tmp/data.tsv\ntsvpipe_field_string = f\ntsvpipe_attr_bigint = id\n}\n\nindex idx_plain {\ntype = plain\nsource = src_idx\npath = /tmp/idx_plain\nmin_infix_len = 2\n}" > /tmp/manticore_idx.conf
––– output –––
––– input –––
echo -e "1\tabcdef\n2\tabcd efgh\n3\trandom text" > /tmp/data.tsv
––– output –––
––– input –––
mkdir -p /tmp/idx_plain && chmod 777 /tmp/idx_plain
––– output –––
––– input –––
indexer --all --config /tmp/manticore_idx.conf > /dev/null 2>&1
––– output –––
––– input –––
rm -f /tmp/searchd.log; stdbuf -oL searchd --stopwait > /dev/null; stdbuf -oL searchd -c /tmp/manticore_idx.conf; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
~ Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION}7.4.7 afda0da46@25031121 dev (columnar 4.1.2 89795db@25030113) (secondary 4.1.2 89795db@25030113)
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
~ [#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/tmp/manticore_idx.conf' (%{NUMBER} chars)...Tue Mar 11 22:05:45.551 2025] [408] WARNING: Error initializing knn index: daemon requires knn library v4 (trying to load v3)
~ starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' [Tue Mar 11 22:05:45.577 2025] [408] using config file '/tmp/manticore_idx.conf' (355 chars)...
- listening on all interfaces for mysql, port=9306
+ starting daemon version '7.4.7 afda0da46@25031121 dev (columnar 4.1.2 89795db@25030113) (secondary 4.1.2 89795db@25030113)' ...
~ listening on all interfaces for sphinx and http(s), port=9312mysql, port=9306
~ listening on all interfaces for sphinx and http(s), port=930812
- precaching table 'idx_plain'
+ listening on all interfaces for sphinx and http(s), port=9308
~ precached 1 tables in #!/[0-9]{1,2}.[0-9]+/!# secing table 'idx_plain'
- Buddy started!
+ precached 1 tables in 0.001 sec
+ Buddy started!
––– input –––
mysql -h0 -P9306 -e "SHOW TABLES;"
––– output –––
+-----------+-------+
| Table     | Type  |
+-----------+-------+
| idx_plain | local |
+-----------+-------+
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE idx_plain SETTINGS;"
––– output –––
+---------------+-------------------+
| Variable_name | Value             |
+---------------+-------------------+
| settings      | min_infix_len = 2 |
+---------------+-------------------+
––– input –––
mysql -h0 -P9306 -e "show version\G;"
––– output –––
*************************** 1. row ***************************
Component: Daemon
Version: %{VERSION}
*************************** 2. row ***************************
Component: Columnar
Version: columnar %{VERSION}
*************************** 3. row ***************************
Component: Secondary
Version: secondary %{VERSION}
*************************** 4. row ***************************
~ Component: KNNBuddy
~ Version: knn %{VERSION}buddy v3.25.2-gc240bd
- *************************** 5. row ***************************
- Component: Buddy
- Version: buddy %{VERSION}
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM idx_plain WHERE MATCH('abcdef') OPTION fuzzy=1;"
––– output –––
+------+-----------+
| id   | f         |
+------+-----------+
|    1 | abcdef    |
|    2 | abcd efgh |
+------+-----------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM idx_plain WHERE MATCH('abcef') OPTION fuzzy=1;"
––– output –––
+------+-----------+
| id   | f         |
+------+-----------+
|    1 | abcdef    |
|    2 | abcd efgh |
+------+-----------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM idx_plain WHERE MATCH('nonexistent') OPTION fuzzy=1;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('abc', 'idx_plain');"
––– output –––
+--------+
| query  |
+--------+
| abcd   |
| abcdef |
+--------+
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('ran', 'idx_plain');"
––– output –––
+--------+
| query  |
+--------+
| random |
+--------+
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('zzz', 'idx_plain');"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM idx_plain WHERE MATCH('abcdef') OPTION fuzzy=0;"
––– output –––
+------+--------+
| id   | f      |
+------+--------+
|    1 | abcdef |
+------+--------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM idx_plain WHERE MATCH('abcd efgh') OPTION fuzzy=0;"
––– output –––
+------+-----------+
| id   | f         |
+------+-----------+
|    2 | abcd efgh |
+------+-----------+

Copy link

clt-arm64

❌ CLT tests in test/clt-tests/installation/deb-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 67s
👉 Check Action Results for commit 25b4304
Failed tests:

test/clt-tests/installation/deb-dev-update.rec
––– input –––
export PATH=/usr/bin:/usr/local/bin:/usr/sbin:/sbin:/bin
––– output –––
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y gnupg2 wget mariadb-client procps binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
wget -q https://repo.manticoresearch.com/manticore-repo.noarch.deb
––– output –––
––– input –––
dpkg -i manticore-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: key 14D612DB3D2730E2: "Manticore Search <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
stdbuf -oL searchd --version
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
––– input –––
manticore-executor -v
––– output –––
PHP %{VERSION} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (NTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
stdbuf -oL searchd
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait; stdbuf -oL searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}(?:\+[0-9]{8}-[0-9a-z]{8}.*)?/!#
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{VERSION}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{VERSION}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{VERSION}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
%{VERSION}
––– input –––
export current_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $current_version_buddy
––– output –––
%{VERSION}
––– input –––
wget -q https://repo.manticoresearch.com/manticore-dev-repo.noarch.deb; echo $?
––– output –––
0
––– input –––
dpkg -i manticore-dev-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: keyring '/etc/apt/trusted.gpg.d/manticore-keyring.gpg' created
gpg: directory '/root/.gnupg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 14D612DB3D2730E2: public key "Manticore Search <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt -y install manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-dbgsym manticore-tools-dbgsym manticore-columnar-lib-dbgsym manticore-icudata-65l manticore-galera > /dev/null
––– output –––
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
- perl: warning: Setting locale failed.
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bullseye_dev/dists/bullseye/main/binary-arm64/./manticore-common_7.4.7-25031012-8d0bf7bb1_all.deb  Hash Sum mismatch
~ perl: warning: Please check that your locale settingsHashes of expected file:
- LANGUAGE = (unset),
+ - SHA256:685d27776b72b757b36f8ecbcc5ff0e39dd4ebd6849e7da86787b98f88d66d5e
- LC_ALL = (unset),
+ - SHA1:388dc78403e8c8a1c3cd5fdac971b25d3ee4fb50 [weak]
- LANG = "en_US.UTF-8"
+ - MD5Sum:fe6890b0924a1ca8f3b06b12d5c89d65 [weak]
- are supported and installed on your system.
+ - Filesize:48404 [weak]
- perl: warning: Falling back to the standard locale ("C").
+ Hashes of received file:
- debconf: delaying package configuration, since apt-utils is not installed
+ - SHA256:62e1e2e813af09775339882035afb524985c29f5eb4080c1978c4290ac2c6f53
+ - SHA1:ca67f1d06e46b888aa2430dc6a59c60d88d45f36 [weak]
+ - MD5Sum:fb3cb01718ba9fadf0eac3ba3455e658 [weak]
+ - Filesize:48404 [weak]
+ Last modification reported: Wed, 12 Mar 2025 00:15:43 +0000
+ E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
––– input –––
stdbuf -oL searchd --stop
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
sleep 5; stdbuf -oL searchd | head -n 9
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
––– input –––
rm /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait; stdbuf -oL searchd | head -n 15; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
%{VERSION}
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -oP 'buddy v\K[0-9]+\.[0-9]+\.[0-9]\+[^ )]*'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}\+[0-9]{8}-[0-9a-z]{8}.*/!#
––– input –––
if [[ "$new_version_searchd" > "$current_version_searchd" ]]; then echo "Upgrade successful. New version searchd: $new_version_searchd"; else echo "Upgrade failed. Current version searchd: $current_version_searchd, new version: $new_version_searchd"; fi
––– output –––
~ Upgrade successful. New version searchd: %{VERSION}failed. Current version searchd: 7.4.6, new version: 7.4.6
––– input –––
if [[ "$new_version_columnar" > "$current_version_columnar" ]]; then echo "Upgrade successful. New version columnar: $new_version_columnar"; else echo "Upgrade failed. Current version columnar: $current_version_columnar, new version: $new_version_columnar"; fi
––– output –––
~ Upgrade successful. New version columnar: %{VERSION}failed. Current version columnar: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_secondary" > "$current_version_secondary" ]]; then echo "Upgrade successful. New version secondary: $new_version_secondary"; else echo "Upgrade failed. Current version secondary: $current_version_knn, new version: $new_version_secondary"; fi
––– output –––
~ Upgrade successful. New version secondary: %{VERSION}failed. Current version secondary: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_knn" > "$current_version_knn" ]]; then echo "Upgrade successful. New version knn: $new_version_knn"; else echo "Upgrade failed. Current version knn: $current_version_knn, new version: $new_version_knn"; fi
––– output –––
~ Upgrade successful. New version knn: %{VERSION}failed. Current version knn: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_galera" > "$current_version_galera" ]] || [[ "$new_version_galera" == "$current_version_galera" ]]; then echo "Upgrade successful. New version galera: $new_version_galera"; else echo "Upgrade failed. Current version galera: $current_version_galera, new version: $new_version_galera"; fi
––– output –––
Upgrade successful. New version galera: #!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
if [[ "$new_version_buddy" > "$current_version_buddy" ]]; then echo "Upgrade successful. New version buddy: $new_version_buddy"; else echo "Upgrade failed. Current version buddy: $current_version_buddy, new version: $new_version_buddy"; fi
––– output –––
~ Upgrade successful. New version buddy: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}\+[0-9]{8}-[0-9a-z]{8}.*/!#failed. Current version buddy: 3.23.1+25022719-d2507b85, new version: 3.23.1+25022719-d2507b85
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}(?:\+[0-9]{8}-[0-9a-z]{8}.*)?/!#
––– input –––
apt-get remove -y 'manticore*' > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
dpkg -l | grep ^rc | awk '/^rc/ && /manticore/ { print $2 }'
––– output –––
manticore-common
manticore-repo
manticore-server
manticore-server-core
manticore-tools

Copy link

clt-arm64

❌ CLT tests in test/clt-tests/installation/deb-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 84s
👉 Check Action Results for commit 25b4304
Failed tests:

test/clt-tests/installation/deb-dev-update.rec
––– input –––
export PATH=/usr/bin:/usr/local/bin:/usr/sbin:/sbin:/bin
––– output –––
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y gnupg2 wget mariadb-client procps binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
wget -q https://repo.manticoresearch.com/manticore-repo.noarch.deb
––– output –––
––– input –––
dpkg -i manticore-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: key 14D612DB3D2730E2: "Manticore Search <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
stdbuf -oL searchd --version
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
––– input –––
manticore-executor -v
––– output –––
PHP %{VERSION} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (NTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
stdbuf -oL searchd
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait; stdbuf -oL searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}(?:\+[0-9]{8}-[0-9a-z]{8}.*)?/!#
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{VERSION}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{VERSION}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{VERSION}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
%{VERSION}
––– input –––
export current_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $current_version_buddy
––– output –––
%{VERSION}
––– input –––
wget -q https://repo.manticoresearch.com/manticore-dev-repo.noarch.deb; echo $?
––– output –––
0
––– input –––
dpkg -i manticore-dev-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: keyring '/etc/apt/trusted.gpg.d/manticore-keyring.gpg' created
gpg: directory '/root/.gnupg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 14D612DB3D2730E2: public key "Manticore Search <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt -y install manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-dbgsym manticore-tools-dbgsym manticore-columnar-lib-dbgsym manticore-icudata-65l manticore-galera > /dev/null
––– output –––
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
- perl: warning: Setting locale failed.
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_focal_dev/dists/focal/main/binary-arm64/./manticore-common_7.4.7-25031012-8d0bf7bb1_all.deb  File has unexpected size (48414 != 48406). Mirror sync in progress? [IP: 49.12.119.254 80]
~ perl: warning: Please check that your locale settingsHashes of expected file:
- LANGUAGE = (unset),
+ - SHA256:47f9dbdef883be1864c17ab8c547d6bb9219365435cdee60675e0c33ea56e4af
- LC_ALL = (unset),
+ - SHA1:9ce732fc4ad300b36ab60ffe130732d7c49f64ec [weak]
- LANG = "en_US.UTF-8"
+ - MD5Sum:9e9dfd2fb2ba356fe206c54959efbd38 [weak]
- are supported and installed on your system.
+ - Filesize:48406 [weak]
- perl: warning: Falling back to the standard locale ("C").
+ E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
- debconf: delaying package configuration, since apt-utils is not installed
––– input –––
stdbuf -oL searchd --stop
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
sleep 5; stdbuf -oL searchd | head -n 9
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
––– input –––
rm /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait; stdbuf -oL searchd | head -n 15; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
%{VERSION}
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -oP 'buddy v\K[0-9]+\.[0-9]+\.[0-9]\+[^ )]*'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}\+[0-9]{8}-[0-9a-z]{8}.*/!#
––– input –––
if [[ "$new_version_searchd" > "$current_version_searchd" ]]; then echo "Upgrade successful. New version searchd: $new_version_searchd"; else echo "Upgrade failed. Current version searchd: $current_version_searchd, new version: $new_version_searchd"; fi
––– output –––
~ Upgrade successful. New version searchd: %{VERSION}failed. Current version searchd: 7.4.6, new version: 7.4.6
––– input –––
if [[ "$new_version_columnar" > "$current_version_columnar" ]]; then echo "Upgrade successful. New version columnar: $new_version_columnar"; else echo "Upgrade failed. Current version columnar: $current_version_columnar, new version: $new_version_columnar"; fi
––– output –––
~ Upgrade successful. New version columnar: %{VERSION}failed. Current version columnar: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_secondary" > "$current_version_secondary" ]]; then echo "Upgrade successful. New version secondary: $new_version_secondary"; else echo "Upgrade failed. Current version secondary: $current_version_knn, new version: $new_version_secondary"; fi
––– output –––
~ Upgrade successful. New version secondary: %{VERSION}failed. Current version secondary: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_knn" > "$current_version_knn" ]]; then echo "Upgrade successful. New version knn: $new_version_knn"; else echo "Upgrade failed. Current version knn: $current_version_knn, new version: $new_version_knn"; fi
––– output –––
~ Upgrade successful. New version knn: %{VERSION}failed. Current version knn: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_galera" > "$current_version_galera" ]] || [[ "$new_version_galera" == "$current_version_galera" ]]; then echo "Upgrade successful. New version galera: $new_version_galera"; else echo "Upgrade failed. Current version galera: $current_version_galera, new version: $new_version_galera"; fi
––– output –––
Upgrade successful. New version galera: #!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
if [[ "$new_version_buddy" > "$current_version_buddy" ]]; then echo "Upgrade successful. New version buddy: $new_version_buddy"; else echo "Upgrade failed. Current version buddy: $current_version_buddy, new version: $new_version_buddy"; fi
––– output –––
~ Upgrade successful. New version buddy: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}\+[0-9]{8}-[0-9a-z]{8}.*/!#failed. Current version buddy: 3.23.1+25022719-d2507b85, new version: 3.23.1+25022719-d2507b85
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}(?:\+[0-9]{8}-[0-9a-z]{8}.*)?/!#
––– input –––
apt-get remove -y 'manticore*' > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
dpkg -l | grep ^rc | awk '/^rc/ && /manticore/ { print $2 }'
––– output –––
manticore-common
manticore-repo
manticore-server
manticore-server-core
manticore-tools

Copy link

clt-arm64

❌ CLT tests in test/clt-tests/installation/deb-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 90s
👉 Check Action Results for commit 25b4304
Failed tests:

test/clt-tests/installation/deb-dev-update.rec
––– input –––
export PATH=/usr/bin:/usr/local/bin:/usr/sbin:/sbin:/bin
––– output –––
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y gnupg2 wget mariadb-client procps binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
wget -q https://repo.manticoresearch.com/manticore-repo.noarch.deb
––– output –––
––– input –––
dpkg -i manticore-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: key 14D612DB3D2730E2: "Manticore Search <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
stdbuf -oL searchd --version
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
––– input –––
manticore-executor -v
––– output –––
PHP %{VERSION} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (NTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
stdbuf -oL searchd
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait; stdbuf -oL searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}(?:\+[0-9]{8}-[0-9a-z]{8}.*)?/!#
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{VERSION}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{VERSION}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{VERSION}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
%{VERSION}
––– input –––
export current_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $current_version_buddy
––– output –––
%{VERSION}
––– input –––
wget -q https://repo.manticoresearch.com/manticore-dev-repo.noarch.deb; echo $?
––– output –––
0
––– input –––
dpkg -i manticore-dev-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: keyring '/etc/apt/trusted.gpg.d/manticore-keyring.gpg' created
gpg: directory '/root/.gnupg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 14D612DB3D2730E2: public key "Manticore Search <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt -y install manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-dbgsym manticore-tools-dbgsym manticore-columnar-lib-dbgsym manticore-icudata-65l manticore-galera > /dev/null
––– output –––
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
- perl: warning: Setting locale failed.
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bionic_dev/dists/bionic/main/binary-arm64/./manticore-dev_7.4.7-25031012-8d0bf7bb1_all.deb  File has unexpected size (4468 != 4458). Mirror sync in progress? [IP: 49.12.119.254 80]
~ perl: warning: Please check that your locale settingsHashes of expected file:
- LANGUAGE = (unset),
+ - SHA256:b9be430a801da11e58b9399a31ca51855b64f280880c892ae7b340594047c39b
- LC_ALL = (unset),
+ - SHA1:3716acfe0430d3e2c742e5bd04134e362ea34ac8 [weak]
- LANG = "en_US.UTF-8"
+ - MD5Sum:16e77241f161b264c18a9632e1820f1f [weak]
- are supported and installed on your system.
+ - Filesize:4458 [weak]
- perl: warning: Falling back to the standard locale ("C").
+ E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
- debconf: delaying package configuration, since apt-utils is not installed
––– input –––
stdbuf -oL searchd --stop
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
sleep 5; stdbuf -oL searchd | head -n 9
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
––– input –––
rm /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait; stdbuf -oL searchd | head -n 15; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
%{VERSION}
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -oP 'buddy v\K[0-9]+\.[0-9]+\.[0-9]\+[^ )]*'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}\+[0-9]{8}-[0-9a-z]{8}.*/!#
––– input –––
if [[ "$new_version_searchd" > "$current_version_searchd" ]]; then echo "Upgrade successful. New version searchd: $new_version_searchd"; else echo "Upgrade failed. Current version searchd: $current_version_searchd, new version: $new_version_searchd"; fi
––– output –––
~ Upgrade successful. New version searchd: %{VERSION}failed. Current version searchd: 7.4.6, new version: 7.4.6
––– input –––
if [[ "$new_version_columnar" > "$current_version_columnar" ]]; then echo "Upgrade successful. New version columnar: $new_version_columnar"; else echo "Upgrade failed. Current version columnar: $current_version_columnar, new version: $new_version_columnar"; fi
––– output –––
~ Upgrade successful. New version columnar: %{VERSION}failed. Current version columnar: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_secondary" > "$current_version_secondary" ]]; then echo "Upgrade successful. New version secondary: $new_version_secondary"; else echo "Upgrade failed. Current version secondary: $current_version_knn, new version: $new_version_secondary"; fi
––– output –––
~ Upgrade successful. New version secondary: %{VERSION}failed. Current version secondary: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_knn" > "$current_version_knn" ]]; then echo "Upgrade successful. New version knn: $new_version_knn"; else echo "Upgrade failed. Current version knn: $current_version_knn, new version: $new_version_knn"; fi
––– output –––
~ Upgrade successful. New version knn: %{VERSION}failed. Current version knn: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_galera" > "$current_version_galera" ]] || [[ "$new_version_galera" == "$current_version_galera" ]]; then echo "Upgrade successful. New version galera: $new_version_galera"; else echo "Upgrade failed. Current version galera: $current_version_galera, new version: $new_version_galera"; fi
––– output –––
Upgrade successful. New version galera: #!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
if [[ "$new_version_buddy" > "$current_version_buddy" ]]; then echo "Upgrade successful. New version buddy: $new_version_buddy"; else echo "Upgrade failed. Current version buddy: $current_version_buddy, new version: $new_version_buddy"; fi
––– output –––
~ Upgrade successful. New version buddy: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}\+[0-9]{8}-[0-9a-z]{8}.*/!#failed. Current version buddy: 3.23.1+25022719-d2507b85, new version: 3.23.1+25022719-d2507b85
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}(?:\+[0-9]{8}-[0-9a-z]{8}.*)?/!#
––– input –––
apt-get remove -y 'manticore*' > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
dpkg -l | grep ^rc | awk '/^rc/ && /manticore/ { print $2 }'
––– output –––
manticore-common
manticore-repo
manticore-server
manticore-server-core
manticore-tools

Copy link

clt-amd64

❌ CLT tests in test/clt-tests/installation/deb-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 45s
👉 Check Action Results for commit 25b4304
Failed tests:

test/clt-tests/installation/deb-dev-update.rec
––– input –––
export PATH=/usr/bin:/usr/local/bin:/usr/sbin:/sbin:/bin
––– output –––
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y gnupg2 wget mariadb-client procps binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
wget -q https://repo.manticoresearch.com/manticore-repo.noarch.deb
––– output –––
––– input –––
dpkg -i manticore-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: key 14D612DB3D2730E2: "Manticore Search <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
stdbuf -oL searchd --version
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
––– input –––
manticore-executor -v
––– output –––
PHP %{VERSION} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (NTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
stdbuf -oL searchd
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait; stdbuf -oL searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}(?:\+[0-9]{8}-[0-9a-z]{8}.*)?/!#
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{VERSION}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{VERSION}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{VERSION}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
%{VERSION}
––– input –––
export current_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $current_version_buddy
––– output –––
%{VERSION}
––– input –––
wget -q https://repo.manticoresearch.com/manticore-dev-repo.noarch.deb; echo $?
––– output –––
0
––– input –––
dpkg -i manticore-dev-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: keyring '/etc/apt/trusted.gpg.d/manticore-keyring.gpg' created
gpg: directory '/root/.gnupg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 14D612DB3D2730E2: public key "Manticore Search <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt -y install manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-dbgsym manticore-tools-dbgsym manticore-columnar-lib-dbgsym manticore-icudata-65l manticore-galera > /dev/null
––– output –––
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
- perl: warning: Setting locale failed.
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bionic_dev/dists/bionic/main/binary-amd64/./manticore-server-core_7.4.7-25031012-8d0bf7bb1_amd64.deb  File has unexpected size (10290366 != 10290364). Mirror sync in progress? [IP: 49.12.119.254 80]
~ perl: warning: Please check that your locale settingsHashes of expected file:
- LANGUAGE = (unset),
+ - SHA256:63c5ede749c379be9a8603610423afb2ad792a8f6795c1de25b015c6604e5e53
- LC_ALL = (unset),
+ - SHA1:349eec2e98b97bc3e76c1d83f24ea57d5b306994 [weak]
- LANG = "en_US.UTF-8"
+ - MD5Sum:df0a055ea3e645f04768fcc7ffeeeb55 [weak]
- are supported and installed on your system.
+ - Filesize:10290364 [weak]
- perl: warning: Falling back to the standard locale ("C").
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bionic_dev/dists/bionic/main/binary-amd64/./manticore-tools_7.4.7-25031012-8d0bf7bb1_amd64.deb  File has unexpected size (27490718 != 27490738). Mirror sync in progress? [IP: 49.12.119.254 80]
- debconf: delaying package configuration, since apt-utils is not installed
+ Hashes of expected file:
+ - SHA256:59d7afaebd28f1d32c63116b14608783a3ce63529dfeb47243f5ee2265893443
+ - SHA1:aa6059fd0a631dffe09e1a8de64457e423aeb293 [weak]
+ - MD5Sum:a1d64d7bdfe7859e0bb419152677527b [weak]
+ - Filesize:27490738 [weak]
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bionic_dev/dists/bionic/main/binary-amd64/./manticore-common_7.4.7-25031012-8d0bf7bb1_all.deb  File has unexpected size (48408 != 48412). Mirror sync in progress? [IP: 49.12.119.254 80]
+ Hashes of expected file:
+ - SHA256:3642d678fc15f741aee0b25721c84df0d9f384f200b968ff99bef9ada9f8562a
+ - SHA1:2028acc66e8e4c4bb1e2dec6d23ead5e6cec2426 [weak]
+ - MD5Sum:e332b4b58c7c16a5555fefcfe56d6f61 [weak]
+ - Filesize:48412 [weak]
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bionic_dev/dists/bionic/main/binary-amd64/./manticore_7.4.7-25031012-8d0bf7bb1_amd64.deb  File has unexpected size (1268 != 1270). Mirror sync in progress? [IP: 49.12.119.254 80]
+ Hashes of expected file:
+ - SHA256:9a6c53dfaa98b68f9668ec659fb70fb7ddfc796f533c258d61a4003419a7f26c
+ - SHA1:7bb7e1df768c4e753922094448f4af6f39103f1b [weak]
+ - MD5Sum:45c4cc465183b4b0ecf091ad9fa988f5 [weak]
+ - Filesize:1270 [weak]
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bionic_dev/dists/bionic/main/binary-amd64/./manticore-server_7.4.7-25031012-8d0bf7bb1_amd64.deb  File has unexpected size (3116 != 3122). Mirror sync in progress? [IP: 49.12.119.254 80]
+ Hashes of expected file:
+ - SHA256:0c64d9e5ac8ea1622b2517d5ab0cf51100395482269f91d9b6c3e79c424d3302
+ - SHA1:49d9fa435ad2ca06f1d22328dceb06fc84f22091 [weak]
+ - MD5Sum:87615cf1e14389d5c6ff4d4ccf27f8d8 [weak]
+ - Filesize:3122 [weak]
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bionic_dev/dists/bionic/main/binary-amd64/./manticore-dev_7.4.7-25031012-8d0bf7bb1_all.deb  File has unexpected size (4468 != 4464). Mirror sync in progress? [IP: 49.12.119.254 80]
+ Hashes of expected file:
+ - SHA256:de8285f1bf63342b61a5c55fa2282ffc46b5c7f9606c7774a19ab44d60c32741
+ - SHA1:7f5b1cb4bf9c7c67586cea3f0f5f9c13095b40b3 [weak]
+ - MD5Sum:10b1c6708115d545fa9140ac0f8e061a [weak]
+ - Filesize:4464 [weak]
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bionic_dev/dists/bionic/main/binary-amd64/./manticore-server-core-dbgsym_7.4.7-25031012-8d0bf7bb1_amd64.ddeb  Hash Sum mismatch
+ Hashes of expected file:
+ - SHA256:42e25e2db037cb5b1daf40e98fa5781efc11fe26c63191bd36aa80647f1d8092
+ - SHA1:253c776a5290700a8189c65b360f32430b10d90e [weak]
+ - MD5Sum:3109fb44cebc97c0d5c791a31e17ca63 [weak]
+ - Filesize:39294988 [weak]
+ Hashes of received file:
+ - SHA256:55f0da299c2064681bb4ace72ba3c2613c9e8e6f22cd4feb3b56d33a70867596
+ - SHA1:126dccefd8a4abb2b740ce4c914641d4be2ace84 [weak]
+ - MD5Sum:f458185a53404f42a91f35baaf69ed5b [weak]
+ - Filesize:39294988 [weak]
+ Last modification reported: Wed, 12 Mar 2025 00:11:36 +0000
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bionic_dev/dists/bionic/main/binary-amd64/./manticore-tools-dbgsym_7.4.7-25031012-8d0bf7bb1_amd64.ddeb  File has unexpected size (127437486 != 127437490). Mirror sync in progress? [IP: 49.12.119.254 80]
+ Hashes of expected file:
+ - SHA256:926961397ab5795818da07063d8b31cb4651c59d15491bfb3027803e56563b40
+ - SHA1:08111ca258c9e3cc10f9fd61c880a2c075212f3a [weak]
+ - MD5Sum:593bee8fce9ef102b0315115ab54e2d5 [weak]
+ - Filesize:127437490 [weak]
+ E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
––– input –––
stdbuf -oL searchd --stop
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
sleep 5; stdbuf -oL searchd | head -n 9
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
––– input –––
rm /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait; stdbuf -oL searchd | head -n 15; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
%{VERSION}
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -oP 'buddy v\K[0-9]+\.[0-9]+\.[0-9]\+[^ )]*'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}\+[0-9]{8}-[0-9a-z]{8}.*/!#
––– input –––
if [[ "$new_version_searchd" > "$current_version_searchd" ]]; then echo "Upgrade successful. New version searchd: $new_version_searchd"; else echo "Upgrade failed. Current version searchd: $current_version_searchd, new version: $new_version_searchd"; fi
––– output –––
~ Upgrade successful. New version searchd: %{VERSION}failed. Current version searchd: 7.4.6, new version: 7.4.6
––– input –––
if [[ "$new_version_columnar" > "$current_version_columnar" ]]; then echo "Upgrade successful. New version columnar: $new_version_columnar"; else echo "Upgrade failed. Current version columnar: $current_version_columnar, new version: $new_version_columnar"; fi
––– output –––
~ Upgrade successful. New version columnar: %{VERSION}failed. Current version columnar: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_secondary" > "$current_version_secondary" ]]; then echo "Upgrade successful. New version secondary: $new_version_secondary"; else echo "Upgrade failed. Current version secondary: $current_version_knn, new version: $new_version_secondary"; fi
––– output –––
~ Upgrade successful. New version secondary: %{VERSION}failed. Current version secondary: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_knn" > "$current_version_knn" ]]; then echo "Upgrade successful. New version knn: $new_version_knn"; else echo "Upgrade failed. Current version knn: $current_version_knn, new version: $new_version_knn"; fi
––– output –––
~ Upgrade successful. New version knn: %{VERSION}failed. Current version knn: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_galera" > "$current_version_galera" ]] || [[ "$new_version_galera" == "$current_version_galera" ]]; then echo "Upgrade successful. New version galera: $new_version_galera"; else echo "Upgrade failed. Current version galera: $current_version_galera, new version: $new_version_galera"; fi
––– output –––
Upgrade successful. New version galera: #!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
if [[ "$new_version_buddy" > "$current_version_buddy" ]]; then echo "Upgrade successful. New version buddy: $new_version_buddy"; else echo "Upgrade failed. Current version buddy: $current_version_buddy, new version: $new_version_buddy"; fi
––– output –––
~ Upgrade successful. New version buddy: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}\+[0-9]{8}-[0-9a-z]{8}.*/!#failed. Current version buddy: 3.23.1+25022719-d2507b85, new version: 3.23.1+25022719-d2507b85
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}(?:\+[0-9]{8}-[0-9a-z]{8}.*)?/!#
––– input –––
apt-get remove -y 'manticore*' > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
dpkg -l | grep ^rc | awk '/^rc/ && /manticore/ { print $2 }'
––– output –––
manticore-common
manticore-repo
manticore-server
manticore-server-core
manticore-tools

Copy link

clt-amd64

❌ CLT tests in test/clt-tests/installation/deb-dev-update
✅ OK: 0
❌ Failed: 1
⏳ Duration: 46s
👉 Check Action Results for commit 25b4304
Failed tests:

test/clt-tests/installation/deb-dev-update.rec
––– input –––
export PATH=/usr/bin:/usr/local/bin:/usr/sbin:/sbin:/bin
––– output –––
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y gnupg2 wget mariadb-client procps binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
wget -q https://repo.manticoresearch.com/manticore-repo.noarch.deb
––– output –––
––– input –––
dpkg -i manticore-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: key 14D612DB3D2730E2: "Manticore Search <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
stdbuf -oL searchd --version
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
––– input –––
manticore-executor -v
––– output –––
PHP %{VERSION} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (NTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
stdbuf -oL searchd
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait; stdbuf -oL searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}(?:\+[0-9]{8}-[0-9a-z]{8}.*)?/!#
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{VERSION}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{VERSION}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{VERSION}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
%{VERSION}
––– input –––
export current_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $current_version_buddy
––– output –––
%{VERSION}
––– input –––
wget -q https://repo.manticoresearch.com/manticore-dev-repo.noarch.deb; echo $?
––– output –––
0
––– input –––
dpkg -i manticore-dev-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: keyring '/etc/apt/trusted.gpg.d/manticore-keyring.gpg' created
gpg: directory '/root/.gnupg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 14D612DB3D2730E2: public key "Manticore Search <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt -y install manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-dbgsym manticore-tools-dbgsym manticore-columnar-lib-dbgsym manticore-icudata-65l manticore-galera > /dev/null
––– output –––
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
- perl: warning: Setting locale failed.
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bookworm_dev/dists/bookworm/main/binary-amd64/./manticore-tools_7.4.7-25031012-8d0bf7bb1_amd64.deb  File has unexpected size (27493240 != 27493244). Mirror sync in progress? [IP: 49.12.119.254 80]
~ perl: warning: Please check that your locale settingsHashes of expected file:
- LANGUAGE = (unset),
+ - SHA256:0f15376d1a437741936f9a2a585c4d731afb0fa2953781398623fd86d4ea441c
- LC_ALL = (unset),
+ - SHA1:c9e5bc5b4c9301158ead6d5268cd3556cf814f4c [weak]
- LANG = "en_US.UTF-8"
+ - MD5Sum:504fb60a3f1bf530e69609641be7da01 [weak]
- are supported and installed on your system.
+ - Filesize:27493244 [weak]
- perl: warning: Falling back to the standard locale ("C").
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bookworm_dev/dists/bookworm/main/binary-amd64/./manticore-server-core_7.4.7-25031012-8d0bf7bb1_amd64.deb  File has unexpected size (10287994 != 10288006). Mirror sync in progress? [IP: 49.12.119.254 80]
- debconf: delaying package configuration, since apt-utils is not installed
+ Hashes of expected file:
+ - SHA256:d16a1e5be82d5d1f8d9da844a67df50956e8b56b6ac5c53fd9afd04876d028ca
+ - SHA1:7462e1e1efd0ed8bd235ecd5f0babad82e25972b [weak]
+ - MD5Sum:66d343e99a8a275c06115ed266153f78 [weak]
+ - Filesize:10288006 [weak]
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bookworm_dev/dists/bookworm/main/binary-amd64/./manticore-common_7.4.7-25031012-8d0bf7bb1_all.deb  File has unexpected size (48406 != 48414). Mirror sync in progress? [IP: 49.12.119.254 80]
+ Hashes of expected file:
+ - SHA256:245e8f9161b311544411f6ae39bc4b9c253f1c7fa20cd8031e10494205bd6e21
+ - SHA1:4d4df991721a4d0e21829ff2430acc13ed8ca02c [weak]
+ - MD5Sum:ef6acc08a1d48b4059b8c689eac01f9a [weak]
+ - Filesize:48414 [weak]
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bookworm_dev/dists/bookworm/main/binary-amd64/./manticore_7.4.7-25031012-8d0bf7bb1_amd64.deb  File has unexpected size (1268 != 1270). Mirror sync in progress? [IP: 49.12.119.254 80]
+ Hashes of expected file:
+ - SHA256:89752691dbb5dd3f2bcbc1a12cdca8b3e0c3315021c55b3f35ce154ef70e9926
+ - SHA1:d4029b34d7754ca8ac3bcc1822fd59451ccc83e0 [weak]
+ - MD5Sum:5c3d62a115d5e86fc3bec3719022bb65 [weak]
+ - Filesize:1270 [weak]
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bookworm_dev/dists/bookworm/main/binary-amd64/./manticore-server_7.4.7-25031012-8d0bf7bb1_amd64.deb  File has unexpected size (3066 != 3068). Mirror sync in progress? [IP: 49.12.119.254 80]
+ Hashes of expected file:
+ - SHA256:8517c28c6725ae59e37e789d27b75fabf8fb5007d59562584369b7401c4da223
+ - SHA1:2d8dfd7bbe5602d60386911ac240228d1bf00460 [weak]
+ - MD5Sum:10b95b7a4fbaa78e88dac21dfeb878a2 [weak]
+ - Filesize:3068 [weak]
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bookworm_dev/dists/bookworm/main/binary-amd64/./manticore-dev_7.4.7-25031012-8d0bf7bb1_all.deb  Hash Sum mismatch
+ Hashes of expected file:
+ - SHA256:0a2388c4cd89faebddf738b144735fff08e1ca618bae7d85559e9582045a251d
+ - SHA1:e791ba04aafb8cdea6598c8bf13e951780435480 [weak]
+ - MD5Sum:0914f9bf2da0f9e9effa388ad765ec1b [weak]
+ - Filesize:4460 [weak]
+ Hashes of received file:
+ - SHA256:fa98e220c1d4de55ccd2db9bdfe4f3f8f8a0c8534bc84295c1e0c1b26d2347a0
+ - SHA1:9eaadd645bbdb1ad9f790a3ef63ba062a1149209 [weak]
+ - MD5Sum:172c979dd69fa0ed85f9b6d3c0283831 [weak]
+ - Filesize:4460 [weak]
+ Last modification reported: Wed, 12 Mar 2025 00:12:57 +0000
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bookworm_dev/dists/bookworm/main/binary-amd64/./manticore-server-core-dbgsym_7.4.7-25031012-8d0bf7bb1_amd64.ddeb  File has unexpected size (37077352 != 37077332). Mirror sync in progress? [IP: 49.12.119.254 80]
+ Hashes of expected file:
+ - SHA256:ab63c8996cdf8b571466833a420e20e088575028ab29b9054d8324aa98d6bfd3
+ - SHA1:f688dfe99f1c7705c0548fe0276c76db460157ce [weak]
+ - MD5Sum:765969d45516f5f296e7ca0ea0c817eb [weak]
+ - Filesize:37077332 [weak]
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bookworm_dev/dists/bookworm/main/binary-amd64/./manticore-tools-dbgsym_7.4.7-25031012-8d0bf7bb1_amd64.ddeb  File has unexpected size (117751216 != 117751206). Mirror sync in progress? [IP: 49.12.119.254 80]
+ Hashes of expected file:
+ - SHA256:826646fec2aa2dc7e14ea162600f86b380204595e5c339d7dedee83489a38525
+ - SHA1:b63b2ab342865e08f7f891c9f93eb542e44c135d [weak]
+ - MD5Sum:52781d4233e9e21312ec11d7385bb859 [weak]
+ - Filesize:117751206 [weak]
+ E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
––– input –––
stdbuf -oL searchd --stop
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
sleep 5; stdbuf -oL searchd | head -n 9
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
––– input –––
rm /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait; stdbuf -oL searchd | head -n 15; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
%{VERSION}
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -oP 'buddy v\K[0-9]+\.[0-9]+\.[0-9]\+[^ )]*'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}\+[0-9]{8}-[0-9a-z]{8}.*/!#
––– input –––
if [[ "$new_version_searchd" > "$current_version_searchd" ]]; then echo "Upgrade successful. New version searchd: $new_version_searchd"; else echo "Upgrade failed. Current version searchd: $current_version_searchd, new version: $new_version_searchd"; fi
––– output –––
~ Upgrade successful. New version searchd: %{VERSION}failed. Current version searchd: 7.4.6, new version: 7.4.6
––– input –––
if [[ "$new_version_columnar" > "$current_version_columnar" ]]; then echo "Upgrade successful. New version columnar: $new_version_columnar"; else echo "Upgrade failed. Current version columnar: $current_version_columnar, new version: $new_version_columnar"; fi
––– output –––
~ Upgrade successful. New version columnar: %{VERSION}failed. Current version columnar: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_secondary" > "$current_version_secondary" ]]; then echo "Upgrade successful. New version secondary: $new_version_secondary"; else echo "Upgrade failed. Current version secondary: $current_version_knn, new version: $new_version_secondary"; fi
––– output –––
~ Upgrade successful. New version secondary: %{VERSION}failed. Current version secondary: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_knn" > "$current_version_knn" ]]; then echo "Upgrade successful. New version knn: $new_version_knn"; else echo "Upgrade failed. Current version knn: $current_version_knn, new version: $new_version_knn"; fi
––– output –––
~ Upgrade successful. New version knn: %{VERSION}failed. Current version knn: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_galera" > "$current_version_galera" ]] || [[ "$new_version_galera" == "$current_version_galera" ]]; then echo "Upgrade successful. New version galera: $new_version_galera"; else echo "Upgrade failed. Current version galera: $current_version_galera, new version: $new_version_galera"; fi
––– output –––
Upgrade successful. New version galera: #!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
if [[ "$new_version_buddy" > "$current_version_buddy" ]]; then echo "Upgrade successful. New version buddy: $new_version_buddy"; else echo "Upgrade failed. Current version buddy: $current_version_buddy, new version: $new_version_buddy"; fi
––– output –––
~ Upgrade successful. New version buddy: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}\+[0-9]{8}-[0-9a-z]{8}.*/!#failed. Current version buddy: 3.23.1+25022719-d2507b85, new version: 3.23.1+25022719-d2507b85
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}(?:\+[0-9]{8}-[0-9a-z]{8}.*)?/!#
––– input –––
apt-get remove -y 'manticore*' > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
dpkg -l | grep ^rc | awk '/^rc/ && /manticore/ { print $2 }'
––– output –––
manticore-common
manticore-repo
manticore-server
manticore-server-core
manticore-tools

Copy link

clt

❌ CLT tests in test/clt-tests/plugins/
✅ OK: 0
❌ Failed: 1
⏳ Duration: 10s
👉 Check Action Results for commit 25b4304
Failed tests:

test/clt-tests/plugins/test-enable-disable-buddy-plugin.rec
––– input –––
rm -f /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait > /dev/null; stdbuf -oL searchd > /dev/null
––– output –––
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
mysql -h0 -P9306 -e "SHOW QUERIES\G"|grep "1. row"
––– output –––
*************************** 1. row ***************************
––– input –––
mysql -h0 -P9306 -e "DISABLE BUDDY PLUGIN manticoresoftware/buddy-plugin-show"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW QUERIES"
––– output –––
ERROR 1064 (42000) at line 1: Plugin 'show' is disabled
––– input –––
mysql -h0 -P9306 -e "ENABLE BUDDY PLUGIN manticoresoftware/buddy-plugin-show"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW QUERIES\G"|grep "1. row"
––– output –––
*************************** 1. row ***************************
––– input –––
mysql -h0 -P9306 -e "create table t (id bigint, vector float_vector knn_type='hnsw' knn_dims='4' hnsw_similarity='l2')"
––– output –––
+ ERROR 1064 (42000) at line 1: error adding table 't': knn library not loaded
––– input –––
mysql -h0 -P9306 -e "select id, knn_dist() from t where knn ( image_vector, 5, 1 );"
––– output –––
+ ERROR 1064 (42000) at line 1: unknown local table(s) 't' in search request
––– input –––
mysql -h0 -P9306 -e "DISABLE BUDDY PLUGIN manticoresoftware/buddy-plugin-knn"
––– output –––
––– input –––
mysql -h0 -P9306 -e "select id, knn_dist() from t where knn ( image_vector, 5, 1 );"
––– output –––
ERROR 1064 (42000) at line 1: Plugin 'knn' is disabled
––– input –––
mysql -h0 -P9306 -e "ENABLE BUDDY PLUGIN manticoresoftware/buddy-plugin-knn"
––– output –––
––– input –––
mysql -h0 -P9306 -e "select id, knn_dist() from t where knn ( image_vector, 5, 1 );"
––– output –––
+ ERROR 1064 (42000) at line 1: unknown local table(s) 't' in search request

Copy link

clt

❌ CLT tests in test/clt-tests/optimisation-and-update/
✅ OK: 0
❌ Failed: 1
⏳ Duration: 74s
👉 Check Action Results for commit 25b4304
Failed tests:

test/clt-tests/optimisation-and-update/test-optimisation-and-update.rec
––– input –––
rm -f /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait > /dev/null; stdbuf -oL searchd > /dev/null
––– output –––
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y bc > /dev/null; echo $?
––– output –––
debconf: delaying package configuration, since apt-utils is not installed
0
––– input –––
chmod +x ./test/clt-tests/scripts/load_names_attr.php > /dev/null; echo $?
––– output –––
0
––– input –––
php -d memory_limit=2G ./test/clt-tests/scripts/load_names_attr.php --batch-size=100000 --concurrency=4 --docs=2000000 --start-id=1 --drop-table > /dev/null; echo $?
––– output –––
0
––– input –––
mysql -h0 -P9306 -e "FLUSH RAMCHUNK name;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "OPTIMIZE TABLE name OPTION sync=1, cutoff=2;"
––– output –––
––– input –––
sleep 1 && mysql -h0 -P9306 -e "show table name status like '%chunk%';"
––– output –––
+--------------------------+-------+
| Variable_name            | Value |
+--------------------------+-------+
| ram_chunk                | 0     |
| ram_chunk_segments_count | 0     |
| disk_chunks              | 2     |
+--------------------------+-------+
––– input –––
mysql -h0 -P9306 -e "SELECT COUNT(*) FROM name;"
––– output –––
+----------+
| count(*) |
+----------+
|  2000000 |
+----------+
––– input –––
php -d memory_limit=2G ./test/clt-tests/scripts/load_names_attr.php --batch-size=100000 --concurrency=4 --docs=2000000 --start-id=2000001 --no-drop-table > /dev/null; echo $?
––– output –––
0
––– input –––
mysql -h0 -P9306 -e "FLUSH RAMCHUNK name;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "OPTIMIZE TABLE name OPTION sync=1, cutoff=2;"
––– output –––
––– input –––
sleep 5 && mysql -h0 -P9306 -e "show table name status like '%chunk%';"
––– output –––
+--------------------------+-------+
| Variable_name            | Value |
+--------------------------+-------+
| ram_chunk                | 0     |
| ram_chunk_segments_count | 0     |
| disk_chunks              | 2     |
+--------------------------+-------+
––– input –––
mysql -h0 -P9306 -e "SELECT COUNT(*) FROM name;"
––– output –––
+----------+
| count(*) |
+----------+
|  4000000 |
+----------+
––– input –––
rm -f /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait > /dev/null; (stdbuf -oL searchd 2>&1 | tee /var/log/manticore/searchd.log | grep -i precach & disown); sleep 0.5; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log; fi
––– output –––
precaching table 'name'
precached 1 tables in #!/[0-9]{1}.[0-9]{3}/!# sec
Buddy started!
––– input –––
mysql -h0 -P9306 -e "SHOW TABLES;"
––– output –––
+-------+------+
| Table | Type |
+-------+------+
| name  | rt   |
+-------+------+
––– input –––
mysql -h0 -P9306 -e "show table name status like '%chunk%';"
––– output –––
+--------------------------+-------+
| Variable_name            | Value |
+--------------------------+-------+
| ram_chunk                | 0     |
| ram_chunk_segments_count | 0     |
| disk_chunks              | 2     |
+--------------------------+-------+
––– input –––
mysql -h0 -P9306 -e "select * from name ORDER BY id ASC LIMIT 5;"
––– output –––
~ +------+------------------+------+
~ | id   | username         | s    |
~ +------+------------------+------+
~ |    1 | TARRA NORTHCIRA HINOJOSA    | a    |
~ |    2 | CARSON BALLDENICE HATTON    | a    |
~ |    3 | TALIA TEAGUEJOAQUIN FOLEY    | a    |
~ |    4 | ALAYNA KIMBALLREBEKAH CARLISLE | a    |
~ |    5 | ZULMA RINEHARTEVE GUAJARDO     | a    |
~ +------+------------------+------+
––– input –––
start_optimize=$(date +%s); time mysql -h0 -P9306 -e "OPTIMIZE TABLE name OPTION sync=1, cutoff=1;" &
––– output –––
- [%{NUMBER}] %{NUMBER}
––– input –––
sleep 2 && start_update=$(date +%s); time_taken_update=$( { time mysql -h0 -P9306 -e "UPDATE name SET s='b' WHERE id=1;" > /dev/null 2>&1; } 2>&1 | grep real | awk '{print $2}'); update_duration=$(echo "$time_taken_update" | awk -F'm' '{print ($1 * 60) + $2}'); if (( $(echo "$update_duration > 1" | bc -l) )); then echo "FAIL: Update took longer than 1 second!"; exit 1; else echo "Update completed within acceptable time."; fi
––– output –––
Update completed within acceptable time.
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE s='b' ORDER BY id ASC LIMIT 5;"
––– output –––
~ +------+---------------+------+
~ | id   | username      | s    |
~ +------+---------------+------+
~ |    1 | TARRA NORTHCIRA HINOJOSA | b    |
~ +------+---------------+------+
––– input –––
start_update=$(date +%s); time_taken_update=$( { time mysql -h0 -P9306 -e "UPDATE name SET s=123 WHERE id=1;" > /dev/null 2>&1; } 2>&1 | grep real | awk '{print $2}'); update_duration=$(echo "$time_taken_update" | awk -F'm' '{print ($1 * 60) + $2}'); if (( $(echo "$update_duration > 1" | bc -l) )); then echo "FAIL: Update took longer than 1 second!"; exit 1; else echo "Update completed within acceptable time."; fi
––– output –––
Update completed within acceptable time.
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE s='b' ORDER BY id ASC LIMIT 5;"
––– output –––
~ +------+---------------+------+
~ | id   | username      | s    |
~ +------+---------------+------+
~ |    1 | TARRA NORTHCIRA HINOJOSA | b    |
~ +------+---------------+------+
––– input –––
start_update=$(date +%s); time_taken_update=$( { time mysql -h0 -P9306 -e "UPDATE name SET s='b' WHERE id > 0;" > /dev/null 2>&1; } 2>&1 | grep real | awk '{print $2}'); update_duration=$(echo "$time_taken_update" | awk -F'm' '{print ($1 * 60) + $2}'); if (( $(echo "$update_duration > 3" | bc -l) )); then echo "FAIL: Update took longer than 3 seconds!"; false; else echo "Update completed within acceptable time."; fi
––– output –––
Update completed within acceptable time.
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE s='b' ORDER BY id ASC LIMIT 5;"
––– output –––
~ +------+------------------+------+
~ | id   | username         | s    |
~ +------+------------------+------+
~ |    1 | TARRA NORTHCIRA HINOJOSA    | b    |
~ |    2 | CARSON BALLDENICE HATTON    | b    |
~ |    3 | TALIA TEAGUEJOAQUIN FOLEY    | b    |
~ |    4 | ALAYNA KIMBALLREBEKAH CARLISLE | b    |
~ |    5 | ZULMA RINEHARTEVE GUAJARDO     | b    |
~ +------+------------------+------+
––– input –––
start_update=$(date +%s); time_taken_update=$(mysql -h0 -P9306 -e "UPDATE name SET unknown='b' WHERE id=1;" 2>&1); update_duration=$(( $(date +%s) - start_update )); [[ "$time_taken_update" == *"ERROR"* ]] && echo "$time_taken_update"; if (( update_duration <= 1 )); then echo "The command is completed within a reasonable time frame."; else echo "FAIL: Update took longer than 1 second!"; false; fi
––– output –––
ERROR 1064 (42000) at line 1: table name: attribute 'unknown' not found
The command is completed within a reasonable time frame.
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE s='b' ORDER BY id ASC LIMIT 5;"
––– output –––
~ +------+------------------+------+
~ | id   | username         | s    |
~ +------+------------------+------+
~ |    1 | TARRA NORTHCIRA HINOJOSA    | b    |
~ |    2 | CARSON BALLDENICE HATTON    | b    |
~ |    3 | TALIA TEAGUEJOAQUIN FOLEY    | b    |
~ |    4 | ALAYNA KIMBALLREBEKAH CARLISLE | b    |
~ |    5 | ZULMA RINEHARTEVE GUAJARDO     | b    |
~ +------+------------------+------+
––– input –––
{ command time wait > /dev/null 2>&1; } 2>&1 | grep -v "real" | grep -v "user" | grep -v "sys"; end_optimize=$(date +%s); optimize_duration=$((end_optimize - start_optimize)); echo "OPTIMIZE duration: $optimize_duration seconds"
––– output –––
OPTIMIZE duration: %{NUMBER} seconds

Copy link

clt

❌ CLT tests in test/clt-tests/buddy/
✅ OK: 5
❌ Failed: 3
⏳ Duration: 116s
👉 Check Action Results for commit 25b4304
Failed tests:

test/clt-tests/buddy/test-knn-search-by-doc-id.rec
––– input –––
stdbuf -oL searchd > /dev/null; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Buddy started!
––– input –––
curl -s localhost:9308/cli -d "create table test ( test_vector float_vector knn_type='hnsw' knn_dims='2' hnsw_similarity='l2' )" > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
curl -s localhost:9308/cli -d 'insert into test values ( 2, (0.2,0.3) ), ( 3, (0.2,0.7) ), ( 4, (0.3,0.5) ), ( 5, (0.5,0.5) ), ( 6, (0.7,0.2) ), ( 10, (0.9,0.9) )' > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
curl -s localhost:9308/search -d '{"index":"test","knn":{"field":"test_vector","doc_id":3,"k":5}}'; echo $?
––– output –––
~ {"took":%{NUMBER},"timed_out":false,"hits":{"total":%{NUMBER},"total_relation":"eq","hits":[{"_id":%{NUMBER},"_score":%{NUMBER},"_knn_dist":#!/[0-9]{1}.[0-9]{2}/!#,"_source":{"test_vector":[#!/[0-9]{1}.[0-9],[0-9]{1}.[0-9]/!#]}},{"_id":%{NUMBER},"_score":%{NUMBER},"_knn_dist":#!/[0-9]{1}.[0-9]{2}/!#,"_source":{"test_vector":[#!/[0-9]{1}.[0-9],[0-9]{1}.[0-9]/!#]}},{"_id":%{NUMBER},"_score":%{NUMBER},"_knn_dist":#!/[0-9]{1}.[0-9]+/!#,"_source":{"test_vector":[#!/[0-9]{1}.[0-9],[0-9]{1}.[0-9]/!#]}},{"_id":%{NUMBER},"_score":%{NUMBER},"_knn_dist":#!/[0-9]{1}.[0-9]{1}/!#,"_source":{"test_vector":[#!/[0-9]{1}.[0-9],[0-9]{1}.[0-9]/!#]}},{"_id":%{NUMBER},"_score":%{NUMBER},"_knn_dist":#!/[0-9]{1}.[0-9]{2}/!#,"_source":{"test_vector":[#!/[0-9]{1}.[0-9],[0-9]{1}.[0-9]/!#]}}]}error":"unknown local table(s) 'test' in search request"}0
test/clt-tests/buddy/test-inconsistency-in-error-messages.rec
––– input –––
echo -e 'common {\n\tplugin_dir = /usr/local/lib/manticore\n\tlemmatizer_base = /usr/share/manticore/morph/\n}\n\nsearchd {\n\tlisten = 9306:mysql41\n\tlisten = 9312\n\tlisten = 9308:http\n\tlog = /var/log/manticore/searchd.log\n\tquery_log = /var/log/manticore/query.log\n\tpid_file = /var/log/manticore/searchd.pid\n\tdata_dir = /var/log/manticore\n\tquery_log_format = sphinxql\n\tquery_log_commands = 1\n\tbuddy_path =\n}\n' > manticore.conf
––– output –––
––– input –––
stdbuf -oL searchd --config ./manticore.conf > /dev/null
––– output –––
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
mysql -h0 -P9306 -e "drop table if exists a; drop table if exists test; create table a (id BIGINT, model TEXT, storage_capacity INTEGER, color string, release_year INTEGER, price FLOAT, discounted_price FLOAT, sold BOOL, date_added TIMESTAMP, product_codes MULTI, values MULTI64, additional_info JSON, vector float_vector knn_type='hnsw' knn_dims='4' hnsw_similarity='l2');create table test type='distributed' local='a';"
––– output –––
+ ERROR 1064 (42000) at line 1: error adding table 'a': knn library not loaded
––– input –––
for i in {1..100}; do response=$(curl -s -X POST http://localhost:9308/insert -d '{"table": "test", "id": 1, "doc": {"model": "iPhone 13 Pro", "storage_capacity": 256, "color": "silver", "release_year": 2021, "price": 1099.99, "discounted_price": 989.99, "sold": 1, "date_added": 1591362342000, "product_codes": [1,2,3], "values": [523456764345678976,98765409877866654098,1109876543450987650987], "additional_info": {"features": ["ProMotion display", "A15 Bionic chip", "Ceramic Shield front cover"]}, "vector": [0.773448,0.312478,0.137971,0.459821]}}'); if [[ "$response" != *'"error":{"type":"action_request_validation_exception","reason":"table '\''test'\'' does not support INSERT","table":"test"},"status":409'* ]]; then echo "Mismatch found at iteration $i: $response"; exit 1; fi; done; echo "All 100 requests returned the same error"
––– output –––
- All 100 requests returned the same error
+ Mismatch found at iteration 1: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 2: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 3: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 4: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 5: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 6: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 7: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 8: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 9: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 10: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 11: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 12: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 13: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 14: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 15: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 16: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 17: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 18: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 19: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 20: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 21: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 22: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 23: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 24: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 25: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 26: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 27: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 28: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 29: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 30: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 31: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 32: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 33: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 34: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 35: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 36: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 37: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 38: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 39: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 40: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 41: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 42: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 43: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 44: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 45: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 46: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 47: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 48: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 49: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 50: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 51: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 52: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 53: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 54: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 55: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 56: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 57: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 58: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 59: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 60: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 61: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 62: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 63: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 64: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 65: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 66: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 67: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 68: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 69: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 70: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 71: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 72: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 73: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 74: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 75: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 76: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 77: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 78: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 79: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 80: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 81: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 82: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 83: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 84: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 85: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 86: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 87: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 88: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 89: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 90: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 91: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 92: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 93: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 94: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 95: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 96: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 97: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 98: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 99: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ Mismatch found at iteration 100: {"error":{"type":"action_request_validation_exception","reason":"table 'test' absent","table":"test"},"status":409}
+ bash: line 13: exit: command not found
+ All 100 requests returned the same error
test/clt-tests/buddy/test-inconsistent-comunication-with-buddy.rec
––– input –––
stdbuf -oL searchd > /dev/null; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Buddy started!
––– input –––
apt-get install jq -y > /dev/null; echo $?
––– output –––
debconf: delaying package configuration, since apt-utils is not installed
0
––– input –––
curl -s -X POST "http://localhost:9308/sql?mode=raw" -d "query=SHOW TABLES"; echo
––– output –––
[{
"columns":[{"Table":{"type":"string"}},{"Type":{"type":"string"}}],
"data":[
],
"total":%{NUMBER},
"error":"",
"warning":""
}]
––– input –––
curl -s "http://localhost:9308/sql?mode=raw&query=SHOW%20TABLES"; echo
––– output –––
[{
"columns":[{"Table":{"type":"string"}},{"Type":{"type":"string"}}],
"data":[
],
"total":%{NUMBER},
"error":"",
"warning":""
}]
––– input –––
curl -s -X POST "http://localhost:9308/sql?raw_response=true" -d "query=SHOW TABLES"; echo
––– output –––
[{
"columns":[{"Table":{"type":"string"}},{"Type":{"type":"string"}}],
"data":[
],
"total":%{NUMBER},
"error":"",
"warning":""
}]
––– input –––
curl -s "http://localhost:9308/sql?raw_response=true&query=SHOW%20TABLES"; echo
––– output –––
[{
"columns":[{"Table":{"type":"string"}},{"Type":{"type":"string"}}],
"data":[
],
"total":%{NUMBER},
"error":"",
"warning":""
}]
––– input –––
curl -s -X POST "http://localhost:9308/sql?mode=raw" -d "query=SHOW VARIABLES"; echo
––– output –––
[{
"columns":[{"Variable_name":{"type":"string"}},{"Value":{"type":"string"}}],
"data":[
{"Variable_name":"autocommit","Value":"%{NUMBER}"},
{"Variable_name":"auto_optimize","Value":"%{NUMBER}"},
{"Variable_name":"optimize_cutoff","Value":"%{NUMBER}"},
{"Variable_name":"collation_connection","Value":"libc_ci"},
{"Variable_name":"query_log_format","Value":"sphinxql"},
{"Variable_name":"session_read_only","Value":"%{NUMBER}"},
{"Variable_name":"log_level","Value":"info"},
{"Variable_name":"max_allowed_packet","Value":"134217728"},
{"Variable_name":"character_set_client","Value":"utf8"},
{"Variable_name":"character_set_connection","Value":"utf8"},
{"Variable_name":"grouping_in_utc","Value":"%{NUMBER}"},
{"Variable_name":"timezone","Value":"/etc/localtime"},
{"Variable_name":"last_insert_id","Value":""},
{"Variable_name":"pseudo_sharding","Value":"%{NUMBER}"},
{"Variable_name":"secondary_indexes","Value":"%{NUMBER}"},
{"Variable_name":"accurate_aggregation","Value":"%{NUMBER}"},
{"Variable_name":"distinct_precision_threshold","Value":"3500"},
{"Variable_name":"threads_ex_effective","Value":""},
{"Variable_name":"cluster_user","Value":"cluster"},
{"Variable_name":"thread_stack","Value":"%{NUMBER}"},
{"Variable_name":"threads_ex","Value":""},
{"Variable_name":"user","Value":""}
],
"total":%{NUMBER},
"error":"",
"warning":""
}]
––– input –––
curl -s "http://localhost:9308/sql?mode=raw&query=SHOW%20VARIABLES"; echo
––– output –––
[{
"columns":[{"Variable_name":{"type":"string"}},{"Value":{"type":"string"}}],
"data":[
{"Variable_name":"autocommit","Value":"%{NUMBER}"},
{"Variable_name":"auto_optimize","Value":"%{NUMBER}"},
{"Variable_name":"optimize_cutoff","Value":"%{NUMBER}"},
{"Variable_name":"collation_connection","Value":"libc_ci"},
{"Variable_name":"query_log_format","Value":"sphinxql"},
{"Variable_name":"session_read_only","Value":"%{NUMBER}"},
{"Variable_name":"log_level","Value":"info"},
{"Variable_name":"max_allowed_packet","Value":"134217728"},
{"Variable_name":"character_set_client","Value":"utf8"},
{"Variable_name":"character_set_connection","Value":"utf8"},
{"Variable_name":"grouping_in_utc","Value":"%{NUMBER}"},
{"Variable_name":"timezone","Value":"/etc/localtime"},
{"Variable_name":"last_insert_id","Value":""},
{"Variable_name":"pseudo_sharding","Value":"%{NUMBER}"},
{"Variable_name":"secondary_indexes","Value":"%{NUMBER}"},
{"Variable_name":"accurate_aggregation","Value":"%{NUMBER}"},
{"Variable_name":"distinct_precision_threshold","Value":"3500"},
{"Variable_name":"threads_ex_effective","Value":""},
{"Variable_name":"cluster_user","Value":"cluster"},
{"Variable_name":"thread_stack","Value":"%{NUMBER}"},
{"Variable_name":"threads_ex","Value":""},
{"Variable_name":"user","Value":""}
],
"total":%{NUMBER},
"error":"",
"warning":""
}]
––– input –––
curl -s -X POST "http://localhost:9308/sql?raw_response=true" -d "query=SHOW VARIABLES"; echo
––– output –––
[{
"columns":[{"Variable_name":{"type":"string"}},{"Value":{"type":"string"}}],
"data":[
{"Variable_name":"autocommit","Value":"%{NUMBER}"},
{"Variable_name":"auto_optimize","Value":"%{NUMBER}"},
{"Variable_name":"optimize_cutoff","Value":"%{NUMBER}"},
{"Variable_name":"collation_connection","Value":"libc_ci"},
{"Variable_name":"query_log_format","Value":"sphinxql"},
{"Variable_name":"session_read_only","Value":"%{NUMBER}"},
{"Variable_name":"log_level","Value":"info"},
{"Variable_name":"max_allowed_packet","Value":"134217728"},
{"Variable_name":"character_set_client","Value":"utf8"},
{"Variable_name":"character_set_connection","Value":"utf8"},
{"Variable_name":"grouping_in_utc","Value":"%{NUMBER}"},
{"Variable_name":"timezone","Value":"/etc/localtime"},
{"Variable_name":"last_insert_id","Value":""},
{"Variable_name":"pseudo_sharding","Value":"%{NUMBER}"},
{"Variable_name":"secondary_indexes","Value":"%{NUMBER}"},
{"Variable_name":"accurate_aggregation","Value":"%{NUMBER}"},
{"Variable_name":"distinct_precision_threshold","Value":"3500"},
{"Variable_name":"threads_ex_effective","Value":""},
{"Variable_name":"cluster_user","Value":"cluster"},
{"Variable_name":"thread_stack","Value":"%{NUMBER}"},
{"Variable_name":"threads_ex","Value":""},
{"Variable_name":"user","Value":""}
],
"total":%{NUMBER},
"error":"",
"warning":""
}]
––– input –––
curl -s "http://localhost:9308/sql?raw_response=true&query=SHOW%20VARIABLES"; echo
––– output –––
[{
"columns":[{"Variable_name":{"type":"string"}},{"Value":{"type":"string"}}],
"data":[
{"Variable_name":"autocommit","Value":"%{NUMBER}"},
{"Variable_name":"auto_optimize","Value":"%{NUMBER}"},
{"Variable_name":"optimize_cutoff","Value":"%{NUMBER}"},
{"Variable_name":"collation_connection","Value":"libc_ci"},
{"Variable_name":"query_log_format","Value":"sphinxql"},
{"Variable_name":"session_read_only","Value":"%{NUMBER}"},
{"Variable_name":"log_level","Value":"info"},
{"Variable_name":"max_allowed_packet","Value":"134217728"},
{"Variable_name":"character_set_client","Value":"utf8"},
{"Variable_name":"character_set_connection","Value":"utf8"},
{"Variable_name":"grouping_in_utc","Value":"%{NUMBER}"},
{"Variable_name":"timezone","Value":"/etc/localtime"},
{"Variable_name":"last_insert_id","Value":""},
{"Variable_name":"pseudo_sharding","Value":"%{NUMBER}"},
{"Variable_name":"secondary_indexes","Value":"%{NUMBER}"},
{"Variable_name":"accurate_aggregation","Value":"%{NUMBER}"},
{"Variable_name":"distinct_precision_threshold","Value":"3500"},
{"Variable_name":"threads_ex_effective","Value":""},
{"Variable_name":"cluster_user","Value":"cluster"},
{"Variable_name":"thread_stack","Value":"%{NUMBER}"},
{"Variable_name":"threads_ex","Value":""},
{"Variable_name":"user","Value":""}
],
"total":%{NUMBER},
"error":"",
"warning":""
}]
––– input –––
curl -s -X POST "http://localhost:9308/sql?mode=raw" -d "query=SHOW META"; echo
––– output –––
[{
"columns":[{"Variable_name":{"type":"string"}},{"Value":{"type":"string"}}],
"data":[
{"Variable_name":"total","Value":"%{NUMBER}"},
{"Variable_name":"total_found","Value":"%{NUMBER}"},
{"Variable_name":"total_relation","Value":"eq"},
{"Variable_name":"time","Value":"#!/[0-9]{1}.[0-9]{3}/!#"}
],
"total":%{NUMBER},
"error":"",
"warning":""
}]
––– input –––
curl -s "http://localhost:9308/sql?mode=raw&query=SHOW%20META"; echo
––– output –––
[{
"columns":[{"Variable_name":{"type":"string"}},{"Value":{"type":"string"}}],
"data":[
{"Variable_name":"total","Value":"%{NUMBER}"},
{"Variable_name":"total_found","Value":"%{NUMBER}"},
{"Variable_name":"total_relation","Value":"eq"},
{"Variable_name":"time","Value":"#!/[0-9]{1}.[0-9]{3}/!#"}
],
"total":%{NUMBER},
"error":"",
"warning":""
}]
––– input –––
curl -s -X POST "http://localhost:9308/sql?raw_response=true" -d "query=SHOW META"; echo
––– output –––
[{
"columns":[{"Variable_name":{"type":"string"}},{"Value":{"type":"string"}}],
"data":[
{"Variable_name":"total","Value":"%{NUMBER}"},
{"Variable_name":"total_found","Value":"%{NUMBER}"},
{"Variable_name":"total_relation","Value":"eq"},
{"Variable_name":"time","Value":"#!/[0-9]{1}.[0-9]{3}/!#"}
],
"total":%{NUMBER},
"error":"",
"warning":""
}]
––– input –––
curl -s "http://localhost:9308/sql?raw_response=true&query=SHOW%20META"; echo
––– output –––
[{
"columns":[{"Variable_name":{"type":"string"}},{"Value":{"type":"string"}}],
"data":[
{"Variable_name":"total","Value":"%{NUMBER}"},
{"Variable_name":"total_found","Value":"%{NUMBER}"},
{"Variable_name":"total_relation","Value":"eq"},
{"Variable_name":"time","Value":"#!/[0-9]{1}.[0-9]{3}/!#"}
],
"total":%{NUMBER},
"error":"",
"warning":""
}]
––– input –––
curl -s -X POST "http://localhost:9308/sql?mode=raw" -d "query=SHOW QUERIES"; echo
––– output –––
[{"total":%{NUMBER},"error":"","warning":"","columns":[{"id":{"type":"long long"}},{"query":{"type":"string"}},{"time":{"type":"string"}},{"protocol":{"type":"string"}},{"host":{"type":"string"}}],"data":[{"id":%{NUMBER},"query":"SHOW QUERIES","time":"%{NUMBER}#!/(s|ms|us)/!# ago","protocol":"http","host":"127.0.0.1:%{NUMBER}"},{"id":%{NUMBER},"query":"select","time":"%{NUMBER}#!/(s|ms|us)/!# ago","protocol":"http","host":"127.0.0.1:%{NUMBER}"},{"id":%{NUMBER},"query":"show_settings","time":"%{NUMBER}#!/(s|ms|us)/!#","protocol":"http","host":"127.0.0.1:%{NUMBER}"}]}]
––– input –––
curl -s "http://localhost:9308/sql?mode=raw&query=SHOW%20QUERIES"; echo
––– output –––
[{"total":%{NUMBER},"error":"","warning":"","columns":[{"id":{"type":"long long"}},{"query":{"type":"string"}},{"time":{"type":"string"}},{"protocol":{"type":"string"}},{"host":{"type":"string"}}],"data":[{"id":%{NUMBER},"query":"select","time":"%{NUMBER}#!/(s|ms|us)/!# ago","protocol":"http","host":"127.0.0.1:%{NUMBER}"},{"id":%{NUMBER},"query":"SHOW QUERIES","time":"%{NUMBER}#!/(s|ms|us)/!# ago","protocol":"http","host":"127.0.0.1:%{NUMBER}"},{"id":%{NUMBER},"query":"show_settings","time":"%{NUMBER}#!/(s|ms|us)/!#","protocol":"http","host":"127.0.0.1:%{NUMBER}"}]}]
––– input –––
curl -s -X POST "http://localhost:9308/sql?raw_response=true" -d "query=SHOW QUERIES"; echo
––– output –––
[{"total":%{NUMBER},"error":"","warning":"","columns":[{"id":{"type":"long long"}},{"query":{"type":"string"}},{"time":{"type":"string"}},{"protocol":{"type":"string"}},{"host":{"type":"string"}}],"data":[{"id":%{NUMBER},"query":"select","time":"%{NUMBER}#!/(s|ms|us)/!# ago","protocol":"http","host":"127.0.0.1:%{NUMBER}"},{"id":%{NUMBER},"query":"SHOW QUERIES","time":"%{NUMBER}#!/(s|ms|us)/!# ago","protocol":"http","host":"127.0.0.1:%{NUMBER}"},{"id":%{NUMBER},"query":"show_settings","time":"%{NUMBER}#!/(s|ms|us)/!#","protocol":"http","host":"127.0.0.1:%{NUMBER}"}]}]
––– input –––
curl -s "http://localhost:9308/sql?raw_response=true&query=SHOW%20QUERIES"; echo
––– output –––
[{"total":%{NUMBER},"error":"","warning":"","columns":[{"id":{"type":"long long"}},{"query":{"type":"string"}},{"time":{"type":"string"}},{"protocol":{"type":"string"}},{"host":{"type":"string"}}],"data":[{"id":%{NUMBER},"query":"select","time":"%{NUMBER}#!/(s|ms|us)/!# ago","protocol":"http","host":"127.0.0.1:%{NUMBER}"},{"id":%{NUMBER},"query":"SHOW QUERIES","time":"%{NUMBER}#!/(s|ms|us)/!# ago","protocol":"http","host":"127.0.0.1:%{NUMBER}"},{"id":%{NUMBER},"query":"show_settings","time":"%{NUMBER}#!/(s|ms|us)/!#","protocol":"http","host":"127.0.0.1:%{NUMBER}"}]}]
––– input –––
curl -s -X POST "http://localhost:9308/sql?mode=raw" -d "query=SHOW VERSION"; echo
––– output –––
~ [{"total":%{NUMBER},"error":"","warning":"","columns":[{"Component":{"type":"string"}},{"Version":{"type":"string"}}],"data":[{"Component":"Daemon","Version":"%{VERSION}"},{"Component":"Columnar","Version":"columnar %{VERSION}"},{"Component":"Secondary","Version":"secondary %{VERSION}"},{"Component":"KNN","Version":"knn %{VERSION}"},{"Component":"Buddy","Version":"buddy %{VERSION}4,"error":"","warning":"","columns":[{"Component":{"type":"string"}},{"Version":{"type":"string"}}],"data":[{"Component":"Daemon","Version":"7.4.7 25b430442@25031200 dev"},{"Component":"Columnar","Version":"columnar 4.1.2 89795db@25030113"},{"Component":"Secondary","Version":"secondary 4.1.2 89795db@25030113"},{"Component":"Buddy","Version":"buddy v3.25.2-gc240bd"}]}]
––– input –––
curl -s "http://localhost:9308/sql?mode=raw&query=SHOW%20VERSION"; echo
––– output –––
~ [{"total":%{NUMBER},"error":"","warning":"","columns":[{"Component":{"type":"string"}},{"Version":{"type":"string"}}],"data":[{"Component":"Daemon","Version":"%{VERSION}"},{"Component":"Columnar","Version":"columnar %{VERSION}"},{"Component":"Secondary","Version":"secondary %{VERSION}"},{"Component":"KNN","Version":"knn %{VERSION}"},{"Component":"Buddy","Version":"buddy %{VERSION}4,"error":"","warning":"","columns":[{"Component":{"type":"string"}},{"Version":{"type":"string"}}],"data":[{"Component":"Daemon","Version":"7.4.7 25b430442@25031200 dev"},{"Component":"Columnar","Version":"columnar 4.1.2 89795db@25030113"},{"Component":"Secondary","Version":"secondary 4.1.2 89795db@25030113"},{"Component":"Buddy","Version":"buddy v3.25.2-gc240bd"}]}]
––– input –––
curl -s -X POST "http://localhost:9308/sql?raw_response=true" -d "query=SHOW VERSION"; echo
––– output –––
~ [{"total":%{NUMBER},"error":"","warning":"","columns":[{"Component":{"type":"string"}},{"Version":{"type":"string"}}],"data":[{"Component":"Daemon","Version":"%{VERSION}"},{"Component":"Columnar","Version":"columnar %{VERSION}"},{"Component":"Secondary","Version":"secondary %{VERSION}"},{"Component":"KNN","Version":"knn %{VERSION}"},{"Component":"Buddy","Version":"buddy %{VERSION}4,"error":"","warning":"","columns":[{"Component":{"type":"string"}},{"Version":{"type":"string"}}],"data":[{"Component":"Daemon","Version":"7.4.7 25b430442@25031200 dev"},{"Component":"Columnar","Version":"columnar 4.1.2 89795db@25030113"},{"Component":"Secondary","Version":"secondary 4.1.2 89795db@25030113"},{"Component":"Buddy","Version":"buddy v3.25.2-gc240bd"}]}]
––– input –––
curl -s "http://localhost:9308/sql?raw_response=true&query=SHOW%20VERSION"; echo
––– output –––
~ [{"total":%{NUMBER},"error":"","warning":"","columns":[{"Component":{"type":"string"}},{"Version":{"type":"string"}}],"data":[{"Component":"Daemon","Version":"%{VERSION}"},{"Component":"Columnar","Version":"columnar %{VERSION}"},{"Component":"Secondary","Version":"secondary %{VERSION}"},{"Component":"KNN","Version":"knn %{VERSION}"},{"Component":"Buddy","Version":"buddy %{VERSION}4,"error":"","warning":"","columns":[{"Component":{"type":"string"}},{"Version":{"type":"string"}}],"data":[{"Component":"Daemon","Version":"7.4.7 25b430442@25031200 dev"},{"Component":"Columnar","Version":"columnar 4.1.2 89795db@25030113"},{"Component":"Secondary","Version":"secondary 4.1.2 89795db@25030113"},{"Component":"Buddy","Version":"buddy v3.25.2-gc240bd"}]}]

Copy link

clt-arm64

❌ CLT tests in test/clt-tests/installation/deb-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 63s
👉 Check Action Results for commit 25b4304
Failed tests:

test/clt-tests/installation/deb-dev-update.rec
––– input –––
export PATH=/usr/bin:/usr/local/bin:/usr/sbin:/sbin:/bin
––– output –––
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y gnupg2 wget mariadb-client procps binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
wget -q https://repo.manticoresearch.com/manticore-repo.noarch.deb
––– output –––
––– input –––
dpkg -i manticore-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: key 14D612DB3D2730E2: "Manticore Search <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
stdbuf -oL searchd --version
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
––– input –––
manticore-executor -v
––– output –––
PHP %{VERSION} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (NTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
stdbuf -oL searchd
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait; stdbuf -oL searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}(?:\+[0-9]{8}-[0-9a-z]{8}.*)?/!#
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{VERSION}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{VERSION}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{VERSION}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
%{VERSION}
––– input –––
export current_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $current_version_buddy
––– output –––
%{VERSION}
––– input –––
wget -q https://repo.manticoresearch.com/manticore-dev-repo.noarch.deb; echo $?
––– output –––
0
––– input –––
dpkg -i manticore-dev-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: keyring '/etc/apt/trusted.gpg.d/manticore-keyring.gpg' created
gpg: directory '/root/.gnupg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 14D612DB3D2730E2: public key "Manticore Search <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt -y install manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-dbgsym manticore-tools-dbgsym manticore-columnar-lib-dbgsym manticore-icudata-65l manticore-galera > /dev/null
––– output –––
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
- perl: warning: Setting locale failed.
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bullseye_dev/dists/bullseye/main/binary-arm64/./manticore-common_7.4.7-25031012-8d0bf7bb1_all.deb  Hash Sum mismatch
~ perl: warning: Please check that your locale settingsHashes of expected file:
- LANGUAGE = (unset),
+ - SHA256:685d27776b72b757b36f8ecbcc5ff0e39dd4ebd6849e7da86787b98f88d66d5e
- LC_ALL = (unset),
+ - SHA1:388dc78403e8c8a1c3cd5fdac971b25d3ee4fb50 [weak]
- LANG = "en_US.UTF-8"
+ - MD5Sum:fe6890b0924a1ca8f3b06b12d5c89d65 [weak]
- are supported and installed on your system.
+ - Filesize:48404 [weak]
- perl: warning: Falling back to the standard locale ("C").
+ Hashes of received file:
- debconf: delaying package configuration, since apt-utils is not installed
+ - SHA256:62e1e2e813af09775339882035afb524985c29f5eb4080c1978c4290ac2c6f53
+ - SHA1:ca67f1d06e46b888aa2430dc6a59c60d88d45f36 [weak]
+ - MD5Sum:fb3cb01718ba9fadf0eac3ba3455e658 [weak]
+ - Filesize:48404 [weak]
+ Last modification reported: Wed, 12 Mar 2025 00:15:43 +0000
+ E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
––– input –––
stdbuf -oL searchd --stop
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
sleep 5; stdbuf -oL searchd | head -n 9
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
––– input –––
rm /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait; stdbuf -oL searchd | head -n 15; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
%{VERSION}
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -oP 'buddy v\K[0-9]+\.[0-9]+\.[0-9]\+[^ )]*'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}\+[0-9]{8}-[0-9a-z]{8}.*/!#
––– input –––
if [[ "$new_version_searchd" > "$current_version_searchd" ]]; then echo "Upgrade successful. New version searchd: $new_version_searchd"; else echo "Upgrade failed. Current version searchd: $current_version_searchd, new version: $new_version_searchd"; fi
––– output –––
~ Upgrade successful. New version searchd: %{VERSION}failed. Current version searchd: 7.4.6, new version: 7.4.6
––– input –––
if [[ "$new_version_columnar" > "$current_version_columnar" ]]; then echo "Upgrade successful. New version columnar: $new_version_columnar"; else echo "Upgrade failed. Current version columnar: $current_version_columnar, new version: $new_version_columnar"; fi
––– output –––
~ Upgrade successful. New version columnar: %{VERSION}failed. Current version columnar: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_secondary" > "$current_version_secondary" ]]; then echo "Upgrade successful. New version secondary: $new_version_secondary"; else echo "Upgrade failed. Current version secondary: $current_version_knn, new version: $new_version_secondary"; fi
––– output –––
~ Upgrade successful. New version secondary: %{VERSION}failed. Current version secondary: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_knn" > "$current_version_knn" ]]; then echo "Upgrade successful. New version knn: $new_version_knn"; else echo "Upgrade failed. Current version knn: $current_version_knn, new version: $new_version_knn"; fi
––– output –––
~ Upgrade successful. New version knn: %{VERSION}failed. Current version knn: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_galera" > "$current_version_galera" ]] || [[ "$new_version_galera" == "$current_version_galera" ]]; then echo "Upgrade successful. New version galera: $new_version_galera"; else echo "Upgrade failed. Current version galera: $current_version_galera, new version: $new_version_galera"; fi
––– output –––
Upgrade successful. New version galera: #!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
if [[ "$new_version_buddy" > "$current_version_buddy" ]]; then echo "Upgrade successful. New version buddy: $new_version_buddy"; else echo "Upgrade failed. Current version buddy: $current_version_buddy, new version: $new_version_buddy"; fi
––– output –––
~ Upgrade successful. New version buddy: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}\+[0-9]{8}-[0-9a-z]{8}.*/!#failed. Current version buddy: 3.23.1+25022719-d2507b85, new version: 3.23.1+25022719-d2507b85
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}(?:\+[0-9]{8}-[0-9a-z]{8}.*)?/!#
––– input –––
apt-get remove -y 'manticore*' > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
dpkg -l | grep ^rc | awk '/^rc/ && /manticore/ { print $2 }'
––– output –––
manticore-common
manticore-repo
manticore-server
manticore-server-core
manticore-tools

Copy link

clt-arm64

❌ CLT tests in test/clt-tests/installation/deb-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 73s
👉 Check Action Results for commit 25b4304
Failed tests:

test/clt-tests/installation/deb-dev-update.rec
––– input –––
export PATH=/usr/bin:/usr/local/bin:/usr/sbin:/sbin:/bin
––– output –––
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y gnupg2 wget mariadb-client procps binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
wget -q https://repo.manticoresearch.com/manticore-repo.noarch.deb
––– output –––
––– input –––
dpkg -i manticore-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: key 14D612DB3D2730E2: "Manticore Search <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
stdbuf -oL searchd --version
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
––– input –––
manticore-executor -v
––– output –––
PHP %{VERSION} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (NTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
stdbuf -oL searchd
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait; stdbuf -oL searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}(?:\+[0-9]{8}-[0-9a-z]{8}.*)?/!#
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{VERSION}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{VERSION}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{VERSION}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
%{VERSION}
––– input –––
export current_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $current_version_buddy
––– output –––
%{VERSION}
––– input –––
wget -q https://repo.manticoresearch.com/manticore-dev-repo.noarch.deb; echo $?
––– output –––
0
––– input –––
dpkg -i manticore-dev-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: keyring '/etc/apt/trusted.gpg.d/manticore-keyring.gpg' created
gpg: directory '/root/.gnupg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 14D612DB3D2730E2: public key "Manticore Search <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt -y install manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-dbgsym manticore-tools-dbgsym manticore-columnar-lib-dbgsym manticore-icudata-65l manticore-galera > /dev/null
––– output –––
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
- perl: warning: Setting locale failed.
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bionic_dev/dists/bionic/main/binary-arm64/./manticore-dev_7.4.7-25031012-8d0bf7bb1_all.deb  File has unexpected size (4468 != 4458). Mirror sync in progress? [IP: 49.12.119.254 80]
~ perl: warning: Please check that your locale settingsHashes of expected file:
- LANGUAGE = (unset),
+ - SHA256:b9be430a801da11e58b9399a31ca51855b64f280880c892ae7b340594047c39b
- LC_ALL = (unset),
+ - SHA1:3716acfe0430d3e2c742e5bd04134e362ea34ac8 [weak]
- LANG = "en_US.UTF-8"
+ - MD5Sum:16e77241f161b264c18a9632e1820f1f [weak]
- are supported and installed on your system.
+ - Filesize:4458 [weak]
- perl: warning: Falling back to the standard locale ("C").
+ E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
- debconf: delaying package configuration, since apt-utils is not installed
––– input –––
stdbuf -oL searchd --stop
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
sleep 5; stdbuf -oL searchd | head -n 9
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
––– input –––
rm /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait; stdbuf -oL searchd | head -n 15; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
%{VERSION}
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -oP 'buddy v\K[0-9]+\.[0-9]+\.[0-9]\+[^ )]*'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}\+[0-9]{8}-[0-9a-z]{8}.*/!#
––– input –––
if [[ "$new_version_searchd" > "$current_version_searchd" ]]; then echo "Upgrade successful. New version searchd: $new_version_searchd"; else echo "Upgrade failed. Current version searchd: $current_version_searchd, new version: $new_version_searchd"; fi
––– output –––
~ Upgrade successful. New version searchd: %{VERSION}failed. Current version searchd: 7.4.6, new version: 7.4.6
––– input –––
if [[ "$new_version_columnar" > "$current_version_columnar" ]]; then echo "Upgrade successful. New version columnar: $new_version_columnar"; else echo "Upgrade failed. Current version columnar: $current_version_columnar, new version: $new_version_columnar"; fi
––– output –––
~ Upgrade successful. New version columnar: %{VERSION}failed. Current version columnar: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_secondary" > "$current_version_secondary" ]]; then echo "Upgrade successful. New version secondary: $new_version_secondary"; else echo "Upgrade failed. Current version secondary: $current_version_knn, new version: $new_version_secondary"; fi
––– output –––
~ Upgrade successful. New version secondary: %{VERSION}failed. Current version secondary: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_knn" > "$current_version_knn" ]]; then echo "Upgrade successful. New version knn: $new_version_knn"; else echo "Upgrade failed. Current version knn: $current_version_knn, new version: $new_version_knn"; fi
––– output –––
~ Upgrade successful. New version knn: %{VERSION}failed. Current version knn: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_galera" > "$current_version_galera" ]] || [[ "$new_version_galera" == "$current_version_galera" ]]; then echo "Upgrade successful. New version galera: $new_version_galera"; else echo "Upgrade failed. Current version galera: $current_version_galera, new version: $new_version_galera"; fi
––– output –––
Upgrade successful. New version galera: #!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
if [[ "$new_version_buddy" > "$current_version_buddy" ]]; then echo "Upgrade successful. New version buddy: $new_version_buddy"; else echo "Upgrade failed. Current version buddy: $current_version_buddy, new version: $new_version_buddy"; fi
––– output –––
~ Upgrade successful. New version buddy: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}\+[0-9]{8}-[0-9a-z]{8}.*/!#failed. Current version buddy: 3.23.1+25022719-d2507b85, new version: 3.23.1+25022719-d2507b85
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}(?:\+[0-9]{8}-[0-9a-z]{8}.*)?/!#
––– input –––
apt-get remove -y 'manticore*' > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
dpkg -l | grep ^rc | awk '/^rc/ && /manticore/ { print $2 }'
––– output –––
manticore-common
manticore-repo
manticore-server
manticore-server-core
manticore-tools

Copy link

clt-amd64

❌ CLT tests in test/clt-tests/installation/deb-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 48s
👉 Check Action Results for commit 25b4304
Failed tests:

test/clt-tests/installation/deb-dev-update.rec
––– input –––
export PATH=/usr/bin:/usr/local/bin:/usr/sbin:/sbin:/bin
––– output –––
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y gnupg2 wget mariadb-client procps binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
wget -q https://repo.manticoresearch.com/manticore-repo.noarch.deb
––– output –––
––– input –––
dpkg -i manticore-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: key 14D612DB3D2730E2: "Manticore Search <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
stdbuf -oL searchd --version
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
––– input –––
manticore-executor -v
––– output –––
PHP %{VERSION} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (NTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
stdbuf -oL searchd
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait; stdbuf -oL searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}(?:\+[0-9]{8}-[0-9a-z]{8}.*)?/!#
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{VERSION}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{VERSION}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{VERSION}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
%{VERSION}
––– input –––
export current_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $current_version_buddy
––– output –––
%{VERSION}
––– input –––
wget -q https://repo.manticoresearch.com/manticore-dev-repo.noarch.deb; echo $?
––– output –––
0
––– input –––
dpkg -i manticore-dev-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: keyring '/etc/apt/trusted.gpg.d/manticore-keyring.gpg' created
gpg: directory '/root/.gnupg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 14D612DB3D2730E2: public key "Manticore Search <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt -y install manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-dbgsym manticore-tools-dbgsym manticore-columnar-lib-dbgsym manticore-icudata-65l manticore-galera > /dev/null
––– output –––
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
- perl: warning: Setting locale failed.
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bionic_dev/dists/bionic/main/binary-amd64/./manticore-server-core_7.4.7-25031012-8d0bf7bb1_amd64.deb  File has unexpected size (10290366 != 10290364). Mirror sync in progress? [IP: 49.12.119.254 80]
~ perl: warning: Please check that your locale settingsHashes of expected file:
- LANGUAGE = (unset),
+ - SHA256:63c5ede749c379be9a8603610423afb2ad792a8f6795c1de25b015c6604e5e53
- LC_ALL = (unset),
+ - SHA1:349eec2e98b97bc3e76c1d83f24ea57d5b306994 [weak]
- LANG = "en_US.UTF-8"
+ - MD5Sum:df0a055ea3e645f04768fcc7ffeeeb55 [weak]
- are supported and installed on your system.
+ - Filesize:10290364 [weak]
- perl: warning: Falling back to the standard locale ("C").
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bionic_dev/dists/bionic/main/binary-amd64/./manticore-tools_7.4.7-25031012-8d0bf7bb1_amd64.deb  File has unexpected size (27490718 != 27490738). Mirror sync in progress? [IP: 49.12.119.254 80]
- debconf: delaying package configuration, since apt-utils is not installed
+ Hashes of expected file:
+ - SHA256:59d7afaebd28f1d32c63116b14608783a3ce63529dfeb47243f5ee2265893443
+ - SHA1:aa6059fd0a631dffe09e1a8de64457e423aeb293 [weak]
+ - MD5Sum:a1d64d7bdfe7859e0bb419152677527b [weak]
+ - Filesize:27490738 [weak]
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bionic_dev/dists/bionic/main/binary-amd64/./manticore-common_7.4.7-25031012-8d0bf7bb1_all.deb  File has unexpected size (48408 != 48412). Mirror sync in progress? [IP: 49.12.119.254 80]
+ Hashes of expected file:
+ - SHA256:3642d678fc15f741aee0b25721c84df0d9f384f200b968ff99bef9ada9f8562a
+ - SHA1:2028acc66e8e4c4bb1e2dec6d23ead5e6cec2426 [weak]
+ - MD5Sum:e332b4b58c7c16a5555fefcfe56d6f61 [weak]
+ - Filesize:48412 [weak]
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bionic_dev/dists/bionic/main/binary-amd64/./manticore_7.4.7-25031012-8d0bf7bb1_amd64.deb  File has unexpected size (1268 != 1270). Mirror sync in progress? [IP: 49.12.119.254 80]
+ Hashes of expected file:
+ - SHA256:9a6c53dfaa98b68f9668ec659fb70fb7ddfc796f533c258d61a4003419a7f26c
+ - SHA1:7bb7e1df768c4e753922094448f4af6f39103f1b [weak]
+ - MD5Sum:45c4cc465183b4b0ecf091ad9fa988f5 [weak]
+ - Filesize:1270 [weak]
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bionic_dev/dists/bionic/main/binary-amd64/./manticore-server_7.4.7-25031012-8d0bf7bb1_amd64.deb  File has unexpected size (3116 != 3122). Mirror sync in progress? [IP: 49.12.119.254 80]
+ Hashes of expected file:
+ - SHA256:0c64d9e5ac8ea1622b2517d5ab0cf51100395482269f91d9b6c3e79c424d3302
+ - SHA1:49d9fa435ad2ca06f1d22328dceb06fc84f22091 [weak]
+ - MD5Sum:87615cf1e14389d5c6ff4d4ccf27f8d8 [weak]
+ - Filesize:3122 [weak]
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bionic_dev/dists/bionic/main/binary-amd64/./manticore-dev_7.4.7-25031012-8d0bf7bb1_all.deb  File has unexpected size (4468 != 4464). Mirror sync in progress? [IP: 49.12.119.254 80]
+ Hashes of expected file:
+ - SHA256:de8285f1bf63342b61a5c55fa2282ffc46b5c7f9606c7774a19ab44d60c32741
+ - SHA1:7f5b1cb4bf9c7c67586cea3f0f5f9c13095b40b3 [weak]
+ - MD5Sum:10b1c6708115d545fa9140ac0f8e061a [weak]
+ - Filesize:4464 [weak]
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bionic_dev/dists/bionic/main/binary-amd64/./manticore-server-core-dbgsym_7.4.7-25031012-8d0bf7bb1_amd64.ddeb  Hash Sum mismatch
+ Hashes of expected file:
+ - SHA256:42e25e2db037cb5b1daf40e98fa5781efc11fe26c63191bd36aa80647f1d8092
+ - SHA1:253c776a5290700a8189c65b360f32430b10d90e [weak]
+ - MD5Sum:3109fb44cebc97c0d5c791a31e17ca63 [weak]
+ - Filesize:39294988 [weak]
+ Hashes of received file:
+ - SHA256:55f0da299c2064681bb4ace72ba3c2613c9e8e6f22cd4feb3b56d33a70867596
+ - SHA1:126dccefd8a4abb2b740ce4c914641d4be2ace84 [weak]
+ - MD5Sum:f458185a53404f42a91f35baaf69ed5b [weak]
+ - Filesize:39294988 [weak]
+ Last modification reported: Wed, 12 Mar 2025 00:11:36 +0000
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bionic_dev/dists/bionic/main/binary-amd64/./manticore-tools-dbgsym_7.4.7-25031012-8d0bf7bb1_amd64.ddeb  File has unexpected size (127437486 != 127437490). Mirror sync in progress? [IP: 49.12.119.254 80]
+ Hashes of expected file:
+ - SHA256:926961397ab5795818da07063d8b31cb4651c59d15491bfb3027803e56563b40
+ - SHA1:08111ca258c9e3cc10f9fd61c880a2c075212f3a [weak]
+ - MD5Sum:593bee8fce9ef102b0315115ab54e2d5 [weak]
+ - Filesize:127437490 [weak]
+ E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
––– input –––
stdbuf -oL searchd --stop
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
sleep 5; stdbuf -oL searchd | head -n 9
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
––– input –––
rm /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait; stdbuf -oL searchd | head -n 15; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
%{VERSION}
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -oP 'buddy v\K[0-9]+\.[0-9]+\.[0-9]\+[^ )]*'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}\+[0-9]{8}-[0-9a-z]{8}.*/!#
––– input –––
if [[ "$new_version_searchd" > "$current_version_searchd" ]]; then echo "Upgrade successful. New version searchd: $new_version_searchd"; else echo "Upgrade failed. Current version searchd: $current_version_searchd, new version: $new_version_searchd"; fi
––– output –––
~ Upgrade successful. New version searchd: %{VERSION}failed. Current version searchd: 7.4.6, new version: 7.4.6
––– input –––
if [[ "$new_version_columnar" > "$current_version_columnar" ]]; then echo "Upgrade successful. New version columnar: $new_version_columnar"; else echo "Upgrade failed. Current version columnar: $current_version_columnar, new version: $new_version_columnar"; fi
––– output –––
~ Upgrade successful. New version columnar: %{VERSION}failed. Current version columnar: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_secondary" > "$current_version_secondary" ]]; then echo "Upgrade successful. New version secondary: $new_version_secondary"; else echo "Upgrade failed. Current version secondary: $current_version_knn, new version: $new_version_secondary"; fi
––– output –––
~ Upgrade successful. New version secondary: %{VERSION}failed. Current version secondary: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_knn" > "$current_version_knn" ]]; then echo "Upgrade successful. New version knn: $new_version_knn"; else echo "Upgrade failed. Current version knn: $current_version_knn, new version: $new_version_knn"; fi
––– output –––
~ Upgrade successful. New version knn: %{VERSION}failed. Current version knn: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_galera" > "$current_version_galera" ]] || [[ "$new_version_galera" == "$current_version_galera" ]]; then echo "Upgrade successful. New version galera: $new_version_galera"; else echo "Upgrade failed. Current version galera: $current_version_galera, new version: $new_version_galera"; fi
––– output –––
Upgrade successful. New version galera: #!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
if [[ "$new_version_buddy" > "$current_version_buddy" ]]; then echo "Upgrade successful. New version buddy: $new_version_buddy"; else echo "Upgrade failed. Current version buddy: $current_version_buddy, new version: $new_version_buddy"; fi
––– output –––
~ Upgrade successful. New version buddy: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}\+[0-9]{8}-[0-9a-z]{8}.*/!#failed. Current version buddy: 3.23.1+25022719-d2507b85, new version: 3.23.1+25022719-d2507b85
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}(?:\+[0-9]{8}-[0-9a-z]{8}.*)?/!#
––– input –––
apt-get remove -y 'manticore*' > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
dpkg -l | grep ^rc | awk '/^rc/ && /manticore/ { print $2 }'
––– output –––
manticore-common
manticore-repo
manticore-server
manticore-server-core
manticore-tools

Copy link

clt-amd64

❌ CLT tests in test/clt-tests/installation/deb-dev-update
✅ OK: 0
❌ Failed: 1
⏳ Duration: 44s
👉 Check Action Results for commit 25b4304
Failed tests:

test/clt-tests/installation/deb-dev-update.rec
––– input –––
export PATH=/usr/bin:/usr/local/bin:/usr/sbin:/sbin:/bin
––– output –––
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y gnupg2 wget mariadb-client procps binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
wget -q https://repo.manticoresearch.com/manticore-repo.noarch.deb
––– output –––
––– input –––
dpkg -i manticore-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: key 14D612DB3D2730E2: "Manticore Search <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
stdbuf -oL searchd --version
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
––– input –––
manticore-executor -v
––– output –––
PHP %{VERSION} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (NTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
stdbuf -oL searchd
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait; stdbuf -oL searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}(?:\+[0-9]{8}-[0-9a-z]{8}.*)?/!#
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{VERSION}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{VERSION}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{VERSION}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
%{VERSION}
––– input –––
export current_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $current_version_buddy
––– output –––
%{VERSION}
––– input –––
wget -q https://repo.manticoresearch.com/manticore-dev-repo.noarch.deb; echo $?
––– output –––
0
––– input –––
dpkg -i manticore-dev-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: keyring '/etc/apt/trusted.gpg.d/manticore-keyring.gpg' created
gpg: directory '/root/.gnupg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 14D612DB3D2730E2: public key "Manticore Search <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt -y install manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-dbgsym manticore-tools-dbgsym manticore-columnar-lib-dbgsym manticore-icudata-65l manticore-galera > /dev/null
––– output –––
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
- perl: warning: Setting locale failed.
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bookworm_dev/dists/bookworm/main/binary-amd64/./manticore-tools_7.4.7-25031012-8d0bf7bb1_amd64.deb  File has unexpected size (27493240 != 27493244). Mirror sync in progress? [IP: 49.12.119.254 80]
~ perl: warning: Please check that your locale settingsHashes of expected file:
- LANGUAGE = (unset),
+ - SHA256:0f15376d1a437741936f9a2a585c4d731afb0fa2953781398623fd86d4ea441c
- LC_ALL = (unset),
+ - SHA1:c9e5bc5b4c9301158ead6d5268cd3556cf814f4c [weak]
- LANG = "en_US.UTF-8"
+ - MD5Sum:504fb60a3f1bf530e69609641be7da01 [weak]
- are supported and installed on your system.
+ - Filesize:27493244 [weak]
- perl: warning: Falling back to the standard locale ("C").
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bookworm_dev/dists/bookworm/main/binary-amd64/./manticore-server-core_7.4.7-25031012-8d0bf7bb1_amd64.deb  File has unexpected size (10287994 != 10288006). Mirror sync in progress? [IP: 49.12.119.254 80]
- debconf: delaying package configuration, since apt-utils is not installed
+ Hashes of expected file:
+ - SHA256:d16a1e5be82d5d1f8d9da844a67df50956e8b56b6ac5c53fd9afd04876d028ca
+ - SHA1:7462e1e1efd0ed8bd235ecd5f0babad82e25972b [weak]
+ - MD5Sum:66d343e99a8a275c06115ed266153f78 [weak]
+ - Filesize:10288006 [weak]
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bookworm_dev/dists/bookworm/main/binary-amd64/./manticore-common_7.4.7-25031012-8d0bf7bb1_all.deb  File has unexpected size (48406 != 48414). Mirror sync in progress? [IP: 49.12.119.254 80]
+ Hashes of expected file:
+ - SHA256:245e8f9161b311544411f6ae39bc4b9c253f1c7fa20cd8031e10494205bd6e21
+ - SHA1:4d4df991721a4d0e21829ff2430acc13ed8ca02c [weak]
+ - MD5Sum:ef6acc08a1d48b4059b8c689eac01f9a [weak]
+ - Filesize:48414 [weak]
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bookworm_dev/dists/bookworm/main/binary-amd64/./manticore_7.4.7-25031012-8d0bf7bb1_amd64.deb  File has unexpected size (1268 != 1270). Mirror sync in progress? [IP: 49.12.119.254 80]
+ Hashes of expected file:
+ - SHA256:89752691dbb5dd3f2bcbc1a12cdca8b3e0c3315021c55b3f35ce154ef70e9926
+ - SHA1:d4029b34d7754ca8ac3bcc1822fd59451ccc83e0 [weak]
+ - MD5Sum:5c3d62a115d5e86fc3bec3719022bb65 [weak]
+ - Filesize:1270 [weak]
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bookworm_dev/dists/bookworm/main/binary-amd64/./manticore-server_7.4.7-25031012-8d0bf7bb1_amd64.deb  File has unexpected size (3066 != 3068). Mirror sync in progress? [IP: 49.12.119.254 80]
+ Hashes of expected file:
+ - SHA256:8517c28c6725ae59e37e789d27b75fabf8fb5007d59562584369b7401c4da223
+ - SHA1:2d8dfd7bbe5602d60386911ac240228d1bf00460 [weak]
+ - MD5Sum:10b95b7a4fbaa78e88dac21dfeb878a2 [weak]
+ - Filesize:3068 [weak]
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bookworm_dev/dists/bookworm/main/binary-amd64/./manticore-dev_7.4.7-25031012-8d0bf7bb1_all.deb  Hash Sum mismatch
+ Hashes of expected file:
+ - SHA256:0a2388c4cd89faebddf738b144735fff08e1ca618bae7d85559e9582045a251d
+ - SHA1:e791ba04aafb8cdea6598c8bf13e951780435480 [weak]
+ - MD5Sum:0914f9bf2da0f9e9effa388ad765ec1b [weak]
+ - Filesize:4460 [weak]
+ Hashes of received file:
+ - SHA256:fa98e220c1d4de55ccd2db9bdfe4f3f8f8a0c8534bc84295c1e0c1b26d2347a0
+ - SHA1:9eaadd645bbdb1ad9f790a3ef63ba062a1149209 [weak]
+ - MD5Sum:172c979dd69fa0ed85f9b6d3c0283831 [weak]
+ - Filesize:4460 [weak]
+ Last modification reported: Wed, 12 Mar 2025 00:12:57 +0000
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bookworm_dev/dists/bookworm/main/binary-amd64/./manticore-server-core-dbgsym_7.4.7-25031012-8d0bf7bb1_amd64.ddeb  File has unexpected size (37077352 != 37077332). Mirror sync in progress? [IP: 49.12.119.254 80]
+ Hashes of expected file:
+ - SHA256:ab63c8996cdf8b571466833a420e20e088575028ab29b9054d8324aa98d6bfd3
+ - SHA1:f688dfe99f1c7705c0548fe0276c76db460157ce [weak]
+ - MD5Sum:765969d45516f5f296e7ca0ea0c817eb [weak]
+ - Filesize:37077332 [weak]
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bookworm_dev/dists/bookworm/main/binary-amd64/./manticore-tools-dbgsym_7.4.7-25031012-8d0bf7bb1_amd64.ddeb  File has unexpected size (117751216 != 117751206). Mirror sync in progress? [IP: 49.12.119.254 80]
+ Hashes of expected file:
+ - SHA256:826646fec2aa2dc7e14ea162600f86b380204595e5c339d7dedee83489a38525
+ - SHA1:b63b2ab342865e08f7f891c9f93eb542e44c135d [weak]
+ - MD5Sum:52781d4233e9e21312ec11d7385bb859 [weak]
+ - Filesize:117751206 [weak]
+ E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
––– input –––
stdbuf -oL searchd --stop
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
sleep 5; stdbuf -oL searchd | head -n 9
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
––– input –––
rm /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait; stdbuf -oL searchd | head -n 15; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
%{VERSION}
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -oP 'buddy v\K[0-9]+\.[0-9]+\.[0-9]\+[^ )]*'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}\+[0-9]{8}-[0-9a-z]{8}.*/!#
––– input –––
if [[ "$new_version_searchd" > "$current_version_searchd" ]]; then echo "Upgrade successful. New version searchd: $new_version_searchd"; else echo "Upgrade failed. Current version searchd: $current_version_searchd, new version: $new_version_searchd"; fi
––– output –––
~ Upgrade successful. New version searchd: %{VERSION}failed. Current version searchd: 7.4.6, new version: 7.4.6
––– input –––
if [[ "$new_version_columnar" > "$current_version_columnar" ]]; then echo "Upgrade successful. New version columnar: $new_version_columnar"; else echo "Upgrade failed. Current version columnar: $current_version_columnar, new version: $new_version_columnar"; fi
––– output –––
~ Upgrade successful. New version columnar: %{VERSION}failed. Current version columnar: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_secondary" > "$current_version_secondary" ]]; then echo "Upgrade successful. New version secondary: $new_version_secondary"; else echo "Upgrade failed. Current version secondary: $current_version_knn, new version: $new_version_secondary"; fi
––– output –––
~ Upgrade successful. New version secondary: %{VERSION}failed. Current version secondary: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_knn" > "$current_version_knn" ]]; then echo "Upgrade successful. New version knn: $new_version_knn"; else echo "Upgrade failed. Current version knn: $current_version_knn, new version: $new_version_knn"; fi
––– output –––
~ Upgrade successful. New version knn: %{VERSION}failed. Current version knn: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_galera" > "$current_version_galera" ]] || [[ "$new_version_galera" == "$current_version_galera" ]]; then echo "Upgrade successful. New version galera: $new_version_galera"; else echo "Upgrade failed. Current version galera: $current_version_galera, new version: $new_version_galera"; fi
––– output –––
Upgrade successful. New version galera: #!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
if [[ "$new_version_buddy" > "$current_version_buddy" ]]; then echo "Upgrade successful. New version buddy: $new_version_buddy"; else echo "Upgrade failed. Current version buddy: $current_version_buddy, new version: $new_version_buddy"; fi
––– output –––
~ Upgrade successful. New version buddy: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}\+[0-9]{8}-[0-9a-z]{8}.*/!#failed. Current version buddy: 3.23.1+25022719-d2507b85, new version: 3.23.1+25022719-d2507b85
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}(?:\+[0-9]{8}-[0-9a-z]{8}.*)?/!#
––– input –––
apt-get remove -y 'manticore*' > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
dpkg -l | grep ^rc | awk '/^rc/ && /manticore/ { print $2 }'
––– output –––
manticore-common
manticore-repo
manticore-server
manticore-server-core
manticore-tools

Copy link

clt-arm64

❌ CLT tests in test/clt-tests/installation/deb-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 84s
👉 Check Action Results for commit 25b4304
Failed tests:

test/clt-tests/installation/deb-dev-update.rec
––– input –––
export PATH=/usr/bin:/usr/local/bin:/usr/sbin:/sbin:/bin
––– output –––
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y gnupg2 wget mariadb-client procps binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
wget -q https://repo.manticoresearch.com/manticore-repo.noarch.deb
––– output –––
––– input –––
dpkg -i manticore-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: key 14D612DB3D2730E2: "Manticore Search <[email protected]>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
stdbuf -oL searchd --version
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
––– input –––
manticore-executor -v
––– output –––
PHP %{VERSION} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (NTS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
stdbuf -oL searchd
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait; stdbuf -oL searchd; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
ps aux | grep -q '[s]earchd'; echo $?
––– output –––
0
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}(?:\+[0-9]{8}-[0-9a-z]{8}.*)?/!#
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{VERSION}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{VERSION}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{VERSION}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
%{VERSION}
––– input –––
export current_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $current_version_buddy
––– output –––
%{VERSION}
––– input –––
wget -q https://repo.manticoresearch.com/manticore-dev-repo.noarch.deb; echo $?
––– output –––
0
––– input –––
dpkg -i manticore-dev-repo.noarch.deb > /dev/null; echo $?
––– output –––
gpg: keyring '/etc/apt/trusted.gpg.d/manticore-keyring.gpg' created
gpg: directory '/root/.gnupg' created
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 14D612DB3D2730E2: public key "Manticore Search <[email protected]>" imported
gpg: Total number processed: 1
gpg:               imported: 1
0
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt -y install manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-dbgsym manticore-tools-dbgsym manticore-columnar-lib-dbgsym manticore-icudata-65l manticore-galera > /dev/null
––– output –––
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
- perl: warning: Setting locale failed.
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_focal_dev/dists/focal/main/binary-arm64/./manticore-common_7.4.7-25031012-8d0bf7bb1_all.deb  File has unexpected size (48414 != 48406). Mirror sync in progress? [IP: 49.12.119.254 80]
~ perl: warning: Please check that your locale settingsHashes of expected file:
- LANGUAGE = (unset),
+ - SHA256:47f9dbdef883be1864c17ab8c547d6bb9219365435cdee60675e0c33ea56e4af
- LC_ALL = (unset),
+ - SHA1:9ce732fc4ad300b36ab60ffe130732d7c49f64ec [weak]
- LANG = "en_US.UTF-8"
+ - MD5Sum:9e9dfd2fb2ba356fe206c54959efbd38 [weak]
- are supported and installed on your system.
+ - Filesize:48406 [weak]
- perl: warning: Falling back to the standard locale ("C").
+ E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
- debconf: delaying package configuration, since apt-utils is not installed
––– input –––
stdbuf -oL searchd --stop
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
––– input –––
mkdir -p /var/run/manticore
––– output –––
––– input –––
sleep 5; stdbuf -oL searchd | head -n 9
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
––– input –––
rm /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait; stdbuf -oL searchd | head -n 15; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9a-zA-Z\:\.\s]+/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[a-zA-Z]{3}\s[a-zA-Z]{3}\s+[0-9]{1,2}\s[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{3}\s[0-9]{4}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Buddy started!
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
%{VERSION}
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- %{VERSION}
+ 25f4706@25022806)
––– input –––
export new_version_galera=$(strings /usr/share/manticore/modules/libgalera_manticore.so|grep -i -E "[0-9]{1}\.[0-9]{2}\([a-z0-9]+\)" | cut -d"(" -f1); echo $current_version_galera
––– output –––
#!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -oP 'buddy v\K[0-9]+\.[0-9]+\.[0-9]\+[^ )]*'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}\+[0-9]{8}-[0-9a-z]{8}.*/!#
––– input –––
if [[ "$new_version_searchd" > "$current_version_searchd" ]]; then echo "Upgrade successful. New version searchd: $new_version_searchd"; else echo "Upgrade failed. Current version searchd: $current_version_searchd, new version: $new_version_searchd"; fi
––– output –––
~ Upgrade successful. New version searchd: %{VERSION}failed. Current version searchd: 7.4.6, new version: 7.4.6
––– input –––
if [[ "$new_version_columnar" > "$current_version_columnar" ]]; then echo "Upgrade successful. New version columnar: $new_version_columnar"; else echo "Upgrade failed. Current version columnar: $current_version_columnar, new version: $new_version_columnar"; fi
––– output –––
~ Upgrade successful. New version columnar: %{VERSION}failed. Current version columnar: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_secondary" > "$current_version_secondary" ]]; then echo "Upgrade successful. New version secondary: $new_version_secondary"; else echo "Upgrade failed. Current version secondary: $current_version_knn, new version: $new_version_secondary"; fi
––– output –––
~ Upgrade successful. New version secondary: %{VERSION}failed. Current version secondary: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_knn" > "$current_version_knn" ]]; then echo "Upgrade successful. New version knn: $new_version_knn"; else echo "Upgrade failed. Current version knn: $current_version_knn, new version: $new_version_knn"; fi
––– output –––
~ Upgrade successful. New version knn: %{VERSION}failed. Current version knn: 4.1.1, new version: 25f4706@25022806)
––– input –––
if [[ "$new_version_galera" > "$current_version_galera" ]] || [[ "$new_version_galera" == "$current_version_galera" ]]; then echo "Upgrade successful. New version galera: $new_version_galera"; else echo "Upgrade failed. Current version galera: $current_version_galera, new version: $new_version_galera"; fi
––– output –––
Upgrade successful. New version galera: #!/[0-9]{1}\.[0-9]{2}/!#
––– input –––
if [[ "$new_version_buddy" > "$current_version_buddy" ]]; then echo "Upgrade successful. New version buddy: $new_version_buddy"; else echo "Upgrade failed. Current version buddy: $current_version_buddy, new version: $new_version_buddy"; fi
––– output –––
~ Upgrade successful. New version buddy: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}\+[0-9]{8}-[0-9a-z]{8}.*/!#failed. Current version buddy: 3.23.1+25022719-d2507b85, new version: 3.23.1+25022719-d2507b85
––– input –––
manticore-backup --version
––– output –––
Copyright (c) #!/\d{4}(?:-\d{4})?/!#, Manticore Software LTD (https://manticoresearch.com)
Manticore Backup version: #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}(?:\+[0-9]{8}-[0-9a-z]{8}.*)?/!#
––– input –––
apt-get remove -y 'manticore*' > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
dpkg -l | grep ^rc | awk '/^rc/ && /manticore/ { print $2 }'
––– output –––
manticore-common
manticore-repo
manticore-server
manticore-server-core
manticore-tools

Copy link

clt

❌ CLT tests in test/clt-tests/optimisation-and-update/
✅ OK: 0
❌ Failed: 1
⏳ Duration: 75s
👉 Check Action Results for commit 546e8a8
Failed tests:

test/clt-tests/optimisation-and-update/test-optimisation-and-update.rec
––– input –––
rm -f /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait > /dev/null; stdbuf -oL searchd > /dev/null
––– output –––
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y bc > /dev/null; echo $?
––– output –––
debconf: delaying package configuration, since apt-utils is not installed
0
––– input –––
chmod +x ./test/clt-tests/scripts/load_names_attr.php > /dev/null; echo $?
––– output –––
0
––– input –––
php -d memory_limit=2G ./test/clt-tests/scripts/load_names_attr.php --batch-size=100000 --concurrency=4 --docs=2000000 --start-id=1 --drop-table > /dev/null; echo $?
––– output –––
0
––– input –––
mysql -h0 -P9306 -e "FLUSH RAMCHUNK name;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "OPTIMIZE TABLE name OPTION sync=1, cutoff=2;"
––– output –––
––– input –––
sleep 1 && mysql -h0 -P9306 -e "show table name status like '%chunk%';"
––– output –––
+--------------------------+-------+
| Variable_name            | Value |
+--------------------------+-------+
| ram_chunk                | 0     |
| ram_chunk_segments_count | 0     |
| disk_chunks              | 2     |
+--------------------------+-------+
––– input –––
mysql -h0 -P9306 -e "SELECT COUNT(*) FROM name;"
––– output –––
+----------+
| count(*) |
+----------+
|  2000000 |
+----------+
––– input –––
php -d memory_limit=2G ./test/clt-tests/scripts/load_names_attr.php --batch-size=100000 --concurrency=4 --docs=2000000 --start-id=2000001 --no-drop-table > /dev/null; echo $?
––– output –––
0
––– input –––
mysql -h0 -P9306 -e "FLUSH RAMCHUNK name;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "OPTIMIZE TABLE name OPTION sync=1, cutoff=2;"
––– output –––
––– input –––
sleep 5 && mysql -h0 -P9306 -e "show table name status like '%chunk%';"
––– output –––
+--------------------------+-------+
| Variable_name            | Value |
+--------------------------+-------+
| ram_chunk                | 0     |
| ram_chunk_segments_count | 0     |
| disk_chunks              | 2     |
+--------------------------+-------+
––– input –––
mysql -h0 -P9306 -e "SELECT COUNT(*) FROM name;"
––– output –––
+----------+
| count(*) |
+----------+
|  4000000 |
+----------+
––– input –––
rm -f /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait > /dev/null; (stdbuf -oL searchd 2>&1 | tee /var/log/manticore/searchd.log | grep -i precach & disown); sleep 0.5; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log; fi
––– output –––
precaching table 'name'
precached 1 tables in #!/[0-9]{1}.[0-9]{3}/!# sec
Buddy started!
––– input –––
mysql -h0 -P9306 -e "SHOW TABLES;"
––– output –––
+-------+------+
| Table | Type |
+-------+------+
| name  | rt   |
+-------+------+
––– input –––
mysql -h0 -P9306 -e "show table name status like '%chunk%';"
––– output –––
+--------------------------+-------+
| Variable_name            | Value |
+--------------------------+-------+
| ram_chunk                | 0     |
| ram_chunk_segments_count | 0     |
| disk_chunks              | 2     |
+--------------------------+-------+
––– input –––
mysql -h0 -P9306 -e "select * from name ORDER BY id ASC LIMIT 5;"
––– output –––
~ +------+------------------+------+
~ | id   | username         | s    |
~ +------+------------------+------+
~ |    1 | TARRA NORTHCIRA HINOJOSA    | a    |
~ |    2 | CARSON BALLDENICE HATTON    | a    |
~ |    3 | TALIA TEAGUEJOAQUIN FOLEY    | a    |
~ |    4 | ALAYNA KIMBALLREBEKAH CARLISLE | a    |
~ |    5 | ZULMA RINEHARTEVE GUAJARDO     | a    |
~ +------+------------------+------+
––– input –––
start_optimize=$(date +%s); time mysql -h0 -P9306 -e "OPTIMIZE TABLE name OPTION sync=1, cutoff=1;" &
––– output –––
- [%{NUMBER}] %{NUMBER}
––– input –––
sleep 2 && start_update=$(date +%s); time_taken_update=$( { time mysql -h0 -P9306 -e "UPDATE name SET s='b' WHERE id=1;" > /dev/null 2>&1; } 2>&1 | grep real | awk '{print $2}'); update_duration=$(echo "$time_taken_update" | awk -F'm' '{print ($1 * 60) + $2}'); if (( $(echo "$update_duration > 1" | bc -l) )); then echo "FAIL: Update took longer than 1 second!"; exit 1; else echo "Update completed within acceptable time."; fi
––– output –––
Update completed within acceptable time.
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE s='b' ORDER BY id ASC LIMIT 5;"
––– output –––
~ +------+---------------+------+
~ | id   | username      | s    |
~ +------+---------------+------+
~ |    1 | TARRA NORTHCIRA HINOJOSA | b    |
~ +------+---------------+------+
––– input –––
start_update=$(date +%s); time_taken_update=$( { time mysql -h0 -P9306 -e "UPDATE name SET s=123 WHERE id=1;" > /dev/null 2>&1; } 2>&1 | grep real | awk '{print $2}'); update_duration=$(echo "$time_taken_update" | awk -F'm' '{print ($1 * 60) + $2}'); if (( $(echo "$update_duration > 1" | bc -l) )); then echo "FAIL: Update took longer than 1 second!"; exit 1; else echo "Update completed within acceptable time."; fi
––– output –––
Update completed within acceptable time.
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE s='b' ORDER BY id ASC LIMIT 5;"
––– output –––
~ +------+---------------+------+
~ | id   | username      | s    |
~ +------+---------------+------+
~ |    1 | TARRA NORTHCIRA HINOJOSA | b    |
~ +------+---------------+------+
––– input –––
start_update=$(date +%s); time_taken_update=$( { time mysql -h0 -P9306 -e "UPDATE name SET s='b' WHERE id > 0;" > /dev/null 2>&1; } 2>&1 | grep real | awk '{print $2}'); update_duration=$(echo "$time_taken_update" | awk -F'm' '{print ($1 * 60) + $2}'); if (( $(echo "$update_duration > 3" | bc -l) )); then echo "FAIL: Update took longer than 3 seconds!"; false; else echo "Update completed within acceptable time."; fi
––– output –––
Update completed within acceptable time.
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE s='b' ORDER BY id ASC LIMIT 5;"
––– output –––
~ +------+------------------+------+
~ | id   | username         | s    |
~ +------+------------------+------+
~ |    1 | TARRA NORTHCIRA HINOJOSA    | b    |
~ |    2 | CARSON BALLDENICE HATTON    | b    |
~ |    3 | TALIA TEAGUEJOAQUIN FOLEY    | b    |
~ |    4 | ALAYNA KIMBALLREBEKAH CARLISLE | b    |
~ |    5 | ZULMA RINEHARTEVE GUAJARDO     | b    |
~ +------+------------------+------+
––– input –––
start_update=$(date +%s); time_taken_update=$(mysql -h0 -P9306 -e "UPDATE name SET unknown='b' WHERE id=1;" 2>&1); update_duration=$(( $(date +%s) - start_update )); [[ "$time_taken_update" == *"ERROR"* ]] && echo "$time_taken_update"; if (( update_duration <= 1 )); then echo "The command is completed within a reasonable time frame."; else echo "FAIL: Update took longer than 1 second!"; false; fi
––– output –––
ERROR 1064 (42000) at line 1: table name: attribute 'unknown' not found
The command is completed within a reasonable time frame.
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE s='b' ORDER BY id ASC LIMIT 5;"
––– output –––
~ +------+------------------+------+
~ | id   | username         | s    |
~ +------+------------------+------+
~ |    1 | TARRA NORTHCIRA HINOJOSA    | b    |
~ |    2 | CARSON BALLDENICE HATTON    | b    |
~ |    3 | TALIA TEAGUEJOAQUIN FOLEY    | b    |
~ |    4 | ALAYNA KIMBALLREBEKAH CARLISLE | b    |
~ |    5 | ZULMA RINEHARTEVE GUAJARDO     | b    |
~ +------+------------------+------+
––– input –––
{ command time wait > /dev/null 2>&1; } 2>&1 | grep -v "real" | grep -v "user" | grep -v "sys"; end_optimize=$(date +%s); optimize_duration=$((end_optimize - start_optimize)); echo "OPTIMIZE duration: $optimize_duration seconds"
––– output –––
OPTIMIZE duration: %{NUMBER} seconds

Copy link

clt

❌ CLT tests in test/clt-tests/optimisation-and-update/
✅ OK: 0
❌ Failed: 1
⏳ Duration: 74s
👉 Check Action Results for commit 0a8da15
Failed tests:

test/clt-tests/optimisation-and-update/test-optimisation-and-update.rec
––– input –––
rm -f /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait > /dev/null; stdbuf -oL searchd > /dev/null
––– output –––
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install -y bc > /dev/null; echo $?
––– output –––
debconf: delaying package configuration, since apt-utils is not installed
0
––– input –––
chmod +x ./test/clt-tests/scripts/load_names_attr.php > /dev/null; echo $?
––– output –––
0
––– input –––
php -d memory_limit=2G ./test/clt-tests/scripts/load_names_attr.php --batch-size=100000 --concurrency=4 --docs=2000000 --start-id=1 --drop-table > /dev/null; echo $?
––– output –––
0
––– input –––
mysql -h0 -P9306 -e "FLUSH RAMCHUNK name;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "OPTIMIZE TABLE name OPTION sync=1, cutoff=2;"
––– output –––
––– input –––
sleep 1 && mysql -h0 -P9306 -e "show table name status like '%chunk%';"
––– output –––
+--------------------------+-------+
| Variable_name            | Value |
+--------------------------+-------+
| ram_chunk                | 0     |
| ram_chunk_segments_count | 0     |
| disk_chunks              | 2     |
+--------------------------+-------+
––– input –––
mysql -h0 -P9306 -e "SELECT COUNT(*) FROM name;"
––– output –––
+----------+
| count(*) |
+----------+
|  2000000 |
+----------+
––– input –––
php -d memory_limit=2G ./test/clt-tests/scripts/load_names_attr.php --batch-size=100000 --concurrency=4 --docs=2000000 --start-id=2000001 --no-drop-table > /dev/null; echo $?
––– output –––
0
––– input –––
mysql -h0 -P9306 -e "FLUSH RAMCHUNK name;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "OPTIMIZE TABLE name OPTION sync=1, cutoff=2;"
––– output –––
––– input –––
sleep 5 && mysql -h0 -P9306 -e "show table name status like '%chunk%';"
––– output –––
+--------------------------+-------+
| Variable_name            | Value |
+--------------------------+-------+
| ram_chunk                | 0     |
| ram_chunk_segments_count | 0     |
| disk_chunks              | 2     |
+--------------------------+-------+
––– input –––
mysql -h0 -P9306 -e "SELECT COUNT(*) FROM name;"
––– output –––
+----------+
| count(*) |
+----------+
|  4000000 |
+----------+
––– input –––
rm -f /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait > /dev/null; (stdbuf -oL searchd 2>&1 | tee /var/log/manticore/searchd.log | grep -i precach & disown); sleep 0.5; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log; fi
––– output –––
precaching table 'name'
precached 1 tables in #!/[0-9]{1}.[0-9]{3}/!# sec
Buddy started!
––– input –––
mysql -h0 -P9306 -e "SHOW TABLES;"
––– output –––
+-------+------+
| Table | Type |
+-------+------+
| name  | rt   |
+-------+------+
––– input –––
mysql -h0 -P9306 -e "show table name status like '%chunk%';"
––– output –––
+--------------------------+-------+
| Variable_name            | Value |
+--------------------------+-------+
| ram_chunk                | 0     |
| ram_chunk_segments_count | 0     |
| disk_chunks              | 2     |
+--------------------------+-------+
––– input –––
mysql -h0 -P9306 -e "select * from name ORDER BY id ASC LIMIT 5;"
––– output –––
+------+------------------+------+
| id   | username         | s    |
+------+------------------+------+
|    1 | CIRA HINOJOSA    | a    |
|    2 | DENICE HATTON    | a    |
|    3 | JOAQUIN FOLEY    | a    |
|    4 | REBEKAH CARLISLE | a    |
|    5 | EVE GUAJARDO     | a    |
+------+------------------+------+
––– input –––
start_optimize=$(date +%s); time mysql -h0 -P9306 -e "OPTIMIZE TABLE name OPTION sync=1, cutoff=1;" &
––– output –––
- [%{NUMBER}] %{NUMBER}
––– input –––
sleep 2 && start_update=$(date +%s); time_taken_update=$( { time mysql -h0 -P9306 -e "UPDATE name SET s='b' WHERE id=1;" > /dev/null 2>&1; } 2>&1 | grep real | awk '{print $2}'); update_duration=$(echo "$time_taken_update" | awk -F'm' '{print ($1 * 60) + $2}'); if (( $(echo "$update_duration > 1" | bc -l) )); then echo "FAIL: Update took longer than 1 second!"; exit 1; else echo "Update completed within acceptable time."; fi
––– output –––
Update completed within acceptable time.
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE s='b' ORDER BY id ASC LIMIT 5;"
––– output –––
+------+---------------+------+
| id   | username      | s    |
+------+---------------+------+
|    1 | CIRA HINOJOSA | b    |
+------+---------------+------+
––– input –––
start_update=$(date +%s); time_taken_update=$( { time mysql -h0 -P9306 -e "UPDATE name SET s=123 WHERE id=1;" > /dev/null 2>&1; } 2>&1 | grep real | awk '{print $2}'); update_duration=$(echo "$time_taken_update" | awk -F'm' '{print ($1 * 60) + $2}'); if (( $(echo "$update_duration > 1" | bc -l) )); then echo "FAIL: Update took longer than 1 second!"; exit 1; else echo "Update completed within acceptable time."; fi
––– output –––
Update completed within acceptable time.
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE s='b' ORDER BY id ASC LIMIT 5;"
––– output –––
+------+---------------+------+
| id   | username      | s    |
+------+---------------+------+
|    1 | CIRA HINOJOSA | b    |
+------+---------------+------+
––– input –––
start_update=$(date +%s); time_taken_update=$( { time mysql -h0 -P9306 -e "UPDATE name SET s='b' WHERE id > 0;" > /dev/null 2>&1; } 2>&1 | grep real | awk '{print $2}'); update_duration=$(echo "$time_taken_update" | awk -F'm' '{print ($1 * 60) + $2}'); if (( $(echo "$update_duration > 3" | bc -l) )); then echo "FAIL: Update took longer than 3 seconds!"; false; else echo "Update completed within acceptable time."; fi
––– output –––
Update completed within acceptable time.
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE s='b' ORDER BY id ASC LIMIT 5;"
––– output –––
+------+------------------+------+
| id   | username         | s    |
+------+------------------+------+
|    1 | CIRA HINOJOSA    | b    |
|    2 | DENICE HATTON    | b    |
|    3 | JOAQUIN FOLEY    | b    |
|    4 | REBEKAH CARLISLE | b    |
|    5 | EVE GUAJARDO     | b    |
+------+------------------+------+
––– input –––
start_update=$(date +%s); time_taken_update=$(mysql -h0 -P9306 -e "UPDATE name SET unknown='b' WHERE id=1;" 2>&1); update_duration=$(( $(date +%s) - start_update )); [[ "$time_taken_update" == *"ERROR"* ]] && echo "$time_taken_update"; if (( update_duration <= 1 )); then echo "The command is completed within a reasonable time frame."; else echo "FAIL: Update took longer than 1 second!"; false; fi
––– output –––
ERROR 1064 (42000) at line 1: table name: attribute 'unknown' not found
The command is completed within a reasonable time frame.
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE s='b' ORDER BY id ASC LIMIT 5;"
––– output –––
+------+------------------+------+
| id   | username         | s    |
+------+------------------+------+
|    1 | CIRA HINOJOSA    | b    |
|    2 | DENICE HATTON    | b    |
|    3 | JOAQUIN FOLEY    | b    |
|    4 | REBEKAH CARLISLE | b    |
|    5 | EVE GUAJARDO     | b    |
+------+------------------+------+
––– input –––
{ command time wait > /dev/null 2>&1; } 2>&1 | grep -v "real" | grep -v "user" | grep -v "sys"; end_optimize=$(date +%s); optimize_duration=$((end_optimize - start_optimize)); echo "OPTIMIZE duration: $optimize_duration seconds"
––– output –––
OPTIMIZE duration: %{NUMBER} seconds

Copy link

clt

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

test/clt-tests/core/test-replace-into.rec
––– input –––
rm -f /var/log/manticore/searchd.log; stdbuf -oL searchd --stopwait > /dev/null; stdbuf -oL searchd > /dev/null
––– output –––
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
mysql -v -h0 -P9306 -e "SHOW TABLES; DROP TABLE IF EXISTS tbl; SHOW TABLES; CREATE TABLE tbl (id BIGINT, model TEXT, storage_capacity INTEGER, color string, release_year INTEGER, price FLOAT, discounted_price FLOAT, sold BOOL, date_added TIMESTAMP, product_codes MULTI, values MULTI64, additional_info JSON, vector float_vector knn_type='hnsw' knn_dims='4' hnsw_similarity='l2');"
––– output –––
--------------
SHOW TABLES
--------------
--------------
DROP TABLE IF EXISTS tbl
--------------
--------------
SHOW TABLES
--------------
--------------
CREATE TABLE tbl (id BIGINT, model TEXT, storage_capacity INTEGER, color string, release_year INTEGER, price FLOAT, discounted_price FLOAT, sold BOOL, date_added TIMESTAMP, product_codes MULTI, values MULTI64, additional_info JSON, vector float_vector knn_type='hnsw' knn_dims='4' hnsw_similarity='l2')
--------------
––– input –––
chmod +x ./test/clt-tests/scripts/generate-1mln-records.sh
––– output –––
––– input –––
total_iterations=20000 ./test/clt-tests/scripts/generate-1mln-records.sh
––– output –––
+-------+------+
| Table | Type |
+-------+------+
| tbl   | rt   |
+-------+------+
+----------+
| count(*) |
+----------+
|  1000000 |
+----------+
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET model ='iPhone 15 PRO' WHERE id = 101; select * from tbl WHERE id = 101;"
––– output –––
+------+---------------+------------------+--------+--------------+-------------+------------------+------+------------+---------------+----------------------------------------+-----------------------------------------------------------------------------------+-------------------------------------+
| id   | model         | storage_capacity | color  | release_year | price       | discounted_price | sold | date_added | product_codes | values                                 | additional_info                                                                   | vector                              |
+------+---------------+------------------+--------+--------------+-------------+------------------+------+------------+---------------+----------------------------------------+-----------------------------------------------------------------------------------+-------------------------------------+
|  101 | iPhone 15 PRO |              256 | silver |         2021 | 1099.989990 |       989.989990 |    1 | 2224442480 | 1,2,3         | 523456764345678976,9223372036854775807 | {"features":["ProMotion display","A15 Bionic chip","Ceramic Shield front cover"]} | 0.773448,0.312478,0.137971,0.459821 |
+------+---------------+------------------+--------+--------------+-------------+------------------+------+------------+---------------+----------------------------------------+-----------------------------------------------------------------------------------+-------------------------------------+
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET values = (623456764345678976, 9223372036854775807) WHERE id = 120; select * from tbl WHERE id = 120;"
––– output –––
+------+---------+------------------+-------------+--------------+------------+------------------+------+------------+---------------+----------------------------------------+-----------------------------------------------------------------------------------+-------------------------------------+
| id   | model   | storage_capacity | color       | release_year | price      | discounted_price | sold | date_added | product_codes | values                                 | additional_info                                                                   | vector                              |
+------+---------+------------------+-------------+--------------+------------+------------------+------+------------+---------------+----------------------------------------+-----------------------------------------------------------------------------------+-------------------------------------+
|  120 | LG Wing |              256 | aurora gray |         2020 | 999.989990 |       899.989990 |    1 | 1496660080 | 57,58,59      | 623456764345678976,9223372036854775807 | {"features":["Qualcomm Snapdragon 765G","Swivel display","Triple-camera system"]} | 0.863448,0.402478,0.227971,0.549821 |
+------+---------+------------------+-------------+--------------+------------+------------------+------+------------+---------------+----------------------------------------+-----------------------------------------------------------------------------------+-------------------------------------+
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET product_codes = (53,45,77), values = (92233777368548,92233720368548) WHERE id = 119; select * from tbl WHERE id = 119;"
––– output –––
+------+---------------------+------------------+-------+--------------+------------+------------------+------+------------+---------------+-------------------------------+-----------------------------------------------------------------------------------+-------------------------------------+
| id   | model               | storage_capacity | color | release_year | price      | discounted_price | sold | date_added | product_codes | values                        | additional_info                                                                   | vector                              |
+------+---------------------+------------------+-------+--------------+------------+------------------+------+------------+---------------+-------------------------------+-----------------------------------------------------------------------------------+-------------------------------------+
|  119 | BlackBerry Evolve X |               64 | black |         2018 | 599.989990 |       499.989990 |    0 | 3697138672 | 45,53,77      | 92233720368548,92233777368548 | {"features":["Qualcomm Snapdragon 660","5.99-inch display","Dual-camera system"]} | 0.051106,0.948278,0.291892,0.104594 |
+------+---------------------+------------------+-------+--------------+------------+------------------+------+------------+---------------+-------------------------------+-----------------------------------------------------------------------------------+-------------------------------------+
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET price =15000.99 WHERE id = 117; select * from tbl WHERE id = 117;"
––– output –––
+------+----------------------+------------------+---------------+--------------+--------------+------------------+------+------------+---------------+-----------------------------------------+--------------------------------------------------------------------------------+-------------------------------------+
| id   | model                | storage_capacity | color         | release_year | price        | discounted_price | sold | date_added | product_codes | values                                  | additional_info                                                                | vector                              |
+------+----------------------+------------------+---------------+--------------+--------------+------------------+------+------------+---------------+-----------------------------------------+--------------------------------------------------------------------------------+-------------------------------------+
|  117 | Motorola Edge 20 Pro |              256 | midnight blue |         2021 | 15000.990234 |       599.989990 |    0 | 1501096560 | 48,49,50      | 1123456764345678976,9223372036854775807 | {"features":["Qualcomm Snapdragon 870","OLED display","Triple-camera system"]} | 0.041106,0.938278,0.281892,0.094594 |
+------+----------------------+------------------+---------------+--------------+--------------+------------------+------+------------+---------------+-----------------------------------------+--------------------------------------------------------------------------------+-------------------------------------+
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET price =15000.99, discounted_price =445.88 WHERE id = 330; select * from tbl WHERE id = 330;"
––– output –––
+------+------------------------------+------------------+------------+--------------+--------------+------------------+------+------------+---------------+-----------------------------------------+---------------------------------------------------------------------------+-------------------------------------+
| id   | model                        | storage_capacity | color      | release_year | price        | discounted_price | sold | date_added | product_codes | values                                  | additional_info                                                           | vector                              |
+------+------------------------------+------------------+------------+--------------+--------------+------------------+------+------------+---------------+-----------------------------------------+---------------------------------------------------------------------------+-------------------------------------+
|  330 | Motorola Moto G Power (2021) |               64 | flash gray |         2021 | 15000.990234 |       445.880005 |    1 | 1306783344 | 84,85,86      | 2323456764345678976,9223372036854775807 | {"features":["Snapdragon 662","6.6-inch display","Triple-camera system"]} | 0.663448,0.202478,0.027971,0.349821 |
+------+------------------------------+------------------+------------+--------------+--------------+------------------+------+------------+---------------+-----------------------------------------+---------------------------------------------------------------------------+-------------------------------------+
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET vector= (-0.037794, 0.856278, 0.202892, 0.015594) WHERE id = 102; select * from tbl WHERE id = 102;"
––– output –––
+------+-----------+------------------+-------+--------------+------------+------------------+------+------------+---------------+----------------------------------------+------------------------------------------------------------------------------------+--------------------------------------+
| id   | model     | storage_capacity | color | release_year | price      | discounted_price | sold | date_added | product_codes | values                                 | additional_info                                                                    | vector                               |
+------+-----------+------------------+-------+--------------+------------+------------------+------+------------+---------------+----------------------------------------+------------------------------------------------------------------------------------+--------------------------------------+
|  102 | iPhone 13 |              128 | blue  |         2021 | 799.989990 |       719.989990 |    0 | 1820294112 | 4,5,6         | 623456764345678976,9223372036854775807 | {"features":["A15 Bionic chip","Ceramic Shield front cover","Dual-camera system"]} | -0.037794,0.856278,0.202892,0.015594 |
+------+-----------+------------------+-------+--------------+------------+------------------+------+------------+---------------+----------------------------------------+------------------------------------------------------------------------------------+--------------------------------------+
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET price =15000.99, discounted_price =445.88, vector= (-0.037794, 0.856278, 0.202892, 0.015594) WHERE id = 336; select * from tbl WHERE id = 336;"
––– output –––
+------+----------------------+------------------+-------+--------------+--------------+------------------+------+------------+---------------+-----------------------------------------+-----------------------------------------------------------------------------+--------------------------------------+
| id   | model                | storage_capacity | color | release_year | price        | discounted_price | sold | date_added | product_codes | values                                  | additional_info                                                             | vector                               |
+------+----------------------+------------------+-------+--------------+--------------+------------------+------+------------+---------------+-----------------------------------------+-----------------------------------------------------------------------------+--------------------------------------+
|  336 | HTC Wildfire E1 lite |               32 | black |         2021 | 15000.990234 |       445.880005 |    1 | 3438054384 | 102,103,104   | 2923456764345678976,9223372036854775807 | {"features":["MediaTek Helio A20","6.1-inch display","Dual-camera system"]} | -0.037794,0.856278,0.202892,0.015594 |
+------+----------------------+------------------+-------+--------------+--------------+------------------+------+------------+---------------+-----------------------------------------+-----------------------------------------------------------------------------+--------------------------------------+
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET model='iPhone 13 Pro Max', color='titan', storage_capacity=1000, release_year=2023, sold=1, date_added=4077861360, product_codes=(30,31,32), values= (9223372444854775807,9223372036812375244), additional_info= '{\"features\":[\"Snapdragon 900\",\"8.0-inch display\",\"Dual-camera new-system\"]}', vector= (-0.037795, 0.856278, 0.202892, -0.015595) WHERE id = 247; select * from tbl WHERE id = 247;"
––– output –––
+------+-------------------+------------------+-------+--------------+------------+------------------+------+------------+---------------+-----------------------------------------+-----------------------------------------------------------------------------+---------------------------------------+
| id   | model             | storage_capacity | color | release_year | price      | discounted_price | sold | date_added | product_codes | values                                  | additional_info                                                             | vector                                |
+------+-------------------+------------------+-------+--------------+------------+------------------+------+------------+---------------+-----------------------------------------+-----------------------------------------------------------------------------+---------------------------------------+
|  247 | iPhone 13 Pro Max |             1000 | titan |         2023 | 799.989990 |       699.989990 |    1 | 4077861360 | 30,31,32      | 9223372036812375244,9223372036854775807 | {"features":["Snapdragon 900","8.0-inch display","Dual-camera new-system"]} | -0.037795,0.856278,0.202892,-0.015595 |
+------+-------------------+------------------+-------+--------------+------------+------------------+------+------------+---------------+-----------------------------------------+-----------------------------------------------------------------------------+---------------------------------------+
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET additional_info= '{\"features\":[\"Snapdragon 900\",\"8.0-inch display\",\"Dual-camera new-system\"]}' WHERE id = 323; select * from tbl WHERE id =323;"
––– output –––
+------+------------------+------------------+---------------+--------------+------------+------------------+------+------------+---------------+-----------------------------------------+-----------------------------------------------------------------------------+-------------------------------------+
| id   | model            | storage_capacity | color         | release_year | price      | discounted_price | sold | date_added | product_codes | values                                  | additional_info                                                             | vector                              |
+------+------------------+------------------+---------------+--------------+------------+------------------+------+------------+---------------+-----------------------------------------+-----------------------------------------------------------------------------+-------------------------------------+
|  323 | Asus ROG Phone 5 |              256 | phantom black |         2021 | 999.989990 |       899.989990 |    0 | 3632367600 | 66,67,68      | 1723456764345678976,9223372036854775807 | {"features":["Snapdragon 900","8.0-inch display","Dual-camera new-system"]} | 0.071106,0.968278,0.311892,0.124594 |
+------+------------------+------------------+---------------+--------------+------------+------------------+------+------------+---------------+-----------------------------------------+-----------------------------------------------------------------------------+-------------------------------------+
––– input –––
mysql -h0 -P9306 -e "Replace Into tbl Set price =15780.99, discounted_price =335.88 WHERE id = 335; select * from tbl WHERE id = 335;"
––– output –––
+------+-------------+------------------+--------------+--------------+--------------+------------------+------+------------+---------------+-----------------------------------------+-------------------------------------------------------------------------+---------------------------------------+
| id   | model       | storage_capacity | color        | release_year | price        | discounted_price | sold | date_added | product_codes | values                                  | additional_info                                                         | vector                                |
+------+-------------+------------------+--------------+--------------+--------------+------------------+------+------------+---------------+-----------------------------------------+-------------------------------------------------------------------------+---------------------------------------+
|  335 | LG G8 ThinQ |              128 | aurora black |         2019 | 15780.990234 |       335.880005 |    0 | 1194467680 | 99,100,101    | 2823456764345678976,9223372036854775807 | {"features":["Snapdragon 855","6.1-inch display","Dual-camera system"]} | -0.118894,0.778278,0.121892,-0.065406 |
+------+-------------+------------------+--------------+--------------+--------------+------------------+------+------------+---------------+-----------------------------------------+-------------------------------------------------------------------------+---------------------------------------+
––– input –––
curl -s -X  POST "http://localhost:9308/tbl/_update/101" -H "Content-Type: application/json" -d '{"doc": {"model": "new-model", "color": "new-color"}}'; echo $?
––– output –––
{"_index":"tbl","updated":1}0
––– input –––
start_time=$(date +%s%3N) && for i in {1..5000}; do echo "REPLACE INTO tbl SET color = 'color_$i' WHERE id = ${i}01;"; done > /tmp/replace_dump && mysql -h0 -P9306 < /tmp/replace_dump > /dev/null && end_time=$(date +%s%3N) && export elapsed_time=$((end_time - start_time))
––– output –––
––– input –––
echo $elapsed_time
––– output –––
#!/[0-9]{4,5}/!#
––– input –––
mysql -h0 -P9306 -e "select count(*) from tbl WHERE regex (color, 'color_[0-9]+')"
––– output –––
+----------+
| count(*) |
+----------+
|     5000 |
+----------+
––– input –––
start_time2=$(date +%s%3N) && for i in {1..5000}; do echo "REPLACE INTO tbl (id, model, storage_capacity, color, release_year, price, discounted_price, sold, date_added, product_codes, values, additional_info, vector) VALUES (${i}101, 'iPhone 13 Pro', 256, 'silver${i}', 2021, 1099.99, 989.99, 'TRUE', '1591362342000', (1,2,3), (523456764345678976, 98765409877866654098, 1109876543450987650987), '{\"features\": [\"ProMotion display\", \"A15 Bionic chip\", \"Ceramic Shield front cover\"]}', (0.773448, 0.312478, 0.137971, 0.459821));"; done > /tmp/replace_dump && mysql -h0 -P9306 < /tmp/replace_dump > /dev/null && end_time2=$(date +%s%3N) && export elapsed_time2=$((end_time2 - start_time2))
––– output –––
––– input –––
echo $elapsed_time2
––– output –––
#!/[0-9]{3,4}/!#
––– input –––
mysql -h0 -P9306 -e "select count(*) from tbl WHERE regex (color, 'silver[0-9]+')"
––– output –––
+----------+
| count(*) |
+----------+
|     5000 |
+----------+
––– input –––
echo $((elapsed_time / elapsed_time2))
––– output –––
- #!/([0-9]{1}|1[0-2]{1})/!#
+ 10
––– input –––
mysql -v -h0 -P9306 -e "SHOW TABLES; DROP TABLE IF EXISTS abc; create table abc(id, t1 text, t2 text indexed); insert into abc VALUES (1, 'abc', 'cde'); desc abc;"
––– output –––
--------------
SHOW TABLES
--------------
+-------+------+
| Table | Type |
+-------+------+
| tbl   | rt   |
+-------+------+
--------------
DROP TABLE IF EXISTS abc
--------------
--------------
create table abc(id, t1 text, t2 text indexed)
--------------
--------------
insert into abc VALUES (1, 'abc', 'cde')
--------------
--------------
desc abc
--------------
+-------+--------+----------------+
| Field | Type   | Properties     |
+-------+--------+----------------+
| id    | bigint |                |
| t1    | text   | indexed stored |
| t2    | text   | indexed        |
+-------+--------+----------------+
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO abc SET t1 ='iPhone 15 PRO' WHERE id = 1;"
––– output –––
ERROR 1064 (42000) at line 1: Field t2 doesn't have stored property. Replace query can't be performed
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET model ='iPhone 16 PRO MAX' WHERE id > 105;"
––– output –––
ERROR 1064 (42000) at line 1: P01: syntax error, unexpected SET, expecting VALUES near 'SET model ='iPhone 16 PRO MAX' WHERE id > 105'
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET model ='iPhone 17 PRO MAX' WHERE id = 'abs';"
––– output –––
ERROR 1064 (42000) at line 1: P01: syntax error, unexpected SET, expecting VALUES near 'SET model ='iPhone 17 PRO MAX' WHERE id = 'abs''
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET model ='iPhone 18 PRO' WHERE id in (1,2,3);"
––– output –––
ERROR 1064 (42000) at line 1: P01: syntax error, unexpected SET, expecting VALUES near 'SET model ='iPhone 18 PRO' WHERE id in (1,2,3)'
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET model ='iPhone 18 PRO' WHERE sold = 0;"
––– output –––
ERROR 1064 (42000) at line 1: P01: syntax error, unexpected SET, expecting VALUES near 'SET model ='iPhone 18 PRO' WHERE sold = 0'
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET id =777 WHERE id = 144; select * from tbl WHERE id = 144;"
––– output –––
+------+-----------------+------------------+--------------+--------------+------------+------------------+------+------------+---------------+-----------------------------------------+--------------------------------------------------------------------+-------------------------------------+
| id   | model           | storage_capacity | color        | release_year | price      | discounted_price | sold | date_added | product_codes | values                                  | additional_info                                                    | vector                              |
+------+-----------------+------------------+--------------+--------------+------------+------------------+------+------------+---------------+-----------------------------------------+--------------------------------------------------------------------+-------------------------------------+
|  144 | Sony Xperia XZ3 |               64 | forest green |         2018 | 899.989990 |       799.989990 |    1 | 3308512240 | 126,127,128   | 3723456764345678976,9223372036854775807 | {"features":["Snapdragon 845","6.0-inch display","Single camera"]} | 0.733448,0.272478,0.097971,0.419821 |
+------+-----------------+------------------+--------------+--------------+------------+------------------+------+------------+---------------+-----------------------------------------+--------------------------------------------------------------------+-------------------------------------+
––– input –––
mysql -v -h0 -P9306 -e "SHOW TABLES; DROP TABLE IF EXISTS tbl; DROP TABLE IF EXISTS abc; SHOW TABLES; CREATE TABLE tbl (id BIGINT, model TEXT, storage_capacity INTEGER, color string, release_year INTEGER, price FLOAT, discounted_price FLOAT, sold BOOL, date_added TIMESTAMP, product_codes MULTI, values MULTI64, additional_info JSON, vector float_vector knn_type='hnsw' knn_dims='4' hnsw_similarity='l2') engine='columnar';"
––– output –––
--------------
SHOW TABLES
--------------
+-------+------+
| Table | Type |
+-------+------+
| abc   | rt   |
| tbl   | rt   |
+-------+------+
--------------
DROP TABLE IF EXISTS tbl
--------------
--------------
DROP TABLE IF EXISTS abc
--------------
--------------
SHOW TABLES
--------------
--------------
CREATE TABLE tbl (id BIGINT, model TEXT, storage_capacity INTEGER, color string, release_year INTEGER, price FLOAT, discounted_price FLOAT, sold BOOL, date_added TIMESTAMP, product_codes MULTI, values MULTI64, additional_info JSON, vector float_vector knn_type='hnsw' knn_dims='4' hnsw_similarity='l2') engine='columnar'
--------------
––– input –––
chmod +x ./test/clt-tests/scripts/generate-1mln-records.sh
––– output –––
––– input –––
total_iterations=20000 ./test/clt-tests/scripts/generate-1mln-records.sh
––– output –––
+-------+------+
| Table | Type |
+-------+------+
| tbl   | rt   |
+-------+------+
+----------+
| count(*) |
+----------+
|  1000000 |
+----------+
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET model ='iPhone 15 PRO' WHERE id = 101; select * from tbl WHERE id = 101;"
––– output –––
+------+---------------+------------------+--------+--------------+-------------+------------------+------+------------+---------------+----------------------------------------+-----------------------------------------------------------------------------------+-------------------------------------+
| id   | model         | storage_capacity | color  | release_year | price       | discounted_price | sold | date_added | product_codes | values                                 | additional_info                                                                   | vector                              |
+------+---------------+------------------+--------+--------------+-------------+------------------+------+------------+---------------+----------------------------------------+-----------------------------------------------------------------------------------+-------------------------------------+
|  101 | iPhone 15 PRO |              256 | silver |         2021 | 1099.989990 |       989.989990 |    1 | 2224442480 | 1,2,3         | 523456764345678976,9223372036854775807 | {"features":["ProMotion display","A15 Bionic chip","Ceramic Shield front cover"]} | 0.773448,0.312478,0.137971,0.459821 |
+------+---------------+------------------+--------+--------------+-------------+------------------+------+------------+---------------+----------------------------------------+-----------------------------------------------------------------------------------+-------------------------------------+
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET values = (623456764345678976, 9223372036854775807) WHERE id = 120; select * from tbl WHERE id = 120;"
––– output –––
+------+---------+------------------+-------------+--------------+------------+------------------+------+------------+---------------+----------------------------------------+-----------------------------------------------------------------------------------+-------------------------------------+
| id   | model   | storage_capacity | color       | release_year | price      | discounted_price | sold | date_added | product_codes | values                                 | additional_info                                                                   | vector                              |
+------+---------+------------------+-------------+--------------+------------+------------------+------+------------+---------------+----------------------------------------+-----------------------------------------------------------------------------------+-------------------------------------+
|  120 | LG Wing |              256 | aurora gray |         2020 | 999.989990 |       899.989990 |    1 | 1496660080 | 57,58,59      | 623456764345678976,9223372036854775807 | {"features":["Qualcomm Snapdragon 765G","Swivel display","Triple-camera system"]} | 0.863448,0.402478,0.227971,0.549821 |
+------+---------+------------------+-------------+--------------+------------+------------------+------+------------+---------------+----------------------------------------+-----------------------------------------------------------------------------------+-------------------------------------+
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET product_codes = (53,45,77), values = (92233777368548,92233720368548) WHERE id = 119; select * from tbl WHERE id = 119;"
––– output –––
+------+---------------------+------------------+-------+--------------+------------+------------------+------+------------+---------------+-------------------------------+-----------------------------------------------------------------------------------+-------------------------------------+
| id   | model               | storage_capacity | color | release_year | price      | discounted_price | sold | date_added | product_codes | values                        | additional_info                                                                   | vector                              |
+------+---------------------+------------------+-------+--------------+------------+------------------+------+------------+---------------+-------------------------------+-----------------------------------------------------------------------------------+-------------------------------------+
|  119 | BlackBerry Evolve X |               64 | black |         2018 | 599.989990 |       499.989990 |    0 | 3697138672 | 45,53,77      | 92233720368548,92233777368548 | {"features":["Qualcomm Snapdragon 660","5.99-inch display","Dual-camera system"]} | 0.051106,0.948278,0.291892,0.104594 |
+------+---------------------+------------------+-------+--------------+------------+------------------+------+------------+---------------+-------------------------------+-----------------------------------------------------------------------------------+-------------------------------------+
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET price =15000.99 WHERE id = 117; select * from tbl WHERE id = 117;"
––– output –––
+------+----------------------+------------------+---------------+--------------+--------------+------------------+------+------------+---------------+-----------------------------------------+--------------------------------------------------------------------------------+-------------------------------------+
| id   | model                | storage_capacity | color         | release_year | price        | discounted_price | sold | date_added | product_codes | values                                  | additional_info                                                                | vector                              |
+------+----------------------+------------------+---------------+--------------+--------------+------------------+------+------------+---------------+-----------------------------------------+--------------------------------------------------------------------------------+-------------------------------------+
|  117 | Motorola Edge 20 Pro |              256 | midnight blue |         2021 | 15000.990234 |       599.989990 |    0 | 1501096560 | 48,49,50      | 1123456764345678976,9223372036854775807 | {"features":["Qualcomm Snapdragon 870","OLED display","Triple-camera system"]} | 0.041106,0.938278,0.281892,0.094594 |
+------+----------------------+------------------+---------------+--------------+--------------+------------------+------+------------+---------------+-----------------------------------------+--------------------------------------------------------------------------------+-------------------------------------+
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET price =15000.99, discounted_price =445.88 WHERE id = 330; select * from tbl WHERE id = 330;"
––– output –––
+------+------------------------------+------------------+------------+--------------+--------------+------------------+------+------------+---------------+-----------------------------------------+---------------------------------------------------------------------------+-------------------------------------+
| id   | model                        | storage_capacity | color      | release_year | price        | discounted_price | sold | date_added | product_codes | values                                  | additional_info                                                           | vector                              |
+------+------------------------------+------------------+------------+--------------+--------------+------------------+------+------------+---------------+-----------------------------------------+---------------------------------------------------------------------------+-------------------------------------+
|  330 | Motorola Moto G Power (2021) |               64 | flash gray |         2021 | 15000.990234 |       445.880005 |    1 | 1306783344 | 84,85,86      | 2323456764345678976,9223372036854775807 | {"features":["Snapdragon 662","6.6-inch display","Triple-camera system"]} | 0.663448,0.202478,0.027971,0.349821 |
+------+------------------------------+------------------+------------+--------------+--------------+------------------+------+------------+---------------+-----------------------------------------+---------------------------------------------------------------------------+-------------------------------------+
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET vector= (-0.037794, 0.856278, 0.202892, 0.015594) WHERE id = 102; select * from tbl WHERE id = 102;"
––– output –––
+------+-----------+------------------+-------+--------------+------------+------------------+------+------------+---------------+----------------------------------------+------------------------------------------------------------------------------------+--------------------------------------+
| id   | model     | storage_capacity | color | release_year | price      | discounted_price | sold | date_added | product_codes | values                                 | additional_info                                                                    | vector                               |
+------+-----------+------------------+-------+--------------+------------+------------------+------+------------+---------------+----------------------------------------+------------------------------------------------------------------------------------+--------------------------------------+
|  102 | iPhone 13 |              128 | blue  |         2021 | 799.989990 |       719.989990 |    0 | 1820294112 | 4,5,6         | 623456764345678976,9223372036854775807 | {"features":["A15 Bionic chip","Ceramic Shield front cover","Dual-camera system"]} | -0.037794,0.856278,0.202892,0.015594 |
+------+-----------+------------------+-------+--------------+------------+------------------+------+------------+---------------+----------------------------------------+------------------------------------------------------------------------------------+--------------------------------------+
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET price =15000.99, discounted_price =445.88, vector= (-0.037794, 0.856278, 0.202892, 0.015594) WHERE id = 336; select * from tbl WHERE id = 336;"
––– output –––
+------+----------------------+------------------+-------+--------------+--------------+------------------+------+------------+---------------+-----------------------------------------+-----------------------------------------------------------------------------+--------------------------------------+
| id   | model                | storage_capacity | color | release_year | price        | discounted_price | sold | date_added | product_codes | values                                  | additional_info                                                             | vector                               |
+------+----------------------+------------------+-------+--------------+--------------+------------------+------+------------+---------------+-----------------------------------------+-----------------------------------------------------------------------------+--------------------------------------+
|  336 | HTC Wildfire E1 lite |               32 | black |         2021 | 15000.990234 |       445.880005 |    1 | 3438054384 | 102,103,104   | 2923456764345678976,9223372036854775807 | {"features":["MediaTek Helio A20","6.1-inch display","Dual-camera system"]} | -0.037794,0.856278,0.202892,0.015594 |
+------+----------------------+------------------+-------+--------------+--------------+------------------+------+------------+---------------+-----------------------------------------+-----------------------------------------------------------------------------+--------------------------------------+
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET model='iPhone 13 Pro Max', color='titan', storage_capacity=1000, release_year=2023, sold=1, date_added=4077861360, product_codes=(30,31,32), values= (9223372444854775807,9223372036812375244), additional_info= '{\"features\":[\"Snapdragon 900\",\"8.0-inch display\",\"Dual-camera new-system\"]}', vector= (-0.037795, 0.856278, 0.202892, -0.015595) WHERE id = 247; select * from tbl WHERE id = 247;"
––– output –––
+------+-------------------+------------------+-------+--------------+------------+------------------+------+------------+---------------+-----------------------------------------+-----------------------------------------------------------------------------+---------------------------------------+
| id   | model             | storage_capacity | color | release_year | price      | discounted_price | sold | date_added | product_codes | values                                  | additional_info                                                             | vector                                |
+------+-------------------+------------------+-------+--------------+------------+------------------+------+------------+---------------+-----------------------------------------+-----------------------------------------------------------------------------+---------------------------------------+
|  247 | iPhone 13 Pro Max |             1000 | titan |         2023 | 799.989990 |       699.989990 |    1 | 4077861360 | 30,31,32      | 9223372036812375244,9223372036854775807 | {"features":["Snapdragon 900","8.0-inch display","Dual-camera new-system"]} | -0.037795,0.856278,0.202892,-0.015595 |
+------+-------------------+------------------+-------+--------------+------------+------------------+------+------------+---------------+-----------------------------------------+-----------------------------------------------------------------------------+---------------------------------------+
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET additional_info= '{\"features\":[\"Snapdragon 900\",\"8.0-inch display\",\"Dual-camera new-system\"]}' WHERE id = 323; select * from tbl WHERE id =323;"
––– output –––
+------+------------------+------------------+---------------+--------------+------------+------------------+------+------------+---------------+-----------------------------------------+-----------------------------------------------------------------------------+-------------------------------------+
| id   | model            | storage_capacity | color         | release_year | price      | discounted_price | sold | date_added | product_codes | values                                  | additional_info                                                             | vector                              |
+------+------------------+------------------+---------------+--------------+------------+------------------+------+------------+---------------+-----------------------------------------+-----------------------------------------------------------------------------+-------------------------------------+
|  323 | Asus ROG Phone 5 |              256 | phantom black |         2021 | 999.989990 |       899.989990 |    0 | 3632367600 | 66,67,68      | 1723456764345678976,9223372036854775807 | {"features":["Snapdragon 900","8.0-inch display","Dual-camera new-system"]} | 0.071106,0.968278,0.311892,0.124594 |
+------+------------------+------------------+---------------+--------------+------------+------------------+------+------------+---------------+-----------------------------------------+-----------------------------------------------------------------------------+-------------------------------------+
––– input –––
mysql -h0 -P9306 -e "Replace Into tbl Set price =15780.99, discounted_price =335.88 WHERE id = 335; select * from tbl WHERE id = 335;"
––– output –––
+------+-------------+------------------+--------------+--------------+--------------+------------------+------+------------+---------------+-----------------------------------------+-------------------------------------------------------------------------+---------------------------------------+
| id   | model       | storage_capacity | color        | release_year | price        | discounted_price | sold | date_added | product_codes | values                                  | additional_info                                                         | vector                                |
+------+-------------+------------------+--------------+--------------+--------------+------------------+------+------------+---------------+-----------------------------------------+-------------------------------------------------------------------------+---------------------------------------+
|  335 | LG G8 ThinQ |              128 | aurora black |         2019 | 15780.990234 |       335.880005 |    0 | 1194467680 | 99,100,101    | 2823456764345678976,9223372036854775807 | {"features":["Snapdragon 855","6.1-inch display","Dual-camera system"]} | -0.118894,0.778278,0.121892,-0.065406 |
+------+-------------+------------------+--------------+--------------+--------------+------------------+------+------------+---------------+-----------------------------------------+-------------------------------------------------------------------------+---------------------------------------+
––– input –––
curl -s -X  POST "http://localhost:9308/tbl/_update/101" -H "Content-Type: application/json" -d '{"doc": {"model": "new-model", "color": "new-color"}}'; echo $?
––– output –––
{"_index":"tbl","updated":1}0
––– input –––
start_time=$(date +%s%3N) && for i in {1..5000}; do echo "REPLACE INTO tbl SET color = 'color_$i' WHERE id = ${i}01;"; done > /tmp/replace_dump && mysql -h0 -P9306 < /tmp/replace_dump > /dev/null && end_time=$(date +%s%3N) && export elapsed_time=$((end_time - start_time))
––– output –––
––– input –––
echo $elapsed_time
––– output –––
#!/[0-9]{4,5}/!#
––– input –––
mysql -h0 -P9306 -e "select count(*) from tbl WHERE regex (color, 'color_[0-9]+')"
––– output –––
+----------+
| count(*) |
+----------+
|     5000 |
+----------+
––– input –––
start_time2=$(date +%s%3N) && for i in {1..5000}; do echo "REPLACE INTO tbl (id, model, storage_capacity, color, release_year, price, discounted_price, sold, date_added, product_codes, values, additional_info, vector) VALUES (${i}101, 'iPhone 13 Pro', 256, 'silver${i}', 2021, 1099.99, 989.99, 'TRUE', '1591362342000', (1,2,3), (523456764345678976, 98765409877866654098, 1109876543450987650987), '{\"features\": [\"ProMotion display\", \"A15 Bionic chip\", \"Ceramic Shield front cover\"]}', (0.773448, 0.312478, 0.137971, 0.459821));"; done > /tmp/replace_dump && mysql -h0 -P9306 < /tmp/replace_dump > /dev/null && end_time2=$(date +%s%3N) && export elapsed_time2=$((end_time2 - start_time2))
––– output –––
––– input –––
echo $elapsed_time2
––– output –––
#!/[0-9]{3,4}/!#
––– input –––
mysql -h0 -P9306 -e "select count(*) from tbl WHERE regex (color, 'silver[0-9]+')"
––– output –––
+----------+
| count(*) |
+----------+
|     5000 |
+----------+
––– input –––
echo $((elapsed_time / elapsed_time2))
––– output –––
#!/([0-9]{1}|1[0-2]{1})/!#
––– input –––
mysql -v -h0 -P9306 -e "SHOW TABLES; create table abc(id, t1 text, t2 text indexed) engine='columnar'; insert into abc VALUES (1, 'abc', 'cde'); desc abc;"
––– output –––
--------------
SHOW TABLES
--------------
+-------+------+
| Table | Type |
+-------+------+
| tbl   | rt   |
+-------+------+
--------------
create table abc(id, t1 text, t2 text indexed) engine='columnar'
--------------
--------------
insert into abc VALUES (1, 'abc', 'cde')
--------------
--------------
desc abc
--------------
+-------+--------+----------------+
| Field | Type   | Properties     |
+-------+--------+----------------+
| id    | bigint | columnar       |
| t1    | text   | indexed stored |
| t2    | text   | indexed        |
+-------+--------+----------------+
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO abc SET t1 ='iPhone 15 PRO' WHERE id = 1;"
––– output –––
ERROR 1064 (42000) at line 1: Field t2 doesn't have stored property. Replace query can't be performed
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET model ='iPhone 16 PRO MAX' WHERE id > 105;"
––– output –––
ERROR 1064 (42000) at line 1: P01: syntax error, unexpected SET, expecting VALUES near 'SET model ='iPhone 16 PRO MAX' WHERE id > 105'
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET model ='iPhone 17 PRO MAX' WHERE id = 'abs';"
––– output –––
ERROR 1064 (42000) at line 1: P01: syntax error, unexpected SET, expecting VALUES near 'SET model ='iPhone 17 PRO MAX' WHERE id = 'abs''
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET model ='iPhone 18 PRO' WHERE id in (1,2,3);"
––– output –––
ERROR 1064 (42000) at line 1: P01: syntax error, unexpected SET, expecting VALUES near 'SET model ='iPhone 18 PRO' WHERE id in (1,2,3)'
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET model ='iPhone 18 PRO' WHERE sold = 0;"
––– output –––
ERROR 1064 (42000) at line 1: P01: syntax error, unexpected SET, expecting VALUES near 'SET model ='iPhone 18 PRO' WHERE sold = 0'
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET id =777 WHERE id = 144; select * from tbl WHERE id = 144;"
––– output –––
+------+-----------------+------------------+--------------+--------------+------------+------------------+------+------------+---------------+-----------------------------------------+--------------------------------------------------------------------+-------------------------------------+
| id   | model           | storage_capacity | color        | release_year | price      | discounted_price | sold | date_added | product_codes | values                                  | additional_info                                                    | vector                              |
+------+-----------------+------------------+--------------+--------------+------------+------------------+------+------------+---------------+-----------------------------------------+--------------------------------------------------------------------+-------------------------------------+
|  144 | Sony Xperia XZ3 |               64 | forest green |         2018 | 899.989990 |       799.989990 |    1 | 3308512240 | 126,127,128   | 3723456764345678976,9223372036854775807 | {"features":["Snapdragon 845","6.0-inch display","Single camera"]} | 0.733448,0.272478,0.097971,0.419821 |
+------+-----------------+------------------+--------------+--------------+------------+------------------+------+------------+---------------+-----------------------------------------+--------------------------------------------------------------------+-------------------------------------+
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET model = 'Sony Xperia X\'Z3' WHERE id = 144; select * from tbl WHERE id = 144\G"
––– output –––
*************************** 1. row ***************************
id: 144
model: Sony Xperia X'Z3
storage_capacity: 64
color: forest green
release_year: 2018
price: 899.989990
discounted_price: 799.989990
sold: 1
date_added: 3308512240
product_codes: 126,127,128
values: 3723456764345678976,9223372036854775807
additional_info: {"features":["Snapdragon 845","6.0-inch display","Single camera"]}
vector: 0.733448,0.272478,0.097971,0.419821
––– input –––
mysql -h0 -P9306 -e "REPLACE INTO tbl SET release_year = 2019 WHERE id = 144; select * from tbl WHERE id = 144\G"
––– output –––
*************************** 1. row ***************************
id: 144
model: Sony Xperia X'Z3
storage_capacity: 64
color: forest green
release_year: 2019
price: 899.989990
discounted_price: 799.989990
sold: 1
date_added: 3308512240
product_codes: 126,127,128
values: 3723456764345678976,9223372036854775807
additional_info: {"features":["Snapdragon 845","6.0-inch display","Single camera"]}
vector: 0.733448,0.272478,0.097971,0.419821

Copy link

clt-amd64

❌ CLT tests in test/clt-tests/core/test-alter-rename-nightly
✅ OK: 0
❌ Failed: 1
⏳ Duration: 40s
👉 Check Action Results for commit 00c2d1a
Failed tests:

test/clt-tests/core/test-alter-rename-nightly.rec
––– input –––
stdbuf -oL searchd; if timeout 10 grep -qm1 'accepting' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Started'; else echo 'Timeout or failed!'; fi
––– output –––
Manticore %{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})
Copyright (c) 2001-2016, Andrew Aksyonoff
Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
[#!/[0-9a-zA-Z\:\.\s]+/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{VERSION} (columnar %{VERSION}) (secondary %{VERSION}) (knn %{VERSION})' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
Started
––– input –––
mysql -h0 -P9306 -e "CREATE TABLE index2001(f text, s string); insert into index2001 values(01,'abc','string');"
––– output –––
––– input –––
mysql -h0 -P9306 -e "CREATE TABLE index2002(f text, s string); insert into index2002 values(02,'def','string');"
––– output –––
––– input –––
mysql -h0 -P9306 -e "CREATE TABLE index2003(f text, s string); insert into index2003 values(03,'ghi','string');"
––– output –––
––– input –––
mysql -h0 -P9306 -e "CREATE TABLE index2004(f text, s string); insert into index2004 values(04,'jkl','string');"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLES"
––– output –––
+-----------+------+
| Table     | Type |
+-----------+------+
| index2001 | rt   |
| index2002 | rt   |
| index2003 | rt   |
| index2004 | rt   |
+-----------+------+
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE index2001 RENAME new_index2001;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE index2002 RENAME new_index2002;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE index2003 RENAME new_index2003;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE index2004 RENAME new_index2004;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLES"
––– output –––
+---------------+------+
| Table         | Type |
+---------------+------+
| new_index2001 | rt   |
| new_index2002 | rt   |
| new_index2003 | rt   |
| new_index2004 | rt   |
+---------------+------+
––– input –––
mysql -h0 -P9306 -e "CREATE TABLE index2006(f text, s string); insert into index2006 values(3,'ghi','string');"
––– output –––
––– input –––
mysql -h0 -P9306 -e "CREATE TABLE index2007(f text, s string); insert into index2007 values(4,'jkl','string');"
––– output –––
––– input –––
mysql -h0 -P9306 -e "CREATE TABLE dist_table type='distributed' local='index2006' local='index2007';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLES; DESC dist_table"
––– output –––
+---------------+-------------+
| Table         | Type        |
+---------------+-------------+
| dist_table    | distributed |
| index2006     | rt          |
| index2007     | rt          |
| new_index2001 | rt          |
| new_index2002 | rt          |
| new_index2003 | rt          |
| new_index2004 | rt          |
+---------------+-------------+
+-----------+-------+
| Agent     | Type  |
+-----------+-------+
| index2006 | local |
| index2007 | local |
+-----------+-------+
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE dist_table RENAME new_dist_table;"
––– output –––
ERROR 1064 (42000) at line 1: Table dist_table should be RT
––– input –––
mysql -h0 -P9306 -e "SHOW TABLES"
––– output –––
+---------------+-------------+
| Table         | Type        |
+---------------+-------------+
| dist_table    | distributed |
| index2006     | rt          |
| index2007     | rt          |
| new_index2001 | rt          |
| new_index2002 | rt          |
| new_index2003 | rt          |
| new_index2004 | rt          |
+---------------+-------------+
––– input –––
mysql -h0 -P9306 -e "CREATE TABLE products(title text, meta json) type='pq';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLES"
––– output –––
+---------------+-------------+
| Table         | Type        |
+---------------+-------------+
| dist_table    | distributed |
| index2006     | rt          |
| index2007     | rt          |
| new_index2001 | rt          |
| new_index2002 | rt          |
| new_index2003 | rt          |
| new_index2004 | rt          |
| products      | percolate   |
+---------------+-------------+
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE products RENAME new_products;"
––– output –––
ERROR 1064 (42000) at line 1: Table products should be RT
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE nonexistent RENAME new_nonexistent;"
––– output –––
ERROR 1064 (42000) at line 1: Source table nonexistent not exists
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE invalid-name RENAME new_invalid_name;"
––– output –––
ERROR 1064 (42000) at line 1: P03: syntax error, unexpected $undefined, expecting $end near '-name RENAME new_invalid_name'
––– input –––
for i in $(seq 1 1000); do mysql -h0 -P9306 -e "CREATE TABLE index${i}(f text, s string); insert into index${i} values(${i}, 'value${i}', 'string');"; done
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLES" | awk 'NR==1{print $0; next} {print $0 | "sort"}'
––– output –––
+---------------+-------------+
+---------------+-------------+
+---------------+-------------+
| dist_table    | distributed |
| index1000     | rt          |
| index100      | rt          |
| index101      | rt          |
| index102      | rt          |
| index103      | rt          |
| index104      | rt          |
| index105      | rt          |
| index106      | rt          |
| index107      | rt          |
| index108      | rt          |
| index109      | rt          |
| index10       | rt          |
| index110      | rt          |
| index111      | rt          |
| index112      | rt          |
| index113      | rt          |
| index114      | rt          |
| index115      | rt          |
| index116      | rt          |
| index117      | rt          |
| index118      | rt          |
| index119      | rt          |
| index11       | rt          |
| index120      | rt          |
| index121      | rt          |
| index122      | rt          |
| index123      | rt          |
| index124      | rt          |
| index125      | rt          |
| index126      | rt          |
| index127      | rt          |
| index128      | rt          |
| index129      | rt          |
| index12       | rt          |
| index130      | rt          |
| index131      | rt          |
| index132      | rt          |
| index133      | rt          |
| index134      | rt          |
| index135      | rt          |
| index136      | rt          |
| index137      | rt          |
| index138      | rt          |
| index139      | rt          |
| index13       | rt          |
| index140      | rt          |
| index141      | rt          |
| index142      | rt          |
| index143      | rt          |
| index144      | rt          |
| index145      | rt          |
| index146      | rt          |
| index147      | rt          |
| index148      | rt          |
| index149      | rt          |
| index14       | rt          |
| index150      | rt          |
| index151      | rt          |
| index152      | rt          |
| index153      | rt          |
| index154      | rt          |
| index155      | rt          |
| index156      | rt          |
| index157      | rt          |
| index158      | rt          |
| index159      | rt          |
| index15       | rt          |
| index160      | rt          |
| index161      | rt          |
| index162      | rt          |
| index163      | rt          |
| index164      | rt          |
| index165      | rt          |
| index166      | rt          |
| index167      | rt          |
| index168      | rt          |
| index169      | rt          |
| index16       | rt          |
| index170      | rt          |
| index171      | rt          |
| index172      | rt          |
| index173      | rt          |
| index174      | rt          |
| index175      | rt          |
| index176      | rt          |
| index177      | rt          |
| index178      | rt          |
| index179      | rt          |
| index17       | rt          |
| index180      | rt          |
| index181      | rt          |
| index182      | rt          |
| index183      | rt          |
| index184      | rt          |
| index185      | rt          |
| index186      | rt          |
| index187      | rt          |
| index188      | rt          |
| index189      | rt          |
| index18       | rt          |
| index190      | rt          |
| index191      | rt          |
| index192      | rt          |
| index193      | rt          |
| index194      | rt          |
| index195      | rt          |
| index196      | rt          |
| index197      | rt          |
| index198      | rt          |
| index199      | rt          |
| index19       | rt          |
| index1        | rt          |
| index2006     | rt          |
| index2007     | rt          |
| index200      | rt          |
| index201      | rt          |
| index202      | rt          |
| index203      | rt          |
| index204      | rt          |
| index205      | rt          |
| index206      | rt          |
| index207      | rt          |
| index208      | rt          |
| index209      | rt          |
| index20       | rt          |
| index210      | rt          |
| index211      | rt          |
| index212      | rt          |
| index213      | rt          |
| index214      | rt          |
| index215      | rt          |
| index216      | rt          |
| index217      | rt          |
| index218      | rt          |
| index219      | rt          |
| index21       | rt          |
| index220      | rt          |
| index221      | rt          |
| index222      | rt          |
| index223      | rt          |
| index224      | rt          |
| index225      | rt          |
| index226      | rt          |
| index227      | rt          |
| index228      | rt          |
| index229      | rt          |
| index22       | rt          |
| index230      | rt          |
| index231      | rt          |
| index232      | rt          |
| index233      | rt          |
| index234      | rt          |
| index235      | rt          |
| index236      | rt          |
| index237      | rt          |
| index238      | rt          |
| index239      | rt          |
| index23       | rt          |
| index240      | rt          |
| index241      | rt          |
| index242      | rt          |
| index243      | rt          |
| index244      | rt          |
| index245      | rt          |
| index246      | rt          |
| index247      | rt          |
| index248      | rt          |
| index249      | rt          |
| index24       | rt          |
| index250      | rt          |
| index251      | rt          |
| index252      | rt          |
| index253      | rt          |
| index254      | rt          |
| index255      | rt          |
| index256      | rt          |
| index257      | rt          |
| index258      | rt          |
| index259      | rt          |
| index25       | rt          |
| index260      | rt          |
| index261      | rt          |
| index262      | rt          |
| index263      | rt          |
| index264      | rt          |
| index265      | rt          |
| index266      | rt          |
| index267      | rt          |
| index268      | rt          |
| index269      | rt          |
| index26       | rt          |
| index270      | rt          |
| index271      | rt          |
| index272      | rt          |
| index273      | rt          |
| index274      | rt          |
| index275      | rt          |
| index276      | rt          |
| index277      | rt          |
| index278      | rt          |
| index279      | rt          |
| index27       | rt          |
| index280      | rt          |
| index281      | rt          |
| index282      | rt          |
| index283      | rt          |
| index284      | rt          |
| index285      | rt          |
| index286      | rt          |
| index287      | rt          |
| index288      | rt          |
| index289      | rt          |
| index28       | rt          |
| index290      | rt          |
| index291      | rt          |
| index292      | rt          |
| index293      | rt          |
| index294      | rt          |
| index295      | rt          |
| index296      | rt          |
| index297      | rt          |
| index298      | rt          |
| index299      | rt          |
| index29       | rt          |
| index2        | rt          |
| index300      | rt          |
| index301      | rt          |
| index302      | rt          |
| index303      | rt          |
| index304      | rt          |
| index305      | rt          |
| index306      | rt          |
| index307      | rt          |
| index308      | rt          |
| index309      | rt          |
| index30       | rt          |
| index310      | rt          |
| index311      | rt          |
| index312      | rt          |
| index313      | rt          |
| index314      | rt          |
| index315      | rt          |
| index316      | rt          |
| index317      | rt          |
| index318      | rt          |
| index319      | rt          |
| index31       | rt          |
| index320      | rt          |
| index321      | rt          |
| index322      | rt          |
| index323      | rt          |
| index324      | rt          |
| index325      | rt          |
| index326      | rt          |
| index327      | rt          |
| index328      | rt          |
| index329      | rt          |
| index32       | rt          |
| index330      | rt          |
| index331      | rt          |
| index332      | rt          |
| index333      | rt          |
| index334      | rt          |
| index335      | rt          |
| index336      | rt          |
| index337      | rt          |
| index338      | rt          |
| index339      | rt          |
| index33       | rt          |
| index340      | rt          |
| index341      | rt          |
| index342      | rt          |
| index343      | rt          |
| index344      | rt          |
| index345      | rt          |
| index346      | rt          |
| index347      | rt          |
| index348      | rt          |
| index349      | rt          |
| index34       | rt          |
| index350      | rt          |
| index351      | rt          |
| index352      | rt          |
| index353      | rt          |
| index354      | rt          |
| index355      | rt          |
| index356      | rt          |
| index357      | rt          |
| index358      | rt          |
| index359      | rt          |
| index35       | rt          |
| index360      | rt          |
| index361      | rt          |
| index362      | rt          |
| index363      | rt          |
| index364      | rt          |
| index365      | rt          |
| index366      | rt          |
| index367      | rt          |
| index368      | rt          |
| index369      | rt          |
| index36       | rt          |
| index370      | rt          |
| index371      | rt          |
| index372      | rt          |
| index373      | rt          |
| index374      | rt          |
| index375      | rt          |
| index376      | rt          |
| index377      | rt          |
| index378      | rt          |
| index379      | rt          |
| index37       | rt          |
| index380      | rt          |
| index381      | rt          |
| index382      | rt          |
| index383      | rt          |
| index384      | rt          |
| index385      | rt          |
| index386      | rt          |
| index387      | rt          |
| index388      | rt          |
| index389      | rt          |
| index38       | rt          |
| index390      | rt          |
| index391      | rt          |
| index392      | rt          |
| index393      | rt          |
| index394      | rt          |
| index395      | rt          |
| index396      | rt          |
| index397      | rt          |
| index398      | rt          |
| index399      | rt          |
| index39       | rt          |
| index3        | rt          |
| index400      | rt          |
| index401      | rt          |
| index402      | rt          |
| index403      | rt          |
| index404      | rt          |
| index405      | rt          |
| index406      | rt          |
| index407      | rt          |
| index408      | rt          |
| index409      | rt          |
| index40       | rt          |
| index410      | rt          |
| index411      | rt          |
| index412      | rt          |
| index413      | rt          |
| index414      | rt          |
| index415      | rt          |
| index416      | rt          |
| index417      | rt          |
| index418      | rt          |
| index419      | rt          |
| index41       | rt          |
| index420      | rt          |
| index421      | rt          |
| index422      | rt          |
| index423      | rt          |
| index424      | rt          |
| index425      | rt          |
| index426      | rt          |
| index427      | rt          |
| index428      | rt          |
| index429      | rt          |
| index42       | rt          |
| index430      | rt          |
| index431      | rt          |
| index432      | rt          |
| index433      | rt          |
| index434      | rt          |
| index435      | rt          |
| index436      | rt          |
| index437      | rt          |
| index438      | rt          |
| index439      | rt          |
| index43       | rt          |
| index440      | rt          |
| index441      | rt          |
| index442      | rt          |
| index443      | rt          |
| index444      | rt          |
| index445      | rt          |
| index446      | rt          |
| index447      | rt          |
| index448      | rt          |
| index449      | rt          |
| index44       | rt          |
| index450      | rt          |
| index451      | rt          |
| index452      | rt          |
| index453      | rt          |
| index454      | rt          |
| index455      | rt          |
| index456      | rt          |
| index457      | rt          |
| index458      | rt          |
| index459      | rt          |
| index45       | rt          |
| index460      | rt          |
| index461      | rt          |
| index462      | rt          |
| index463      | rt          |
| index464      | rt          |
| index465      | rt          |
| index466      | rt          |
| index467      | rt          |
| index468      | rt          |
| index469      | rt          |
| index46       | rt          |
| index470      | rt          |
| index471      | rt          |
| index472      | rt          |
| index473      | rt          |
| index474      | rt          |
| index475      | rt          |
| index476      | rt          |
| index477      | rt          |
| index478      | rt          |
| index479      | rt          |
| index47       | rt          |
| index480      | rt          |
| index481      | rt          |
| index482      | rt          |
| index483      | rt          |
| index484      | rt          |
| index485      | rt          |
| index486      | rt          |
| index487      | rt          |
| index488      | rt          |
| index489      | rt          |
| index48       | rt          |
| index490      | rt          |
| index491      | rt          |
| index492      | rt          |
| index493      | rt          |
| index494      | rt          |
| index495      | rt          |
| index496      | rt          |
| index497      | rt          |
| index498      | rt          |
| index499      | rt          |
| index49       | rt          |
| index4        | rt          |
| index500      | rt          |
| index501      | rt          |
| index502      | rt          |
| index503      | rt          |
| index504      | rt          |
| index505      | rt          |
| index506      | rt          |
| index507      | rt          |
| index508      | rt          |
| index509      | rt          |
| index50       | rt          |
| index510      | rt          |
| index511      | rt          |
| index512      | rt          |
| index513      | rt          |
| index514      | rt          |
| index515      | rt          |
| index516      | rt          |
| index517      | rt          |
| index518      | rt          |
| index519      | rt          |
| index51       | rt          |
| index520      | rt          |
| index521      | rt          |
| index522      | rt          |
| index523      | rt          |
| index524      | rt          |
| index525      | rt          |
| index526      | rt          |
| index527      | rt          |
| index528      | rt          |
| index529      | rt          |
| index52       | rt          |
| index530      | rt          |
| index531      | rt          |
| index532      | rt          |
| index533      | rt          |
| index534      | rt          |
| index535      | rt          |
| index536      | rt          |
| index537      | rt          |
| index538      | rt          |
| index539      | rt          |
| index53       | rt          |
| index540      | rt          |
| index541      | rt          |
| index542      | rt          |
| index543      | rt          |
| index544      | rt          |
| index545      | rt          |
| index546      | rt          |
| index547      | rt          |
| index548      | rt          |
| index549      | rt          |
| index54       | rt          |
| index550      | rt          |
| index551      | rt          |
| index552      | rt          |
| index553      | rt          |
| index554      | rt          |
| index555      | rt          |
| index556      | rt          |
| index557      | rt          |
| index558      | rt          |
| index559      | rt          |
| index55       | rt          |
| index560      | rt          |
| index561      | rt          |
| index562      | rt          |
| index563      | rt          |
| index564      | rt          |
| index565      | rt          |
| index566      | rt          |
| index567      | rt          |
| index568      | rt          |
| index569      | rt          |
| index56       | rt          |
| index570      | rt          |
| index571      | rt          |
| index572      | rt          |
| index573      | rt          |
| index574      | rt          |
| index575      | rt          |
| index576      | rt          |
| index577      | rt          |
| index578      | rt          |
| index579      | rt          |
| index57       | rt          |
| index580      | rt          |
| index581      | rt          |
| index582      | rt          |
| index583      | rt          |
| index584      | rt          |
| index585      | rt          |
| index586      | rt          |
| index587      | rt          |
| index588      | rt          |
| index589      | rt          |
| index58       | rt          |
| index590      | rt          |
| index591      | rt          |
| index592      | rt          |
| index593      | rt          |
| index594      | rt          |
| index595      | rt          |
| index596      | rt          |
| index597      | rt          |
| index598      | rt          |
| index599      | rt          |
| index59       | rt          |
| index5        | rt          |
| index600      | rt          |
| index601      | rt          |
| index602      | rt          |
| index603      | rt          |
| index604      | rt          |
| index605      | rt          |
| index606      | rt          |
| index607      | rt          |
| index608      | rt          |
| index609      | rt          |
| index60       | rt          |
| index610      | rt          |
| index611      | rt          |
| index612      | rt          |
| index613      | rt          |
| index614      | rt          |
| index615      | rt          |
| index616      | rt          |
| index617      | rt          |
| index618      | rt          |
| index619      | rt          |
| index61       | rt          |
| index620      | rt          |
| index621      | rt          |
| index622      | rt          |
| index623      | rt          |
| index624      | rt          |
| index625      | rt          |
| index626      | rt          |
| index627      | rt          |
| index628      | rt          |
| index629      | rt          |
| index62       | rt          |
| index630      | rt          |
| index631      | rt          |
| index632      | rt          |
| index633      | rt          |
| index634      | rt          |
| index635      | rt          |
| index636      | rt          |
| index637      | rt          |
| index638      | rt          |
| index639      | rt          |
| index63       | rt          |
| index640      | rt          |
| index641      | rt          |
| index642      | rt          |
| index643      | rt          |
| index644      | rt          |
| index645      | rt          |
| index646      | rt          |
| index647      | rt          |
| index648      | rt          |
| index649      | rt          |
| index64       | rt          |
| index650      | rt          |
| index651      | rt          |
| index652      | rt          |
| index653      | rt          |
| index654      | rt          |
| index655      | rt          |
| index656      | rt          |
| index657      | rt          |
| index658      | rt          |
| index659      | rt          |
| index65       | rt          |
| index660      | rt          |
| index661      | rt          |
| index662      | rt          |
| index663      | rt          |
| index664      | rt          |
| index665      | rt          |
| index666      | rt          |
| index667      | rt          |
| index668      | rt          |
| index669      | rt          |
| index66       | rt          |
| index670      | rt          |
| index671      | rt          |
| index672      | rt          |
| index673      | rt          |
| index674      | rt          |
| index675      | rt          |
| index676      | rt          |
| index677      | rt          |
| index678      | rt          |
| index679      | rt          |
| index67       | rt          |
| index680      | rt          |
| index681      | rt          |
| index682      | rt          |
| index683      | rt          |
| index684      | rt          |
| index685      | rt          |
| index686      | rt          |
| index687      | rt          |
| index688      | rt          |
| index689      | rt          |
| index68       | rt          |
| index690      | rt          |
| index691      | rt          |
| index692      | rt          |
| index693      | rt          |
| index694      | rt          |
| index695      | rt          |
| index696      | rt          |
| index697      | rt          |
| index698      | rt          |
| index699      | rt          |
| index69       | rt          |
| index6        | rt          |
| index700      | rt          |
| index701      | rt          |
| index702      | rt          |
| index703      | rt          |
| index704      | rt          |
| index705      | rt          |
| index706      | rt          |
| index707      | rt          |
| index708      | rt          |
| index709      | rt          |
| index70       | rt          |
| index710      | rt          |
| index711      | rt          |
| index712      | rt          |
| index713      | rt          |
| index714      | rt          |
| index715      | rt          |
| index716      | rt          |
| index717      | rt          |
| index718      | rt          |
| index719      | rt          |
| index71       | rt          |
| index720      | rt          |
| index721      | rt          |
| index722      | rt          |
| index723      | rt          |
| index724      | rt          |
| index725      | rt          |
| index726      | rt          |
| index727      | rt          |
| index728      | rt          |
| index729      | rt          |
| index72       | rt          |
| index730      | rt          |
| index731      | rt          |
| index732      | rt          |
| index733      | rt          |
| index734      | rt          |
| index735      | rt          |
| index736      | rt          |
| index737      | rt          |
| index738      | rt          |
| index739      | rt          |
| index73       | rt          |
| index740      | rt          |
| index741      | rt          |
| index742      | rt          |
| index743      | rt          |
| index744      | rt          |
| index745      | rt          |
| index746      | rt          |
| index747      | rt          |
| index748      | rt          |
| index749      | rt          |
| index74       | rt          |
| index750      | rt          |
| index751      | rt          |
| index752      | rt          |
| index753      | rt          |
| index754      | rt          |
| index755      | rt          |
| index756      | rt          |
| index757      | rt          |
| index758      | rt          |
| index759      | rt          |
| index75       | rt          |
| index760      | rt          |
| index761      | rt          |
| index762      | rt          |
| index763      | rt          |
| index764      | rt          |
| index765      | rt          |
| index766      | rt          |
| index767      | rt          |
| index768      | rt          |
| index769      | rt          |
| index76       | rt          |
| index770      | rt          |
| index771      | rt          |
| index772      | rt          |
| index773      | rt          |
| index774      | rt          |
| index775      | rt          |
| index776      | rt          |
| index777      | rt          |
| index778      | rt          |
| index779      | rt          |
| index77       | rt          |
| index780      | rt          |
| index781      | rt          |
| index782      | rt          |
| index783      | rt          |
| index784      | rt          |
| index785      | rt          |
| index786      | rt          |
| index787      | rt          |
| index788      | rt          |
| index789      | rt          |
| index78       | rt          |
| index790      | rt          |
| index791      | rt          |
| index792      | rt          |
| index793      | rt          |
| index794      | rt          |
| index795      | rt          |
| index796      | rt          |
| index797      | rt          |
| index798      | rt          |
| index799      | rt          |
| index79       | rt          |
| index7        | rt          |
| index800      | rt          |
| index801      | rt          |
| index802      | rt          |
| index803      | rt          |
| index804      | rt          |
| index805      | rt          |
| index806      | rt          |
| index807      | rt          |
| index808      | rt          |
| index809      | rt          |
| index80       | rt          |
| index810      | rt          |
| index811      | rt          |
| index812      | rt          |
| index813      | rt          |
| index814      | rt          |
| index815      | rt          |
| index816      | rt          |
| index817      | rt          |
| index818      | rt          |
| index819      | rt          |
| index81       | rt          |
| index820      | rt          |
| index821      | rt          |
| index822      | rt          |
| index823      | rt          |
| index824      | rt          |
| index825      | rt          |
| index826      | rt          |
| index827      | rt          |
| index828      | rt          |
| index829      | rt          |
| index82       | rt          |
| index830      | rt          |
| index831      | rt          |
| index832      | rt          |
| index833      | rt          |
| index834      | rt          |
| index835      | rt          |
| index836      | rt          |
| index837      | rt          |
| index838      | rt          |
| index839      | rt          |
| index83       | rt          |
| index840      | rt          |
| index841      | rt          |
| index842      | rt          |
| index843      | rt          |
| index844      | rt          |
| index845      | rt          |
| index846      | rt          |
| index847      | rt          |
| index848      | rt          |
| index849      | rt          |
| index84       | rt          |
| index850      | rt          |
| index851      | rt          |
| index852      | rt          |
| index853      | rt          |
| index854      | rt          |
| index855      | rt          |
| index856      | rt          |
| index857      | rt          |
| index858      | rt          |
| index859      | rt          |
| index85       | rt          |
| index860      | rt          |
| index861      | rt          |
| index862      | rt          |
| index863      | rt          |
| index864      | rt          |
| index865      | rt          |
| index866      | rt          |
| index867      | rt          |
| index868      | rt          |
| index869      | rt          |
| index86       | rt          |
| index870      | rt          |
| index871      | rt          |
| index872      | rt          |
| index873      | rt          |
| index874      | rt          |
| index875      | rt          |
| index876      | rt          |
| index877      | rt          |
| index878      | rt          |
| index879      | rt          |
| index87       | rt          |
| index880      | rt          |
| index881      | rt          |
| index882      | rt          |
| index883      | rt          |
| index884      | rt          |
| index885      | rt          |
| index886      | rt          |
| index887      | rt          |
| index888      | rt          |
| index889      | rt          |
| index88       | rt          |
| index890      | rt          |
| index891      | rt          |
| index892      | rt          |
| index893      | rt          |
| index894      | rt          |
| index895      | rt          |
| index896      | rt          |
| index897      | rt          |
| index898      | rt          |
| index899      | rt          |
| index89       | rt          |
| index8        | rt          |
| index900      | rt          |
| index901      | rt          |
| index902      | rt          |
| index903      | rt          |
| index904      | rt          |
| index905      | rt          |
| index906      | rt          |
| index907      | rt          |
| index908      | rt          |
| index909      | rt          |
| index90       | rt          |
| index910      | rt          |
| index911      | rt          |
| index912      | rt          |
| index913      | rt          |
| index914      | rt          |
| index915      | rt          |
| index916      | rt          |
| index917      | rt          |
| index918      | rt          |
| index919      | rt          |
| index91       | rt          |
| index920      | rt          |
| index921      | rt          |
| index922      | rt          |
| index923      | rt          |
| index924      | rt          |
| index925      | rt          |
| index926      | rt          |
| index927      | rt          |
| index928      | rt          |
| index929      | rt          |
| index92       | rt          |
| index930      | rt          |
| index931      | rt          |
| index932      | rt          |
| index933      | rt          |
| index934      | rt          |
| index935      | rt          |
| index936      | rt          |
| index937      | rt          |
| index938      | rt          |
| index939      | rt          |
| index93       | rt          |
| index940      | rt          |
| index941      | rt          |
| index942      | rt          |
| index943      | rt          |
| index944      | rt          |
| index945      | rt          |
| index946      | rt          |
| index947      | rt          |
| index948      | rt          |
| index949      | rt          |
| index94       | rt          |
| index950      | rt          |
| index951      | rt          |
| index952      | rt          |
| index953      | rt          |
| index954      | rt          |
| index955      | rt          |
| index956      | rt          |
| index957      | rt          |
| index958      | rt          |
| index959      | rt          |
| index95       | rt          |
| index960      | rt          |
| index961      | rt          |
| index962      | rt          |
| index963      | rt          |
| index964      | rt          |
| index965      | rt          |
| index966      | rt          |
| index967      | rt          |
| index968      | rt          |
| index969      | rt          |
| index96       | rt          |
| index970      | rt          |
| index971      | rt          |
| index972      | rt          |
| index973      | rt          |
| index974      | rt          |
| index975      | rt          |
| index976      | rt          |
| index977      | rt          |
| index978      | rt          |
| index979      | rt          |
| index97       | rt          |
| index980      | rt          |
| index981      | rt          |
| index982      | rt          |
| index983      | rt          |
| index984      | rt          |
| index985      | rt          |
| index986      | rt          |
| index987      | rt          |
| index988      | rt          |
| index989      | rt          |
| index98       | rt          |
| index990      | rt          |
| index991      | rt          |
| index992      | rt          |
| index993      | rt          |
| index994      | rt          |
| index995      | rt          |
| index996      | rt          |
| index997      | rt          |
| index998      | rt          |
| index999      | rt          |
| index99       | rt          |
| index9        | rt          |
| new_index2001 | rt          |
| new_index2002 | rt          |
| new_index2003 | rt          |
| new_index2004 | rt          |
| products      | percolate   |
| Table         | Type        |
––– input –––
for i in $(seq 1 1000); do mysql -h0 -P9306 -e "ALTER TABLE index${i} RENAME new_index${i};"; done
––– output –––
+ ERROR 2013 (HY000) at line 1: Lost connection to MySQL server during query
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 2003 (HY000): Can't connect to MySQL server on '0:9306' (111)
+ ERROR 1064 (42000) at line 1: P03: syntax error, unexpected tablename, expecting '=' near 'new_index880'
+ ERROR 1064 (42000) at line 1: P03: syntax error, unexpected tablename, expecting '=' near 'new_index881'
+ ERROR 1064 (42000) at line 1: P03: syntax error, unexpected tablename, expecting '=' near 'new_index882'
+ ERROR 1064 (42000) at line 1: P03: syntax error, unexpected tablename, expecting '=' near 'new_index883'
+ ERROR 1064 (42000) at line 1: P03: syntax error, unexpected tablename, expecting '=' near 'new_index884'
+ ERROR 1064 (42000) at line 1: P03: syntax error, unexpected tablename, expecting '=' near 'new_index885'
+ ERROR 1064 (42000) at line 1: P03: syntax error, unexpected tablename, expecting '=' near 'new_index886'
+ ERROR 1064 (42000) at line 1: P03: syntax error, unexpected tablename, expecting '=' near 'new_index887'
+ ERROR 1064 (42000) at line 1: P03: syntax error, unexpected tablename, expecting '=' near 'new_index888'
+ ERROR 1064 (42000) at line 1: P03: syntax error, unexpected tablename, expecting '=' near 'new_index889'
+ ERROR 1064 (42000) at line 1: P03: syntax error, unexpected tablename, expecting '=' near 'new_index890'
+ ERROR 1064 (42000) at line 1: P03: syntax error, unexpected tablename, expecting '=' near 'new_index891'
+ ERROR 1064 (42000) at line 1: P03: syntax error, unexpected tablename, expecting '=' near 'new_index892'
––– input –––
mysql -h0 -P9306 -e "SHOW TABLES" | awk 'NR==1{print $0; next} {print $0 | "sort"}'
––– output –––
+---------------+-------------+
+---------------+-------------+
+---------------+-------------+
| dist_table    | distributed |
| index2006     | rt          |
| index2007     | rt          |
~ | new_index1000index603      | rt          |
~ | new_index100index604      | rt          |
~ | new_index101index605      | rt          |
~ | new_index102index606      | rt          |
~ | new_index103index607      | rt          |
~ | new_index104index608      | rt          |
~ | new_index105index609      | rt          |
~ | new_index106index610      | rt          |
~ | new_index107index611      | rt          |
~ | new_index108index612      | rt          |
~ | new_index109index613      | rt          |
~ | new_index10index614      | rt          |
~ | new_index110index615      | rt          |
~ | new_index111index616      | rt          |
~ | new_index112index617      | rt          |
~ | new_index113index618      | rt          |
~ | new_index114index619      | rt          |
~ | new_index115index620      | rt          |
~ | new_index116index621      | rt          |
~ | new_index117index622      | rt          |
~ | new_index118index623      | rt          |
~ | new_index119index624      | rt          |
~ | new_index11index625      | rt          |
~ | new_index120index626      | rt          |
~ | new_index121index627      | rt          |
~ | new_index122index628      | rt          |
~ | new_index123index629      | rt          |
~ | new_index124index630      | rt          |
~ | new_index125index631      | rt          |
~ | new_index126index632      | rt          |
~ | new_index127index633      | rt          |
~ | new_index128index634      | rt          |
~ | new_index129index635      | rt          |
~ | new_index12index636      | rt          |
~ | new_index130index637      | rt          |
~ | new_index131index638      | rt          |
~ | new_index132index639      | rt          |
~ | new_index133index640      | rt          |
~ | new_index134index641      | rt          |
~ | new_index135index642      | rt          |
~ | new_index136index643      | rt          |
~ | new_index137index644      | rt          |
~ | new_index138index645      | rt          |
~ | new_index139index646      | rt          |
~ | new_index13index647      | rt          |
~ | new_index140index648      | rt          |
~ | new_index141index649      | rt          |
~ | new_index142index650      | rt          |
~ | new_index143index651      | rt          |
~ | new_index144index652      | rt          |
~ | new_index145index653      | rt          |
~ | new_index146index654      | rt          |
~ | new_index147index655      | rt          |
~ | new_index148index656      | rt          |
~ | new_index149index657      | rt          |
~ | new_index14index658      | rt          |
~ | new_index150index659      | rt          |
~ | new_index151index660      | rt          |
~ | new_index152index661      | rt          |
~ | new_index153index662      | rt          |
~ | new_index154index663      | rt          |
~ | new_index155index664      | rt          |
~ | new_index156index665      | rt          |
~ | new_index157index666      | rt          |
~ | new_index158index667      | rt          |
~ | new_index159index668      | rt          |
~ | new_index15index669      | rt          |
~ | new_index160index670      | rt          |
~ | new_index161index671      | rt          |
~ | new_index162index672      | rt          |
~ | new_index163index673      | rt          |
~ | new_index164index674      | rt          |
~ | new_index165index675      | rt          |
~ | new_index166index676      | rt          |
~ | new_index167index677      | rt          |
~ | new_index168index678      | rt          |
~ | new_index169index679      | rt          |
~ | new_index16index680      | rt          |
~ | new_index170index681      | rt          |
~ | new_index171index682      | rt          |
~ | new_index172index683      | rt          |
~ | new_index173index684      | rt          |
~ | new_index174index685      | rt          |
~ | new_index175index686      | rt          |
~ | new_index176index687      | rt          |
~ | new_index177index688      | rt          |
~ | new_index178index689      | rt          |
~ | new_index179index690      | rt          |
~ | new_index17index691      | rt          |
~ | new_index180index692      | rt          |
~ | new_index181index693      | rt          |
~ | new_index182index694      | rt          |
~ | new_index183index695      | rt          |
~ | new_index184index696      | rt          |
~ | new_index185index697      | rt          |
~ | new_index186index698      | rt          |
~ | new_index187index699      | rt          |
~ | new_index188index700      | rt          |
~ | new_index189index701      | rt          |
~ | new_index18index702      | rt          |
~ | new_index190index703      | rt          |
~ | new_index191index704      | rt          |
~ | new_index192index705      | rt          |
~ | new_index193index706      | rt          |
~ | new_index194index707      | rt          |
~ | new_index195index708      | rt          |
~ | new_index196index709      | rt          |
~ | new_index197index710      | rt          |
~ | new_index198index711      | rt          |
~ | new_index199index712      | rt          |
~ | new_index19index713      | rt          |
~ | new_index1index714      | rt          |
~ | new_index2001index715      | rt          |
~ | new_index2002index716      | rt          |
~ | new_index2003index717      | rt          |
~ | new_index2004index718      | rt          |
~ | new_index200index719      | rt          |
~ | new_index201index720      | rt          |
~ | new_index202index721      | rt          |
~ | new_index203index722      | rt          |
~ | new_index204index723      | rt          |
~ | new_index205index724      | rt          |
~ | new_index206index725      | rt          |
~ | new_index207index726      | rt          |
~ | new_index208index727      | rt          |
~ | new_index209index728      | rt          |
~ | new_index20index729      | rt          |
~ | new_index210index730      | rt          |
~ | new_index211index731      | rt          |
~ | new_index212index732      | rt          |
~ | new_index213index733      | rt          |
~ | new_index214index734      | rt          |
~ | new_index215index735      | rt          |
~ | new_index216index736      | rt          |
~ | new_index217index737      | rt          |
~ | new_index218index738      | rt          |
~ | new_index219index739      | rt          |
~ | new_index21index740      | rt          |
~ | new_index220index741      | rt          |
~ | new_index221index742      | rt          |
~ | new_index222index743      | rt          |
~ | new_index223index744      | rt          |
~ | new_index224index745      | rt          |
~ | new_index225index746      | rt          |
~ | new_index226index747      | rt          |
~ | new_index227index748      | rt          |
~ | new_index228index749      | rt          |
~ | new_index229index750      | rt          |
~ | new_index22index751      | rt          |
~ | new_index230index752      | rt          |
~ | new_index231index753      | rt          |
~ | new_index232index754      | rt          |
~ | new_index233index755      | rt          |
~ | new_index234index756      | rt          |
~ | new_index235index757      | rt          |
~ | new_index236index758      | rt          |
~ | new_index237index759      | rt          |
~ | new_index238index760      | rt          |
~ | new_index239index761      | rt          |
~ | new_index23index762      | rt          |
~ | new_index240index763      | rt          |
~ | new_index241index764      | rt          |
~ | new_index242index765      | rt          |
~ | new_index243index766      | rt          |
~ | new_index244index767      | rt          |
~ | new_index245index768      | rt          |
~ | new_index246index769      | rt          |
~ | new_index247index770      | rt          |
~ | new_index248index771      | rt          |
~ | new_index249index772      | rt          |
~ | new_index24index773      | rt          |
~ | new_index250index774      | rt          |
~ | new_index251index775      | rt          |
~ | new_index252index776      | rt          |
~ | new_index253index777      | rt          |
~ | new_index254index778      | rt          |
~ | new_index255index779      | rt          |
~ | new_index256index780      | rt          |
~ | new_index257index781      | rt          |
~ | new_index258index782      | rt          |
~ | new_index259index783      | rt          |
~ | new_index25index784      | rt          |
~ | new_index260index785      | rt          |
~ | new_index261index786      | rt          |
~ | new_index262index787      | rt          |
~ | new_index263index788      | rt          |
~ | new_index264index789      | rt          |
~ | new_index265index790      | rt          |
~ | new_index266index791      | rt          |
~ | new_index267index792      | rt          |
~ | new_index268index793      | rt          |
~ | new_index269index794      | rt          |
~ | new_index26index795      | rt          |
~ | new_index270index796      | rt          |
~ | new_index271index797      | rt          |
~ | new_index272index798      | rt          |
~ | new_index273index799      | rt          |
~ | new_index274index800      | rt          |
~ | new_index275index801      | rt          |
~ | new_index276index802      | rt          |
~ | new_index277index803      | rt          |
~ | new_index278index804      | rt          |
~ | new_index279index805      | rt          |
~ | new_index27index806      | rt          |
~ | new_index280index807      | rt          |
~ | new_index281index808      | rt          |
~ | new_index282index809      | rt          |
~ | new_index283index810      | rt          |
~ | new_index284index811      | rt          |
~ | new_index285index812      | rt          |
~ | new_index286index813      | rt          |
~ | new_index287index814      | rt          |
~ | new_index288index815      | rt          |
~ | new_index289index816      | rt          |
~ | new_index28index817      | rt          |
~ | new_index290index818      | rt          |
~ | new_index291index819      | rt          |
~ | new_index292index820      | rt          |
~ | new_index293index821      | rt          |
~ | new_index294index822      | rt          |
~ | new_index295index823      | rt          |
~ | new_index296index824      | rt          |
~ | new_index297index825      | rt          |
~ | new_index298index826      | rt          |
~ | new_index299index827      | rt          |
~ | new_index29index828      | rt          |
~ | new_index2index829      | rt          |
~ | new_index300index830      | rt          |
~ | new_index301index831      | rt          |
~ | new_index302index832      | rt          |
~ | new_index303index833      | rt          |
~ | new_index304index834      | rt          |
~ | new_index305index835      | rt          |
~ | new_index306index836      | rt          |
~ | new_index307index837      | rt          |
~ | new_index308index838      | rt          |
~ | new_index309index839      | rt          |
~ | new_index30index840      | rt          |
~ | new_index310index841      | rt          |
~ | new_index311index842      | rt          |
~ | new_index312index843      | rt          |
~ | new_index313index844      | rt          |
~ | new_index314index845      | rt          |
~ | new_index315index846      | rt          |
~ | new_index316index847      | rt          |
~ | new_index317index848      | rt          |
~ | new_index318index849      | rt          |
~ | new_index319index850      | rt          |
~ | new_index31index851      | rt          |
~ | new_index320index852      | rt          |
~ | new_index321index853      | rt          |
~ | new_index322index854      | rt          |
~ | new_index323index855      | rt          |
~ | new_index324index856      | rt          |
~ | new_index325index857      | rt          |
~ | new_index326index858      | rt          |
~ | new_index327index859      | rt          |
~ | new_index328index860      | rt          |
~ | new_index329index861      | rt          |
~ | new_index32index862      | rt          |
~ | new_index330index863      | rt          |
~ | new_index331index864      | rt          |
~ | new_index332index865      | rt          |
~ | new_index333index866      | rt          |
~ | new_index334index867      | rt          |
~ | new_index335index868      | rt          |
~ | new_index336index869      | rt          |
~ | new_index337index870      | rt          |
~ | new_index338index871      | rt          |
~ | new_index339index872      | rt          |
~ | new_index33index873      | rt          |
~ | new_index340index874      | rt          |
~ | new_index341index875      | rt          |
~ | new_index342index876      | rt          |
~ | new_index343index877      | rt          |
~ | new_index344index878      | rt          |
~ | new_index345index879      | rt          |
~ | new_index346index880      | rt          |
~ | new_index347index881      | rt          |
~ | new_index348index882      | rt          |
~ | new_index349index883      | rt          |
~ | new_index34index884      | rt          |
~ | new_index350index885      | rt          |
~ | new_index351index886      | rt          |
~ | new_index352index887      | rt          |
~ | new_index353index888      | rt          |
~ | new_index354index889      | rt          |
~ | new_index355index890      | rt          |
~ | new_index356index891      | rt          |
~ | new_index357index892      | rt          |
~ | new_index358 1000 | rt          |
~ | new_index359100  | rt          |
~ | new_index35 101  | rt          |
~ | new_index360102  | rt          |
~ | new_index361103  | rt          |
~ | new_index362104  | rt          |
~ | new_index363105  | rt          |
~ | new_index364106  | rt          |
~ | new_index365107  | rt          |
~ | new_index366108  | rt          |
~ | new_index367109  | rt          |
~ | new_index36810   | rt          |
~ | new_index369110  | rt          |
~ | new_index36 111  | rt          |
~ | new_index370112  | rt          |
~ | new_index371113  | rt          |
~ | new_index372114  | rt          |
~ | new_index373115  | rt          |
~ | new_index374116  | rt          |
~ | new_index375117  | rt          |
~ | new_index376118  | rt          |
~ | new_index377119  | rt          |
~ | new_index37811   | rt          |
~ | new_index379120  | rt          |
~ | new_index37 121  | rt          |
~ | new_index380122  | rt          |
~ | new_index381123  | rt          |
~ | new_index382124  | rt          |
~ | new_index383125  | rt          |
~ | new_index384126  | rt          |
~ | new_index385127  | rt          |
~ | new_index386128  | rt          |
~ | new_index387129  | rt          |
~ | new_index38812   | rt          |
~ | new_index389130  | rt          |
~ | new_index38 131  | rt          |
~ | new_index390132  | rt          |
~ | new_index391133  | rt          |
~ | new_index392134  | rt          |
~ | new_index393135  | rt          |
~ | new_index394136  | rt          |
~ | new_index395137  | rt          |
~ | new_index396138  | rt          |
~ | new_index397139  | rt          |
~ | new_index39813   | rt          |
~ | new_index399140  | rt          |
~ | new_index39 141  | rt          |
~ | new_index3  142  | rt          |
~ | new_index400143  | rt          |
~ | new_index401144  | rt          |
~ | new_index402145  | rt          |
~ | new_index403146  | rt          |
~ | new_index404147  | rt          |
~ | new_index405148  | rt          |
~ | new_index406149  | rt          |
~ | new_index40714   | rt          |
~ | new_index408150  | rt          |
~ | new_index409151  | rt          |
~ | new_index40 152  | rt          |
~ | new_index410153  | rt          |
~ | new_index411154  | rt          |
~ | new_index412155  | rt          |
~ | new_index413156  | rt          |
~ | new_index414157  | rt          |
~ | new_index415158  | rt          |
~ | new_index416159  | rt          |
~ | new_index41715   | rt          |
~ | new_index418160  | rt          |
~ | new_index419161  | rt          |
~ | new_index41 162  | rt          |
~ | new_index420163  | rt          |
~ | new_index421164  | rt          |
~ | new_index422165  | rt          |
~ | new_index423166  | rt          |
~ | new_index424167  | rt          |
~ | new_index425168  | rt          |
~ | new_index426169  | rt          |
~ | new_index42716   | rt          |
~ | new_index428170  | rt          |
~ | new_index429171  | rt          |
~ | new_index42 172  | rt          |
~ | new_index430173  | rt          |
~ | new_index431174  | rt          |
~ | new_index432175  | rt          |
~ | new_index433176  | rt          |
~ | new_index434177  | rt          |
~ | new_index435178  | rt          |
~ | new_index436179  | rt          |
~ | new_index43717   | rt          |
~ | new_index438180  | rt          |
~ | new_index439181  | rt          |
~ | new_index43 182  | rt          |
~ | new_index440183  | rt          |
~ | new_index441184  | rt          |
~ | new_index442185  | rt          |
~ | new_index443186  | rt          |
~ | new_index444187  | rt          |
~ | new_index445188  | rt          |
~ | new_index446189  | rt          |
~ | new_index44718   | rt          |
~ | new_index448190  | rt          |
~ | new_index449191  | rt          |
~ | new_index44 192  | rt          |
~ | new_index450193  | rt          |
~ | new_index451194  | rt          |
~ | new_index452195  | rt          |
~ | new_index453196  | rt          |
~ | new_index454197  | rt          |
~ | new_index455198  | rt          |
~ | new_index456199  | rt          |
~ | new_index45719   | rt          |
~ | new_index4581    | rt          |
~ | new_index459 2001 | rt          |
~ | new_index45  2002 | rt          |
~ | new_index460 2003 | rt          |
~ | new_index461 2004 | rt          |
~ | new_index462200  | rt          |
~ | new_index463201  | rt          |
~ | new_index464202  | rt          |
~ | new_index465203  | rt          |
~ | new_index466204  | rt          |
~ | new_index467205  | rt          |
~ | new_index468206  | rt          |
~ | new_index469207  | rt          |
~ | new_index46 208  | rt          |
~ | new_index470209  | rt          |
~ | new_index47120   | rt          |
~ | new_index472210  | rt          |
~ | new_index473211  | rt          |
~ | new_index474212  | rt          |
~ | new_index475213  | rt          |
~ | new_index476214  | rt          |
~ | new_index477215  | rt          |
~ | new_index478216  | rt          |
~ | new_index479217  | rt          |
~ | new_index47 218  | rt          |
~ | new_index480219  | rt          |
~ | new_index48121   | rt          |
~ | new_index482220  | rt          |
~ | new_index483221  | rt          |
~ | new_index484222  | rt          |
~ | new_index485223  | rt          |
~ | new_index486224  | rt          |
~ | new_index487225  | rt          |
~ | new_index488226  | rt          |
~ | new_index489227  | rt          |
~ | new_index48 228  | rt          |
~ | new_index490229  | rt          |
~ | new_index49122   | rt          |
~ | new_index492230  | rt          |
~ | new_index493231  | rt          |
~ | new_index494232  | rt          |
~ | new_index495233  | rt          |
~ | new_index496234  | rt          |
~ | new_index497235  | rt          |
~ | new_index498236  | rt          |
~ | new_index499237  | rt          |
~ | new_index49 238  | rt          |
~ | new_index4  239  | rt          |
~ | new_index50023   | rt          |
~ | new_index501240  | rt          |
~ | new_index502241  | rt          |
~ | new_index503242  | rt          |
~ | new_index504243  | rt          |
~ | new_index505244  | rt          |
~ | new_index506245  | rt          |
~ | new_index507246  | rt          |
~ | new_index508247  | rt          |
~ | new_index509248  | rt          |
~ | new_index50 249  | rt          |
~ | new_index51024   | rt          |
~ | new_index511250  | rt          |
~ | new_index512251  | rt          |
~ | new_index513252  | rt          |
~ | new_index514253  | rt          |
~ | new_index515254  | rt          |
~ | new_index516255  | rt          |
~ | new_index517256  | rt          |
~ | new_index518257  | rt          |
~ | new_index519258  | rt          |
~ | new_index51 259  | rt          |
~ | new_index52025   | rt          |
~ | new_index521260  | rt          |
~ | new_index522261  | rt          |
~ | new_index523262  | rt          |
~ | new_index524263  | rt          |
~ | new_index525264  | rt          |
~ | new_index526265  | rt          |
~ | new_index527266  | rt          |
~ | new_index528267  | rt          |
~ | new_index529268  | rt          |
~ | new_index52 269  | rt          |
~ | new_index53026   | rt          |
~ | new_index531270  | rt          |
~ | new_index532271  | rt          |
~ | new_index533272  | rt          |
~ | new_index534273  | rt          |
~ | new_index535274  | rt          |
~ | new_index536275  | rt          |
~ | new_index537276  | rt          |
~ | new_index538277  | rt          |
~ | new_index539278  | rt          |
~ | new_index53 279  | rt          |
~ | new_index54027   | rt          |
~ | new_index541280  | rt          |
~ | new_index542281  | rt          |
~ | new_index543282  | rt          |
~ | new_index544283  | rt          |
~ | new_index545284  | rt          |
~ | new_index546285  | rt          |
~ | new_index547286  | rt          |
~ | new_index548287  | rt          |
~ | new_index549288  | rt          |
~ | new_index54 289  | rt          |
~ | new_index55028   | rt          |
~ | new_index551290  | rt          |
~ | new_index552291  | rt          |
~ | new_index553292  | rt          |
~ | new_index554293  | rt          |
~ | new_index555294  | rt          |
~ | new_index556295  | rt          |
~ | new_index557296  | rt          |
~ | new_index558297  | rt          |
~ | new_index559298  | rt          |
~ | new_index55 299  | rt          |
~ | new_index56029   | rt          |
~ | new_index5612    | rt          |
~ | new_index562300  | rt          |
~ | new_index563301  | rt          |
~ | new_index564302  | rt          |
~ | new_index565303  | rt          |
~ | new_index566304  | rt          |
~ | new_index567305  | rt          |
~ | new_index568306  | rt          |
~ | new_index569307  | rt          |
~ | new_index56 308  | rt          |
~ | new_index570309  | rt          |
~ | new_index57130   | rt          |
~ | new_index572310  | rt          |
~ | new_index573311  | rt          |
~ | new_index574312  | rt          |
~ | new_index575313  | rt          |
~ | new_index576314  | rt          |
~ | new_index577315  | rt          |
~ | new_index578316  | rt          |
~ | new_index579317  | rt          |
~ | new_index57 318  | rt          |
~ | new_index580319  | rt          |
~ | new_index58131   | rt          |
~ | new_index582320  | rt          |
~ | new_index583321  | rt          |
~ | new_index584322  | rt          |
~ | new_index585323  | rt          |
~ | new_index586324  | rt          |
~ | new_index587325  | rt          |
~ | new_index588326  | rt          |
~ | new_index589327  | rt          |
~ | new_index58 328  | rt          |
~ | new_index590329  | rt          |
~ | new_index59132   | rt          |
~ | new_index592330  | rt          |
~ | new_index593331  | rt          |
~ | new_index594332  | rt          |
~ | new_index595333  | rt          |
~ | new_index596334  | rt          |
~ | new_index597335  | rt          |
~ | new_index598336  | rt          |
~ | new_index599337  | rt          |
~ | new_index59 338  | rt          |
~ | new_index5  339  | rt          |
~ | new_index60033   | rt          |
~ | new_index601340  | rt          |
~ | new_index602341  | rt          |
~ | new_index603342  | rt          |
~ | new_index604343  | rt          |
~ | new_index605344  | rt          |
~ | new_index606345  | rt          |
~ | new_index607346  | rt          |
~ | new_index608347  | rt          |
~ | new_index609348  | rt          |
~ | new_index60 349  | rt          |
~ | new_index61034   | rt          |
~ | new_index611350  | rt          |
~ | new_index612351  | rt          |
~ | new_index613352  | rt          |
~ | new_index614353  | rt          |
~ | new_index615354  | rt          |
~ | new_index616355  | rt          |
~ | new_index617356  | rt          |
~ | new_index618357  | rt          |
~ | new_index619358  | rt          |
~ | new_index61 359  | rt          |
~ | new_index62035   | rt          |
~ | new_index621360  | rt          |
~ | new_index622361  | rt          |
~ | new_index623362  | rt          |
~ | new_index624363  | rt          |
~ | new_index625364  | rt          |
~ | new_index626365  | rt          |
~ | new_index627366  | rt          |
~ | new_index628367  | rt          |
~ | new_index629368  | rt          |
~ | new_index62 369  | rt          |
~ | new_index63036   | rt          |
~ | new_index631370  | rt          |
~ | new_index632371  | rt          |
~ | new_index633372  | rt          |
~ | new_index634373  | rt          |
~ | new_index635374  | rt          |
~ | new_index636375  | rt          |
~ | new_index637376  | rt          |
~ | new_index638377  | rt          |
~ | new_index639378  | rt          |
~ | new_index63 379  | rt          |
~ | new_index64037   | rt          |
~ | new_index641380  | rt          |
~ | new_index642381  | rt          |
~ | new_index643382  | rt          |
~ | new_index644383  | rt          |
~ | new_index645384  | rt          |
~ | new_index646385  | rt          |
~ | new_index647386  | rt          |
~ | new_index648387  | rt          |
~ | new_index649388  | rt          |
~ | new_index64 389  | rt          |
~ | new_index65038   | rt          |
~ | new_index651390  | rt          |
~ | new_index652391  | rt          |
~ | new_index653392  | rt          |
~ | new_index654393  | rt          |
~ | new_index655394  | rt          |
~ | new_index656395  | rt          |
~ | new_index657396  | rt          |
~ | new_index658397  | rt          |
~ | new_index659398  | rt          |
~ | new_index65 399  | rt          |
~ | new_index66039   | rt          |
~ | new_index6613    | rt          |
~ | new_index662400  | rt          |
~ | new_index663401  | rt          |
~ | new_index664402  | rt          |
~ | new_index665403  | rt          |
~ | new_index666404  | rt          |
~ | new_index667405  | rt          |
~ | new_index668406  | rt          |
~ | new_index669407  | rt          |
~ | new_index66 408  | rt          |
~ | new_index670409  | rt          |
~ | new_index67140   | rt          |
~ | new_index672410  | rt          |
~ | new_index673411  | rt          |
~ | new_index674412  | rt          |
~ | new_index675413  | rt          |
~ | new_index676414  | rt          |
~ | new_index677415  | rt          |
~ | new_index678416  | rt          |
~ | new_index679417  | rt          |
~ | new_index67 418  | rt          |
~ | new_index680419  | rt          |
~ | new_index68141   | rt          |
~ | new_index682420  | rt          |
~ | new_index683421  | rt          |
~ | new_index684422  | rt          |
~ | new_index685423  | rt          |
~ | new_index686424  | rt          |
~ | new_index687425  | rt          |
~ | new_index688426  | rt          |
~ | new_index689427  | rt          |
~ | new_index68 428  | rt          |
~ | new_index690429  | rt          |
~ | new_index69142   | rt          |
~ | new_index692430  | rt          |
~ | new_index693431  | rt          |
~ | new_index694432  | rt          |
~ | new_index695433  | rt          |
~ | new_index696434  | rt          |
~ | new_index697435  | rt          |
~ | new_index698436  | rt          |
~ | new_index699437  | rt          |
~ | new_index69 438  | rt          |
~ | new_index6  439  | rt          |
~ | new_index70043   | rt          |
~ | new_index701440  | rt          |
~ | new_index702441  | rt          |
~ | new_index703442  | rt          |
~ | new_index704443  | rt          |
~ | new_index705444  | rt          |
~ | new_index706445  | rt          |
~ | new_index707446  | rt          |
~ | new_index708447  | rt          |
~ | new_index709448  | rt          |
~ | new_index70 449  | rt          |
~ | new_index71044   | rt          |
~ | new_index711450  | rt          |
~ | new_index712451  | rt          |
~ | new_index713452  | rt          |
~ | new_index714453  | rt          |
~ | new_index715454  | rt          |
~ | new_index716455  | rt          |
~ | new_index717456  | rt          |
~ | new_index718457  | rt          |
~ | new_index719458  | rt          |
~ | new_index71 459  | rt          |
~ | new_index72045   | rt          |
~ | new_index721460  | rt          |
~ | new_index722461  | rt          |
~ | new_index723462  | rt          |
~ | new_index724463  | rt          |
~ | new_index725464  | rt          |
~ | new_index726465  | rt          |
~ | new_index727466  | rt          |
~ | new_index728467  | rt          |
~ | new_index729468  | rt          |
~ | new_index72 469  | rt          |
~ | new_index73046   | rt          |
~ | new_index731470  | rt          |
~ | new_index732471  | rt          |
~ | new_index733472  | rt          |
~ | new_index734473  | rt          |
~ | new_index735474  | rt          |
~ | new_index736475  | rt          |
~ | new_index737476  | rt          |
~ | new_index738477  | rt          |
~ | new_index739478  | rt          |
~ | new_index73 479  | rt          |
~ | new_index74047   | rt          |
~ | new_index741480  | rt          |
~ | new_index742481  | rt          |
~ | new_index743482  | rt          |
~ | new_index744483  | rt          |
~ | new_index745484  | rt          |
~ | new_index746485  | rt          |
~ | new_index747486  | rt          |
~ | new_index748487  | rt          |
~ | new_index749488  | rt          |
~ | new_index74 489  | rt          |
~ | new_index75048   | rt          |
~ | new_index751490  | rt          |
~ | new_index752491  | rt          |
~ | new_index753492  | rt          |
~ | new_index754493  | rt          |
~ | new_index755494  | rt          |
~ | new_index756495  | rt          |
~ | new_index757496  | rt          |
~ | new_index758497  | rt          |
~ | new_index759498  | rt          |
~ | new_index75 499  | rt          |
~ | new_index76049   | rt          |
~ | new_index7614    | rt          |
~ | new_index762500  | rt          |
~ | new_index763501  | rt          |
~ | new_index764502  | rt          |
~ | new_index765503  | rt          |
~ | new_index766504  | rt          |
~ | new_index767505  | rt          |
~ | new_index768506  | rt          |
~ | new_index769507  | rt          |
~ | new_index76 508  | rt          |
~ | new_index770509  | rt          |
~ | new_index77150   | rt          |
~ | new_index772510  | rt          |
~ | new_index773511  | rt          |
~ | new_index774512  | rt          |
~ | new_index775513  | rt          |
~ | new_index776514  | rt          |
~ | new_index777515  | rt          |
~ | new_index778516  | rt          |
~ | new_index779517  | rt          |
~ | new_index77 518  | rt          |
~ | new_index780519  | rt          |
~ | new_index78151   | rt          |
~ | new_index782520  | rt          |
~ | new_index783521  | rt          |
~ | new_index784522  | rt          |
~ | new_index785523  | rt          |
~ | new_index786524  | rt          |
~ | new_index787525  | rt          |
~ | new_index788526  | rt          |
~ | new_index789527  | rt          |
~ | new_index78 528  | rt          |
~ | new_index790529  | rt          |
~ | new_index79152   | rt          |
~ | new_index792530  | rt          |
~ | new_index793531  | rt          |
~ | new_index794532  | rt          |
~ | new_index795533  | rt          |
~ | new_index796534  | rt          |
~ | new_index797535  | rt          |
~ | new_index798536  | rt          |
~ | new_index799537  | rt          |
~ | new_index79 538  | rt          |
~ | new_index7  539  | rt          |
~ | new_index80053   | rt          |
~ | new_index801540  | rt          |
~ | new_index802541  | rt          |
~ | new_index803542  | rt          |
~ | new_index804543  | rt          |
~ | new_index805544  | rt          |
~ | new_index806545  | rt          |
~ | new_index807546  | rt          |
~ | new_index808547  | rt          |
~ | new_index809548  | rt          |
~ | new_index80 549  | rt          |
~ | new_index81054   | rt          |
~ | new_index811550  | rt          |
~ | new_index812551  | rt          |
~ | new_index813552  | rt          |
~ | new_index814553  | rt          |
~ | new_index815554  | rt          |
~ | new_index816555  | rt          |
~ | new_index817556  | rt          |
~ | new_index818557  | rt          |
~ | new_index819558  | rt          |
~ | new_index81 559  | rt          |
~ | new_index82055   | rt          |
~ | new_index821560  | rt          |
~ | new_index822561  | rt          |
~ | new_index823562  | rt          |
~ | new_index824563  | rt          |
~ | new_index825564  | rt          |
~ | new_index826565  | rt          |
~ | new_index827566  | rt          |
~ | new_index828567  | rt          |
~ | new_index829568  | rt          |
~ | new_index82 569  | rt          |
~ | new_index83056   | rt          |
~ | new_index831570  | rt          |
~ | new_index832571  | rt          |
~ | new_index833572  | rt          |
~ | new_index834573  | rt          |
~ | new_index835574  | rt          |
~ | new_index836575  | rt          |
~ | new_index837576  | rt          |
~ | new_index838577  | rt          |
~ | new_index839578  | rt          |
~ | new_index83 579  | rt          |
~ | new_index84057   | rt          |
~ | new_index841580  | rt          |
~ | new_index842581  | rt          |
~ | new_index843582  | rt          |
~ | new_index844583  | rt          |
~ | new_index845584  | rt          |
~ | new_index846585  | rt          |
~ | new_index847586  | rt          |
~ | new_index848587  | rt          |
~ | new_index849588  | rt          |
~ | new_index84 589  | rt          |
~ | new_index85058   | rt          |
~ | new_index851590  | rt          |
~ | new_index852591  | rt          |
~ | new_index853592  | rt          |
~ | new_index854593  | rt          |
~ | new_index855594  | rt          |
~ | new_index856595  | rt          |
~ | new_index857596  | rt          |
~ | new_index858597  | rt          |
~ | new_index859598  | rt          |
~ | new_index85 599  | rt          |
~ | new_index86059   | rt          |
~ | new_index8615    | rt          |
~ | new_index862600  | rt          |
~ | new_index863601  | rt          |
~ | new_index864602  | rt          |
~ | new_index86560   | rt          |
~ | new_index86661   | rt          |
~ | new_index86762   | rt          |
~ | new_index86863   | rt          |
~ | new_index86964   | rt          |
~ | new_index8665   | rt          |
~ | new_index87066   | rt          |
~ | new_index87167   | rt          |
~ | new_index87268   | rt          |
~ | new_index87369   | rt          |
~ | new_index8746    | rt          |
~ | new_index87570   | rt          |
~ | new_index87671   | rt          |
~ | new_index87772   | rt          |
~ | new_index87873   | rt          |
~ | new_index87974   | rt          |
~ | new_index8775   | rt          |
~ | new_index88076   | rt          |
~ | new_index88177   | rt          |
~ | new_index88278   | rt          |
~ | new_index88379   | rt          |
~ | new_index8847    | rt          |
~ | new_index8850   | rt          |
~ | new_index8861   | rt          |
~ | new_index8872   | rt          |
~ | new_index8883   | rt          |
~ | new_index8894   | rt          |
~ | new_index885   | rt          |
~ | new_index8906   | rt          |
~ | new_index8917   | rt          |
~ | new_index8928   | rt          |
| new_index893  | rt          |
| new_index894  | rt          |
| new_index895  | rt          |
| new_index896  | rt          |
| new_index897  | rt          |
| new_index898  | rt          |
| new_index899  | rt          |
| new_index89   | rt          |
| new_index8    | rt          |
| new_index900  | rt          |
| new_index901  | rt          |
| new_index902  | rt          |
| new_index903  | rt          |
| new_index904  | rt          |
| new_index905  | rt          |
| new_index906  | rt          |
| new_index907  | rt          |
| new_index908  | rt          |
| new_index909  | rt          |
| new_index90   | rt          |
| new_index910  | rt          |
| new_index911  | rt          |
| new_index912  | rt          |
| new_index913  | rt          |
| new_index914  | rt          |
| new_index915  | rt          |
| new_index916  | rt          |
| new_index917  | rt          |
| new_index918  | rt          |
| new_index919  | rt          |
| new_index91   | rt          |
| new_index920  | rt          |
| new_index921  | rt          |
| new_index922  | rt          |
| new_index923  | rt          |
| new_index924  | rt          |
| new_index925  | rt          |
| new_index926  | rt          |
| new_index927  | rt          |
| new_index928  | rt          |
| new_index929  | rt          |
| new_index92   | rt          |
| new_index930  | rt          |
| new_index931  | rt          |
| new_index932  | rt          |
| new_index933  | rt          |
| new_index934  | rt          |
| new_index935  | rt          |
| new_index936  | rt          |
| new_index937  | rt          |
| new_index938  | rt          |
| new_index939  | rt          |
| new_index93   | rt          |
| new_index940  | rt          |
| new_index941  | rt          |
| new_index942  | rt          |
| new_index943  | rt          |
| new_index944  | rt          |
| new_index945  | rt          |
| new_index946  | rt          |
| new_index947  | rt          |
| new_index948  | rt          |
| new_index949  | rt          |
| new_index94   | rt          |
| new_index950  | rt          |
| new_index951  | rt          |
| new_index952  | rt          |
| new_index953  | rt          |
| new_index954  | rt          |
| new_index955  | rt          |
| new_index956  | rt          |
| new_index957  | rt          |
| new_index958  | rt          |
| new_index959  | rt          |
| new_index95   | rt          |
| new_index960  | rt          |
| new_index961  | rt          |
| new_index962  | rt          |
| new_index963  | rt          |
| new_index964  | rt          |
| new_index965  | rt          |
| new_index966  | rt          |
| new_index967  | rt          |
| new_index968  | rt          |
| new_index969  | rt          |
| new_index96   | rt          |
| new_index970  | rt          |
| new_index971  | rt          |
| new_index972  | rt          |
| new_index973  | rt          |
| new_index974  | rt          |
| new_index975  | rt          |
| new_index976  | rt          |
| new_index977  | rt          |
| new_index978  | rt          |
| new_index979  | rt          |
| new_index97   | rt          |
| new_index980  | rt          |
| new_index981  | rt          |
| new_index982  | rt          |
| new_index983  | rt          |
| new_index984  | rt          |
| new_index985  | rt          |
| new_index986  | rt          |
| new_index987  | rt          |
| new_index988  | rt          |
| new_index989  | rt          |
| new_index98   | rt          |
| new_index990  | rt          |
| new_index991  | rt          |
| new_index992  | rt          |
| new_index993  | rt          |
| new_index994  | rt          |
| new_index995  | rt          |
| new_index996  | rt          |
| new_index997  | rt          |
| new_index998  | rt          |
| new_index999  | rt          |
| new_index99   | rt          |
| new_index9    | rt          |
| products      | percolate   |
| Table         | Type        |

Copy link

clt

❌ CLT tests in test/clt-tests/buddy/
✅ OK: 8
❌ Failed: 1
⏳ Duration: 118s
👉 Check Action Results for commit 00c2d1a
Failed tests:

test/clt-tests/buddy/test-fuzzy-search.rec
––– input –––
rm -f /var/log/manticore/searchd.log; stdbuf -oL searchd > /dev/null; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Buddy started!
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install jq -y > /dev/null; echo $?
––– output –––
debconf: delaying package configuration, since apt-utils is not installed
0
––– input –––
php -d memory_limit=2G ./test/clt-tests/scripts/load_names_attr.php --batch-size=100000 --concurrency=1 --docs=1000000 --start-id=1 --min-infix-len=2 > /dev/null; echo $?
––– output –––
0
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name ORDER BY id ASC LIMIT 1000000 OPTION max_matches=1000000;" > /tmp/name_data.txt
––– output –––
––– input –––
md5sum /tmp/name_data.txt
––– output –––
1995eec70e60c584bc35ff0688556b94  /tmp/name_data.txt
––– input –––
mysql -h0 -P9306 -e "SHOW CREATE TABLE name;" | grep "min_infix_len='2'" | sed "s/.\(min_infix_len='2'\)./\1/"
––– output –––
)min_infix_len='2'expand_keywords='1' |
––– input –––
mysql -h0 -P9306 -e "SELECT COUNT(*) FROM name;"
––– output –––
+----------+
| count(*) |
+----------+
|  1000000 |
+----------+
––– input –––
mysql -h0 -P9306 -e "OPTIMIZE TABLE name OPTION sync=1;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('RICH') ORDER BY id ASC, username ASC OPTION fuzzy=1;"
––– output –––
+------+---------------------+------+
| id   | username            | s    |
+------+---------------------+------+
|   43 | KOURTNEY RICHARDSON | a    |
|  125 | ELAINA RICHARDSON   | a    |
|  226 | RICHARD ZAMARRIPA   | a    |
|  363 | MAYRA RICO          | a    |
|  840 | RICO MCFADDEN       | a    |
|  855 | RICHARD ALDRIDGE    | a    |
|  934 | VALERY RICH         | a    |
|  948 | REGINE ALDRICH      | a    |
| 1017 | HEE TRICE           | a    |
| 1624 | OLEVIA RICHARDS     | a    |
| 1816 | MAURICE BARCLAY     | a    |
| 2228 | THERESIA RICHARDS   | a    |
| 2670 | JULIANA GRICE       | a    |
| 2918 | GRICELDA WHELAN     | a    |
| 3012 | RICHARD MCCURDY     | a    |
| 3147 | MERRILEE ALDRICH    | a    |
| 3262 | FONDA RICHEY        | a    |
| 3431 | MELANY RICHARD      | a    |
| 3438 | JOVAN ALDRICH       | a    |
| 3517 | BRICE LONGORIA      | a    |
+------+---------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('EBGRNA') ORDER BY id ASC, username ASC OPTION fuzzy=1;"
––– output –––
+------+----------------------+------+
| id   | username             | s    |
+------+----------------------+------+
|   20 | BERNARDO DUGGAN      | a    |
|   27 | BERNARDINE BREWER    | a    |
|  209 | KATLYN SERNA         | a    |
| 1292 | LAVERNA CLARK        | a    |
| 1414 | BENNY FERNANDEZ      | a    |
| 1638 | JULENE BERNAL        | a    |
| 2021 | LAVERNA JEFFERSON    | a    |
| 2169 | MERNA ORNELAS        | a    |
| 2471 | BERNADINE SCANLON    | a    |
| 2843 | BERNADINE NAPOLITANO | a    |
| 3177 | FERNANDA FRYER       | a    |
| 3199 | FERNANDO FRANCISCO   | a    |
| 3455 | FERNANDE MERRITT     | a    |
| 3539 | BERNADINE HILLER     | a    |
| 3862 | FERNANDO MACDONALD   | a    |
| 4022 | JOHNSON HERNANDES    | a    |
| 4484 | SYBIL HERNANDES      | a    |
| 5159 | MARTINA BERNARD      | a    |
| 5793 | BERNA TALBOTT        | a    |
| 6506 | FERNANDO FREELAND    | a    |
+------+----------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('ANT') ORDER BY id ASC, username ASC OPTION fuzzy=1;"
––– output –––
+------+--------------------+------+
| id   | username           | s    |
+------+--------------------+------+
|    6 | KESHIA RANDAZZO    | a    |
|   12 | TRESA ESCALANTE    | a    |
|   20 | BERNARDO DUGGAN    | a    |
|   31 | DEMETRIA IBANEZ    | a    |
|   32 | PAMELIA SANDLIN    | a    |
|   34 | ANJANETTE MINTON   | a    |
|   40 | ANTONIO RIOS       | a    |
|   62 | ANDRES NATION      | a    |
|   64 | MERI MEDRANO       | a    |
|   65 | JANINA FLANIGAN    | a    |
|   72 | TALISHA SWAN       | a    |
|   75 | JANAY BONNER       | a    |
|   80 | DEMETRIA STANFIELD | a    |
|   81 | RALEIGH SANDBERG   | a    |
|   82 | KRISTIAN MEYER     | a    |
|   83 | JANN HEATH         | a    |
|   87 | RANDEE QUINTERO    | a    |
|   99 | DEAN GUO           | a    |
|  103 | DEAN DEAL          | a    |
|  110 | CONSTANCE REES     | a    |
+------+--------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('tony') ORDER BY id ASC, username ASC OPTION fuzzy=1;"
––– output –––
+-------+------------------+------+
| id    | username         | s    |
+-------+------------------+------+
|   688 | SHERIE STORY     | a    |
|  1422 | TOBY CARO        | a    |
|  1627 | RUPERT STORY     | a    |
|  1721 | JOE TONG         | a    |
|  2154 | TONY GREY        | a    |
|  3759 | TOBY GILCHRIST   | a    |
|  5292 | TONA VALENTIN    | a    |
|  5687 | TONY EASTERLING  | a    |
|  5835 | TOBY ROBERSON    | a    |
|  6281 | TOBY ARAIZA      | a    |
|  6962 | TONA DAVIDSON    | a    |
|  7311 | ANTONY STOVALL   | a    |
|  7475 | TOBY REINHART    | a    |
|  8174 | TONA CARRILLO    | a    |
|  8700 | TONA FLETCHER    | a    |
|  8828 | TONYA CALLAHAN   | a    |
|  9251 | TOBY LANGFORD    | a    |
|  9293 | ZENA STORY       | a    |
|  9619 | TONY WHITTINGTON | a    |
| 10167 | LANA STORY       | a    |
+-------+------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('SMITH') ORDER BY id DESC, username ASC OPTION fuzzy=1;"
––– output –––
~ +--------+----------------------+------+
~ | id     | username             | s    |
~ +--------+----------------------+------+
~ | 999992 | FARAH RUTHERFORD737 | KEITH STUMP     | a    |
~ | 999921 | VICKI SOUTHARD     039 | KEITH JAMIESON  | a    |
~ | 999873 | ZENAIDA SEITZ       6439 | KEITHA CARBAJAL | a    |
~ | 999737 | KEITH STUMP        5770 | KEITH GONZALES  | a    |
~ | 999626 | SHERMAN HIGGINBOTHAM0882 | MINH SANTANA    | a    |
~ | 999391 | NELIDA HIGGINBOTHAM0643 | KEITH MENDES    | a    |
~ | 999039 | KEITH JAMIESON     89972 | KEITHA WALTERS  | a    |
~ | 999025 | RUTHANN STONER  89954 | GWENN SMYTH     | a    |
~ | 998882 | SCOTTY DICKINSON 89444 | KEITH KEATON    | a    |
~ | 998501 | VERTIE SCOTT      88755 | SHERRON SMYTH   | a    |
~ | 998500 | SETH PHUNG        88366 | LAVONIA SMYTH   | a    |
~ | 998490 | SCOTTIE HENRY    88254 | MAYOLA KEITH    | a    |
~ | 998234 | SCOTTY MENENDEZ 87106 | KEITH FAULK     | a    |
~ | 997975 | SCOTTIE HERRING   86580 | DARNELL SMYTH   | a    |
~ | 997763 | SCOTTIE MCCOMBS   84012 | KEITH CORONEL   | a    |
~ | 997317 | RUTHANNE GALVAN  82759 | MORGAN KEITH    | a    |
~ | 997274 | SCOTTIE DAVIDSON    82421 | KEITH SHIFFLETT | a    |
~ | 997027 | MELLIE HIGGINBOTHAM82223 | TELMA KEITH     | a    |
~ | 996507 | SETH LYMAN       82056 | RENITA KEITH    | a    |
~ | 996439 | KEITHA CARBAJAL 81115 | KATIE SMYTH     | a    |
~ +--------+----------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('SMYTH') ORDER BY id DESC, username ASC OPTION fuzzy=1;"
––– output –––
~ +--------+--------------------+------+
~ | id     | username           | s    |
~ +--------+--------------------+------+
~ | 998829 | EDYTHE VACA9921 | VICKI SOUTHARD     | a    |
~ | 998500 | SETH PHUNG829 | EDYTHE VACA        | a    |
~ | 996507 | SETH LYMAN8500 | SETH PHUNG         | a    |
~ | 995119 | EDYTHE JOHN6507 | SETH LYMAN         | a    |
~ | 993455 | EDYTH ROSADO5690 | ROBERTO SOUTHARD   | a    |
~ | 992097 | EDYTH RAGAN5663 | CHUNG SOUTH        | a    |
~ | 989954 | GWENN SMYTH95119 | EDYTHE JOHN        | a    |
~ | 988823 | SETH WHITTAKER93455 | EDYTH ROSADO       | a    |
~ | 988755 | SHERRON SMYTH93278 | LAKITA SOUTHARD    | a    |
~ | 988366 | LAVONIA SMYTH92097 | EDYTH RAGAN        | a    |
~ | 986580 | DARNELL SMYTH9954 | GWENN SMYTH        | a    |
~ | 986231 | EDYTH BLODGETT8936 | LARISA SOUTHERLAND | a    |
~ | 985595 | SETH BACON8823 | SETH WHITTAKER     | a    |
~ | 982423 | SETH CHATMAN8759 | LIEN SOUTHARD      | a    |
~ | 981115 | KATIE SMYTH8755 | SHERRON SMYTH      | a    |
~ | 979541 | EDYTHE CLAYTON88366 | LAVONIA SMYTH      | a    |
~ | 979093 | SETH BURROUGHS87165 | TULA SOUTHARD      | a    |
~ | 978812 | EDYTH GULLEY87136 | LUANN SOUTHARD     | a    |
~ | 975994 | SETH PARHAM86847 | JORDAN SOUTHERN    | a    |
~ | 975841 | ALEIDA SMYTH86711 | MARLIN SOUTHERN    | a    |
~ +--------+--------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('SMITH') ORDER BY id DESC, username ASC OPTION fuzzy=\"1\";"
––– output –––
ERROR 1064 (42000) at line 1: P01: syntax error, unexpected $undefined near '"1"'
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('john') ORDER BY id DESC, username ASC OPTION fuzzy=1;"
––– output –––
+--------+--------------------+------+
| id     | username           | s    |
+--------+--------------------+------+
| 999971 | RONNA JOHNSON      | a    |
| 999879 | CHARLEY STJOHN     | a    |
| 999685 | JOAN KOESTER       | a    |
| 999655 | JOHN WAINWRIGHT    | a    |
| 999555 | JON MOSIER         | a    |
| 999440 | JOHN LEONG         | a    |
| 999170 | JONELLE HARDING    | a    |
| 999075 | JOHNIE DURAN       | a    |
| 999020 | JONAS HASAN        | a    |
| 998802 | RENETTA LITTLEJOHN | a    |
| 998721 | REY JOHNSTON       | a    |
| 998368 | JONIE MILTON       | a    |
| 998367 | LEENA JOHNSTON     | a    |
| 998128 | SHARILYN JOHNSTON  | a    |
| 997788 | JOANNIE HENSON     | a    |
| 997670 | DENNY JONES        | a    |
| 997623 | JOHNETTA DELATORRE | a    |
| 997577 | JONA CORRAL        | a    |
| 997563 | JONE FOLSOM        | a    |
| 997512 | JOAN CALKINS       | a    |
+--------+--------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('jane') AND id BETWEEN 10000 AND 20000 ORDER BY username ASC OPTION fuzzy=1;"
––– output –––
+-------+----------------------+------+
| id    | username             | s    |
+-------+----------------------+------+
| 10119 | JANIECE GIBSON       | a    |
| 10159 | JANNA MIXON          | a    |
| 10200 | ELANE LOPES          | a    |
| 10205 | JANETTA ZHOU         | a    |
| 10381 | EULALIA LANE         | a    |
| 10465 | JANIE PAXTON         | a    |
| 10492 | JANINA JOE           | a    |
| 10507 | JANNA EDDY           | a    |
| 10635 | JANESSA GOODIN       | a    |
| 10637 | JACQUELYNN JANKOWSKI | a    |
| 10824 | ALEJANDRINA LAUGHLIN | a    |
| 10831 | CLYDE JANES          | a    |
| 10926 | JANNET GOODEN        | a    |
| 10978 | JANAE KELSO          | a    |
| 11064 | JANETH BOWIE         | a    |
| 11266 | MARIELLE ALEJANDRO   | a    |
~ | 11267 | JENEVA SANDERS 342 | JANAE DELAGARZA      | a    |
~ | 11342 | JANAE DELAGARZA875 | TYLER LUJAN          | a    |
~ | 11525 | JENEVA JENSON925 | DINAH JANES          | a    |
~ | 11615 | JENETTE SESSIONS997 | JANETH BROWNING      | a    |
+-------+----------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('EBGRNA') AND id BETWEEN 1000 AND 2000 ORDER BY username ASC OPTION fuzzy=1;"
––– output –––
+------+-----------------+------+
| id   | username        | s    |
+------+-----------------+------+
| 1292 | LAVERNA CLARK   | a    |
| 1414 | BENNY FERNANDEZ | a    |
| 1638 | JULENE BERNAL   | a    |
+------+-----------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('SARA') ORDER BY id ASC, username ASC OPTION fuzzy=1;"
––– output –––
+------+----------------------+------+
| id   | username             | s    |
+------+----------------------+------+
|   73 | CLARA NGUYEN         | a    |
| 1285 | CLARA CARTAGENA      | a    |
| 1515 | KLARA ALARCON        | a    |
| 1709 | FREDDA LARA          | a    |
| 2217 | LORIANN DELROSARIO   | a    |
| 2305 | SARA AVILA           | a    |
| 2631 | ROSARIA DELONG       | a    |
| 3245 | LARA MASTERSON       | a    |
| 3267 | LARA MOREAU          | a    |
| 3553 | SARAN CHANG          | a    |
| 3880 | SARAN HOOK           | a    |
| 3980 | GEORGETTA DELROSARIO | a    |
| 4517 | SARAI EASLEY         | a    |
| 5708 | ASA ROSARIO          | a    |
| 5731 | SARITA ANDERS        | a    |
| 6100 | CHANTELL SARABIA     | a    |
| 6165 | SARA HALLMAN         | a    |
| 6480 | SARAH NEILL          | a    |
| 6488 | SARAN PARTIN         | a    |
| 6802 | KLARA ROLLER         | a    |
+------+----------------------+------+
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 1 AS fuzziness);" | tail -n +4 | sort
––– output –––
+--------+
| joe    |
| joey   |
| john   |
| jon    |
| jordan |
| jose   |
| joseph |
| joy    |
| joyce  |
| major  |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 'us,ru' AS layouts);" | tail -n +4 | sort
––– output –––
+--------+
| joe    |
| joey   |
| john   |
| jon    |
| jordan |
| jose   |
| joseph |
| joy    |
| joyce  |
| major  |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 1 AS append);" | tail -n +4 | sort
––– output –––
+--------+
| joe    |
| joey   |
| john   |
| jon    |
| jordan |
| jose   |
| joseph |
| joy    |
| joyce  |
| major  |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 0 AS prepend);" | tail -n +4 | sort
––– output –––
+--------+
| joe    |
| joey   |
| john   |
| johnny |
| jon    |
| jordan |
| jose   |
| joseph |
| joy    |
| joyce  |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 1 AS prepend, 1 AS append);" | tail -n +4 | sort
––– output –––
+--------+
| joe    |
| joey   |
| john   |
| jon    |
| jordan |
| jose   |
| joseph |
| joy    |
| joyce  |
| major  |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 1 AS fuzziness, '' AS layouts, 1 AS append, 1 AS prepend);" | tail -n +4 | sort
––– output –––
+--------+
| joe    |
| joey   |
| john   |
| jon    |
| jordan |
| jose   |
| joseph |
| joy    |
| joyce  |
| major  |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 2 AS fuzziness, 'us,ru' AS layouts, 1 AS append, 1 AS prepend, 2 AS expansion_len);" | tail -n +4 | sort
––– output –––
+-------+
| joe   |
| joey  |
| john  |
| jon   |
| jose  |
| joy   |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 1 AS append);" | tail -n +4 | sort
––– output –––
+--------+
| joe    |
| joey   |
| john   |
| jon    |
| jordan |
| jose   |
| joseph |
| joy    |
| joyce  |
| major  |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 1 AS prepend);" | tail -n +4 | sort
––– output –––
+--------+
| joe    |
| joey   |
| john   |
| jon    |
| jordan |
| jose   |
| joseph |
| joy    |
| joyce  |
| major  |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 1 AS append, 1 AS prepend);" | tail -n +4 | sort
––– output –––
+--------+
| joe    |
| joey   |
| john   |
| jon    |
| jordan |
| jose   |
| joseph |
| joy    |
| joyce  |
| major  |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 'us' AS layouts);" | tail -n +4 | sort
––– output –––
+--------+
| joe    |
| joey   |
| john   |
| jon    |
| jordan |
| jose   |
| joseph |
| joy    |
| joyce  |
| major  |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 'ru' AS layouts);" | tail -n +4 | sort
––– output –––
+--------+
| joe    |
| joey   |
| john   |
| jon    |
| jordan |
| jose   |
| joseph |
| joy    |
| joyce  |
| major  |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('al', 'name', 0 AS fuzziness);" | tail -n +4 | sort
––– output –––
+-----------+
| albert    |
| alexander |
| ali       |
| dale      |
| gale      |
| kendall   |
| marshall  |
| palma     |
| valentine |
| walter    |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('mi', 'name', 0 AS append, 1 AS prepend);" | tail -n +4 | sort
––– output –––
+----------+
| britni   |
| brittani |
| cami     |
| choi     |
| darci    |
| jenni    |
| joi      |
| kaci     |
| kami     |
| kimi     |
| laci     |
| leilani  |
| luci     |
| mancini  |
| marci    |
| mi       |
| muoi     |
| nanci    |
| naomi    |
| neomi    |
| nohemi   |
| penni    |
| ricci    |
| roni     |
| shani    |
| staci    |
| stefani  |
| tami     |
| tammi    |
| tiffani  |
| toi      |
| tomi     |
| traci    |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('ch', 'name', 1 AS fuzziness, 3 AS expansion_len);" | tail -n +4 | sort
––– output –––
+-------+
| chang |
| chong |
| chung |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('зф', 'name', 'us,ru' AS layouts);" | tail -n +4 | sort
––– output –––
+----------+
| page     |
| paige    |
| palma    |
| paris    |
| parker   |
| pat      |
| patricia |
| patrick  |
| paul     |
| paz      |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('зф', 'name', 'us' AS layouts);" | tail -n +4 | sort
––– output –––
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('gr', 'name', 1 AS fuzziness, 'ru' AS layouts, 1 AS append, 1 AS prepend);" | tail -n +4 | sort
––– output –––
+---------+
| grace   |
| gracia  |
| grady   |
| graham  |
| grant   |
| gregg   |
| gregory |
| grey    |
| grogan  |
| grover  |
––– input –––
mysql -h0 -P9306 -e "drop table if exists t; create table t(f text) min_infix_len='2'; insert into t values(1, 'something'), (2, 'some thing'); select * from t where match('somethin') option fuzzy=0;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "select * from t where match('somethin') option fuzzy=0;"
––– output –––
––– input –––
mysql -P9306 -h0 -e "drop table if exists t; create table t(f text) min_infix_len='2'; insert into t values(1, 'something'), (2, 'some thing'); call autocomplete('some', 't');"
––– output –––
+-----------+
| query     |
+-----------+
| some      |
| something |
+-----------+
––– input –––
mysql -P9306 -h0 -e "drop table if exists t; create table t(f text) min_infix_len='2'; insert into t values(1, 'something'), (2, 'some thing'); call autocomplete('some', 't');"
––– output –––
+-----------+
| query     |
+-----------+
| some      |
| something |
+-----------+
––– input –––
mysql -h0 -P9306 -e "drop table if exists t; create table t(a int);"
––– output –––
––– input –––
mysql -h0 -P9306 -e "select * from t option fuzzy=1;"
––– output –––
ERROR 1064 (42000) at line 1: The 'fuzzy' option requires a full-text query
––– input –––
mysql -h0 -P9306 -e "drop table if exists comment_28798446; create table comment_28798446(id int, content text) min_infix_len='3';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "insert into comment_28798446 values (1, 'business Manticore interaction'), (2, 'buisness Manticore interation'), (3, 'other text content');"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SELECT id FROM comment_28798446 WHERE MATCH('buisness Manticore interation') OPTION fuzzy = 1, layouts = '';"
––– output –––
+------+
| id   |
+------+
|    1 |
|    2 |
+------+
––– input –––
mysql -h0 -P9306 -e "SELECT id FROM comment_28798446 WHERE MATCH('business Manticore interaction') OPTION fuzzy = 1, layouts = '';"
––– output –––
+------+
| id   |
+------+
|    1 |
|    2 |
+------+
––– input –––
mysql -h0 -P9306 -e "SELECT id FROM comment_28798446 WHERE MATCH('Manticore') OPTION fuzzy = 1, layouts = '';"
––– output –––
+------+
| id   |
+------+
|    1 |
|    2 |
+------+
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('bus', 'comment_28798446', 'ru,us,ua' AS layouts);"
––– output –––
+----------+
| query    |
+----------+
| business |
+----------+
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('bus', 'comment_28798446', '' AS layouts);"
––– output –––
+----------+
| query    |
+----------+
| business |
+----------+
––– input –––
mysql -h0 -P9306 -e "drop table if exists t; create table t(f text) min_infix_len='2'; insert into t values(1, 'something'), (2, 'some thing'); select * from t where match('somethin') option fuzzy=0;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "select * from t where match('somethin') option fuzzy=0;"
––– output –––
––– input –––
mysql -P9306 -h0 -e "drop table if exists t; create table t(f text) min_infix_len='2'; insert into t values(1, 'something'), (2, 'some thing'); call autocomplete('some', 't');"
––– output –––
+-----------+
| query     |
+-----------+
| some      |
| something |
+-----------+
––– input –––
mysql -P9306 -h0 -e "drop table if exists t; create table t(f text) min_infix_len='2'; insert into t values(1, 'something'), (2, 'some thing'); call autocomplete('some', 't');"
––– output –––
+-----------+
| query     |
+-----------+
| some      |
| something |
+-----------+
––– input –––
mysql -h0 -P9306 -e "drop table if exists t; create table t(a int);"
––– output –––
––– input –––
mysql -h0 -P9306 -e "select * from t option fuzzy=1;"
––– output –––
ERROR 1064 (42000) at line 1: The 'fuzzy' option requires a full-text query
––– input –––
mysql -h0 -P9306 -e "drop table if exists comment_28798446; create table comment_28798446(id int, content text) min_infix_len='3';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "insert into comment_28798446 values (1, 'business Manticore interaction'), (2, 'buisness Manticore interation'), (3, 'other text content');"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SELECT id FROM comment_28798446 WHERE MATCH('buisness Manticore interation') OPTION fuzzy = 1, layouts = '';"
––– output –––
+------+
| id   |
+------+
|    1 |
|    2 |
+------+
––– input –––
mysql -h0 -P9306 -e "SELECT id FROM comment_28798446 WHERE MATCH('business Manticore interaction') OPTION fuzzy = 1, layouts = '';"
––– output –––
+------+
| id   |
+------+
|    1 |
|    2 |
+------+
––– input –––
mysql -h0 -P9306 -e "SELECT id FROM comment_28798446 WHERE MATCH('Manticore') OPTION fuzzy = 1, layouts = '';"
––– output –––
+------+
| id   |
+------+
|    1 |
|    2 |
+------+
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('bus', 'comment_28798446', 'ru,us,ua' AS layouts);"
––– output –––
+----------+
| query    |
+----------+
| business |
+----------+
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('bus', 'comment_28798446', '' AS layouts);"
––– output –––
+----------+
| query    |
+----------+
| business |
+----------+
––– input –––
mysql -h0 -P9306 -e "DROP TABLE IF EXISTS t; DEBUG SLEEP 2; CREATE TABLE t(f TEXT) min_infix_len='2';"
––– output –––
+---------+--------+
| command | result |
+---------+--------+
| sleep   | #!/[0-9]{1}.[0-9]{3}/!#  |
+---------+--------+
––– input –––
mysql -h0 -P9306 -e "INSERT INTO t VALUES (1, 'abcdef'), (2, 'abcd efgh');"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM t WHERE MATCH('abcdef'); SHOW META;"
––– output –––
+------+--------+
| id   | f      |
+------+--------+
|    1 | abcdef |
+------+--------+
+----------------+--------+
| Variable_name  | Value  |
+----------------+--------+
| total          | 1      |
| total_found    | 1      |
| total_relation | eq     |
| time           | #!/[0-9]{1}.[0-9]{3}/!#  |
| keyword[0]     | abcdef |
| docs[0]        | 1      |
| hits[0]        | 1      |
+----------------+--------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM t WHERE MATCH('abcef') OPTION fuzzy=1; SHOW META;"
––– output –––
+------+-----------+
| id   | f         |
+------+-----------+
|    1 | abcdef    |
|    2 | abcd efgh |
+------+-----------+
+----------------+-------+
| Variable_name  | Value |
+----------------+-------+
| total          | 2     |
| total_found    | 2     |
| total_relation | eq    |
| time           | #!/[0-9]{1}.[0-9]{3}/!# |
+----------------+-------+
––– input –––
grep -A3 "SELECT \* FROM t WHERE MATCH('abcdef')" /var/log/manticore/query.log
––– output –––
/* #!/[A-Za-z]{3}\s+[A-Za-z]{3}\s+[0-9]{1,2}\s+[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}\s+[0-9]{4}/!# conn %{NUMBER} (127.0.0.1:%{NUMBER}) real #!/[0-9]{1}.[0-9]{3}/!# wall #!/[0-9]{1}.[0-9]{3}/!# found 1 */ SELECT * FROM t WHERE MATCH('abcdef');
/* #!/[A-Za-z]{3}\s+[A-Za-z]{3}\s+[0-9]{1,2}\s+[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}\s+[0-9]{4}/!# conn %{NUMBER} (127.0.0.1:%{NUMBER}) real #!/[0-9]{1}.[0-9]{3}/!# wall #!/[0-9]{1}.[0-9]{3}/!# found 2 */ SELECT * FROM t WHERE MATCH('abcef') OPTION fuzzy=1;
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM t WHERE MATCH('nonexistent'); SHOW META;"
––– output –––
+----------------+-------------+
| Variable_name  | Value       |
+----------------+-------------+
| total          | 0           |
| total_found    | 0           |
| total_relation | eq          |
| time           | #!/[0-9]{1}.[0-9]{3}/!#       |
| keyword[0]     | nonexistent |
| docs[0]        | 0           |
| hits[0]        | 0           |
+----------------+-------------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM t WHERE MATCH('abcdef') OPTION fuzzy=1;"
––– output –––
+------+-----------+
| id   | f         |
+------+-----------+
|    1 | abcdef    |
|    2 | abcd efgh |
+------+-----------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM t WHERE MATCH('\$#@\!') OPTION fuzzy=1;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "DROP TABLE IF EXISTS idx1; CREATE TABLE idx1(value TEXT) min_infix_len='2';"; echo $?
––– output –––
0
––– input –––
mysql -h0 -P9306 -e "INSERT INTO idx1(value) VALUES ('340');"; echo $?
––– output –––
0
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('34', 'idx1');"
––– output –––
+-------+
| query |
+-------+
| 340   |
+-------+
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('3', 'idx1');"; echo $?
––– output –––
0
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('34', 'idx1', 1 AS fuzziness);"
––– output –––
+-------+
| query |
+-------+
| 340   |
+-------+
––– input –––
echo -e "searchd {\nlisten = 9306:mysql\nlisten = 9312\nlisten = 9308:http\nlog = /tmp/searchd.log\nquery_log = /tmp/query.log\npid_file = /tmp/searchd.pid\n}\n\nsource src_idx {\ntype = tsvpipe\ntsvpipe_command = cat /tmp/data.tsv\ntsvpipe_field_string = f\ntsvpipe_attr_bigint = id\n}\n\nindex idx_plain {\ntype = plain\nsource = src_idx\npath = /tmp/idx_plain\nmin_infix_len = 2\n}" > /tmp/manticore_idx.conf; echo $?
––– output –––
0
––– input –––
echo -e "1\tabcdef\n2\tabcd efgh\n3\trandom text" > /tmp/data.tsv; echo $?
––– output –––
0
––– input –––
mkdir -p /tmp/idx_plain && chmod 777 /tmp/idx_plain; echo $?
––– output –––
0
––– input –––
indexer --all --config /tmp/manticore_idx.conf > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
rm -f /tmp/searchd.log; stdbuf -oL searchd --stopwait > /dev/null; (stdbuf -oL searchd -c /tmp/manticore_idx.conf 2>&1 | tee /tmp/searchd.log | grep -i precach & disown); sleep 0.5; if timeout 10 grep -qm1 '\[BUDDY\] started' /tmp/searchd.log; then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /tmp/searchd.log; fi
––– output –––
precaching table 'idx_plain'
precached 1 tables in #!/[0-9]{1,2}.[0-9]+/!# sec
Buddy started!
––– input –––
mysql -h0 -P9306 -e "SHOW TABLES;"
––– output –––
+-----------+-------+
| Table     | Type  |
+-----------+-------+
| idx_plain | local |
+-----------+-------+
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE idx_plain SETTINGS;"
––– output –––
+---------------+-------------------+
| Variable_name | Value             |
+---------------+-------------------+
| settings      | min_infix_len = 2 |
+---------------+-------------------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM idx_plain WHERE MATCH('abcdef') OPTION fuzzy=1;"
––– output –––
+------+-----------+
| id   | f         |
+------+-----------+
|    1 | abcdef    |
|    2 | abcd efgh |
+------+-----------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM idx_plain WHERE MATCH('abcef') OPTION fuzzy=1;"
––– output –––
+------+-----------+
| id   | f         |
+------+-----------+
|    1 | abcdef    |
|    2 | abcd efgh |
+------+-----------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM idx_plain WHERE MATCH('nonexistent') OPTION fuzzy=1;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('abc', 'idx_plain');"
––– output –––
+--------+
| query  |
+--------+
| abcd   |
| abcdef |
+--------+
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('ran', 'idx_plain');"
––– output –––
+--------+
| query  |
+--------+
| random |
+--------+
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('zzz', 'idx_plain');"; echo $?
––– output –––
0
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM idx_plain WHERE MATCH('abcdef') OPTION fuzzy=0;"
––– output –––
+------+--------+
| id   | f      |
+------+--------+
|    1 | abcdef |
+------+--------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM idx_plain WHERE MATCH('abcd efgh') OPTION fuzzy=0;"
––– output –––
+------+-----------+
| id   | f         |
+------+-----------+
|    2 | abcd efgh |
+------+-----------+

Copy link

clt

❌ CLT tests in test/clt-tests/buddy/
✅ OK: 8
❌ Failed: 1
⏳ Duration: 116s
👉 Check Action Results for commit 00c2d1a
Failed tests:

test/clt-tests/buddy/test-fuzzy-search.rec
––– input –––
rm -f /var/log/manticore/searchd.log; stdbuf -oL searchd > /dev/null; if timeout 10 grep -qm1 '\[BUDDY\] started' <(tail -n 1000 -f /var/log/manticore/searchd.log); then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /var/log/manticore/searchd.log;fi
––– output –––
Buddy started!
––– input –––
apt-get update -y > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get install jq -y > /dev/null; echo $?
––– output –––
debconf: delaying package configuration, since apt-utils is not installed
0
––– input –––
php -d memory_limit=2G ./test/clt-tests/scripts/load_names_attr.php --batch-size=100000 --concurrency=1 --docs=1000000 --start-id=1 --min-infix-len=2 > /dev/null; echo $?
––– output –––
0
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name ORDER BY id ASC LIMIT 1000000 OPTION max_matches=1000000;" > /tmp/name_data.txt
––– output –––
––– input –––
md5sum /tmp/name_data.txt
––– output –––
1995eec70e60c584bc35ff0688556b94  /tmp/name_data.txt
––– input –––
mysql -h0 -P9306 -e "SHOW CREATE TABLE name;" | grep "min_infix_len='2'" | sed "s/.\(min_infix_len='2'\)./\1/"
––– output –––
)min_infix_len='2'expand_keywords='1' |
––– input –––
mysql -h0 -P9306 -e "SELECT COUNT(*) FROM name;"
––– output –––
+----------+
| count(*) |
+----------+
|  1000000 |
+----------+
––– input –––
mysql -h0 -P9306 -e "OPTIMIZE TABLE name OPTION sync=1;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('RICH') ORDER BY id ASC, username ASC OPTION fuzzy=1;"
––– output –––
+------+---------------------+------+
| id   | username            | s    |
+------+---------------------+------+
|   43 | KOURTNEY RICHARDSON | a    |
|  125 | ELAINA RICHARDSON   | a    |
|  226 | RICHARD ZAMARRIPA   | a    |
|  363 | MAYRA RICO          | a    |
|  840 | RICO MCFADDEN       | a    |
|  855 | RICHARD ALDRIDGE    | a    |
|  934 | VALERY RICH         | a    |
|  948 | REGINE ALDRICH      | a    |
| 1017 | HEE TRICE           | a    |
| 1624 | OLEVIA RICHARDS     | a    |
| 1816 | MAURICE BARCLAY     | a    |
| 2228 | THERESIA RICHARDS   | a    |
| 2670 | JULIANA GRICE       | a    |
| 2918 | GRICELDA WHELAN     | a    |
| 3012 | RICHARD MCCURDY     | a    |
| 3147 | MERRILEE ALDRICH    | a    |
| 3262 | FONDA RICHEY        | a    |
| 3431 | MELANY RICHARD      | a    |
| 3438 | JOVAN ALDRICH       | a    |
| 3517 | BRICE LONGORIA      | a    |
+------+---------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('EBGRNA') ORDER BY id ASC, username ASC OPTION fuzzy=1;"
––– output –––
+------+----------------------+------+
| id   | username             | s    |
+------+----------------------+------+
|   20 | BERNARDO DUGGAN      | a    |
|   27 | BERNARDINE BREWER    | a    |
|  209 | KATLYN SERNA         | a    |
| 1292 | LAVERNA CLARK        | a    |
| 1414 | BENNY FERNANDEZ      | a    |
| 1638 | JULENE BERNAL        | a    |
| 2021 | LAVERNA JEFFERSON    | a    |
| 2169 | MERNA ORNELAS        | a    |
| 2471 | BERNADINE SCANLON    | a    |
| 2843 | BERNADINE NAPOLITANO | a    |
| 3177 | FERNANDA FRYER       | a    |
| 3199 | FERNANDO FRANCISCO   | a    |
| 3455 | FERNANDE MERRITT     | a    |
| 3539 | BERNADINE HILLER     | a    |
| 3862 | FERNANDO MACDONALD   | a    |
| 4022 | JOHNSON HERNANDES    | a    |
| 4484 | SYBIL HERNANDES      | a    |
| 5159 | MARTINA BERNARD      | a    |
| 5793 | BERNA TALBOTT        | a    |
| 6506 | FERNANDO FREELAND    | a    |
+------+----------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('ANT') ORDER BY id ASC, username ASC OPTION fuzzy=1;"
––– output –––
+------+--------------------+------+
| id   | username           | s    |
+------+--------------------+------+
|    6 | KESHIA RANDAZZO    | a    |
|   12 | TRESA ESCALANTE    | a    |
|   20 | BERNARDO DUGGAN    | a    |
|   31 | DEMETRIA IBANEZ    | a    |
|   32 | PAMELIA SANDLIN    | a    |
|   34 | ANJANETTE MINTON   | a    |
|   40 | ANTONIO RIOS       | a    |
|   62 | ANDRES NATION      | a    |
|   64 | MERI MEDRANO       | a    |
|   65 | JANINA FLANIGAN    | a    |
|   72 | TALISHA SWAN       | a    |
|   75 | JANAY BONNER       | a    |
|   80 | DEMETRIA STANFIELD | a    |
|   81 | RALEIGH SANDBERG   | a    |
|   82 | KRISTIAN MEYER     | a    |
|   83 | JANN HEATH         | a    |
|   87 | RANDEE QUINTERO    | a    |
|   99 | DEAN GUO           | a    |
|  103 | DEAN DEAL          | a    |
|  110 | CONSTANCE REES     | a    |
+------+--------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('tony') ORDER BY id ASC, username ASC OPTION fuzzy=1;"
––– output –––
+-------+------------------+------+
| id    | username         | s    |
+-------+------------------+------+
|   688 | SHERIE STORY     | a    |
|  1422 | TOBY CARO        | a    |
|  1627 | RUPERT STORY     | a    |
|  1721 | JOE TONG         | a    |
|  2154 | TONY GREY        | a    |
|  3759 | TOBY GILCHRIST   | a    |
|  5292 | TONA VALENTIN    | a    |
|  5687 | TONY EASTERLING  | a    |
|  5835 | TOBY ROBERSON    | a    |
|  6281 | TOBY ARAIZA      | a    |
|  6962 | TONA DAVIDSON    | a    |
|  7311 | ANTONY STOVALL   | a    |
|  7475 | TOBY REINHART    | a    |
|  8174 | TONA CARRILLO    | a    |
|  8700 | TONA FLETCHER    | a    |
|  8828 | TONYA CALLAHAN   | a    |
|  9251 | TOBY LANGFORD    | a    |
|  9293 | ZENA STORY       | a    |
|  9619 | TONY WHITTINGTON | a    |
| 10167 | LANA STORY       | a    |
+-------+------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('SMITH') ORDER BY id DESC, username ASC OPTION fuzzy=1;"
––– output –––
~ +--------+----------------------+------+
~ | id     | username             | s    |
~ +--------+----------------------+------+
~ | 999992 | FARAH RUTHERFORD737 | KEITH STUMP     | a    |
~ | 999921 | VICKI SOUTHARD     039 | KEITH JAMIESON  | a    |
~ | 999873 | ZENAIDA SEITZ       6439 | KEITHA CARBAJAL | a    |
~ | 999737 | KEITH STUMP        5770 | KEITH GONZALES  | a    |
~ | 999626 | SHERMAN HIGGINBOTHAM0882 | MINH SANTANA    | a    |
~ | 999391 | NELIDA HIGGINBOTHAM0643 | KEITH MENDES    | a    |
~ | 999039 | KEITH JAMIESON     89972 | KEITHA WALTERS  | a    |
~ | 999025 | RUTHANN STONER  89954 | GWENN SMYTH     | a    |
~ | 998882 | SCOTTY DICKINSON 89444 | KEITH KEATON    | a    |
~ | 998501 | VERTIE SCOTT      88755 | SHERRON SMYTH   | a    |
~ | 998500 | SETH PHUNG        88366 | LAVONIA SMYTH   | a    |
~ | 998490 | SCOTTIE HENRY    88254 | MAYOLA KEITH    | a    |
~ | 998234 | SCOTTY MENENDEZ 87106 | KEITH FAULK     | a    |
~ | 997975 | SCOTTIE HERRING   86580 | DARNELL SMYTH   | a    |
~ | 997763 | SCOTTIE MCCOMBS   84012 | KEITH CORONEL   | a    |
~ | 997317 | RUTHANNE GALVAN  82759 | MORGAN KEITH    | a    |
~ | 997274 | SCOTTIE DAVIDSON    82421 | KEITH SHIFFLETT | a    |
~ | 997027 | MELLIE HIGGINBOTHAM82223 | TELMA KEITH     | a    |
~ | 996507 | SETH LYMAN       82056 | RENITA KEITH    | a    |
~ | 996439 | KEITHA CARBAJAL 81115 | KATIE SMYTH     | a    |
~ +--------+----------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('SMYTH') ORDER BY id DESC, username ASC OPTION fuzzy=1;"
––– output –––
~ +--------+--------------------+------+
~ | id     | username           | s    |
~ +--------+--------------------+------+
~ | 998829 | EDYTHE VACA9921 | VICKI SOUTHARD     | a    |
~ | 998500 | SETH PHUNG829 | EDYTHE VACA        | a    |
~ | 996507 | SETH LYMAN8500 | SETH PHUNG         | a    |
~ | 995119 | EDYTHE JOHN6507 | SETH LYMAN         | a    |
~ | 993455 | EDYTH ROSADO5690 | ROBERTO SOUTHARD   | a    |
~ | 992097 | EDYTH RAGAN5663 | CHUNG SOUTH        | a    |
~ | 989954 | GWENN SMYTH95119 | EDYTHE JOHN        | a    |
~ | 988823 | SETH WHITTAKER93455 | EDYTH ROSADO       | a    |
~ | 988755 | SHERRON SMYTH93278 | LAKITA SOUTHARD    | a    |
~ | 988366 | LAVONIA SMYTH92097 | EDYTH RAGAN        | a    |
~ | 986580 | DARNELL SMYTH9954 | GWENN SMYTH        | a    |
~ | 986231 | EDYTH BLODGETT8936 | LARISA SOUTHERLAND | a    |
~ | 985595 | SETH BACON8823 | SETH WHITTAKER     | a    |
~ | 982423 | SETH CHATMAN8759 | LIEN SOUTHARD      | a    |
~ | 981115 | KATIE SMYTH8755 | SHERRON SMYTH      | a    |
~ | 979541 | EDYTHE CLAYTON88366 | LAVONIA SMYTH      | a    |
~ | 979093 | SETH BURROUGHS87165 | TULA SOUTHARD      | a    |
~ | 978812 | EDYTH GULLEY87136 | LUANN SOUTHARD     | a    |
~ | 975994 | SETH PARHAM86847 | JORDAN SOUTHERN    | a    |
~ | 975841 | ALEIDA SMYTH86711 | MARLIN SOUTHERN    | a    |
~ +--------+--------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('SMITH') ORDER BY id DESC, username ASC OPTION fuzzy=\"1\";"
––– output –––
ERROR 1064 (42000) at line 1: P01: syntax error, unexpected $undefined near '"1"'
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('john') ORDER BY id DESC, username ASC OPTION fuzzy=1;"
––– output –––
+--------+--------------------+------+
| id     | username           | s    |
+--------+--------------------+------+
| 999971 | RONNA JOHNSON      | a    |
| 999879 | CHARLEY STJOHN     | a    |
| 999685 | JOAN KOESTER       | a    |
| 999655 | JOHN WAINWRIGHT    | a    |
| 999555 | JON MOSIER         | a    |
| 999440 | JOHN LEONG         | a    |
| 999170 | JONELLE HARDING    | a    |
| 999075 | JOHNIE DURAN       | a    |
| 999020 | JONAS HASAN        | a    |
| 998802 | RENETTA LITTLEJOHN | a    |
| 998721 | REY JOHNSTON       | a    |
| 998368 | JONIE MILTON       | a    |
| 998367 | LEENA JOHNSTON     | a    |
| 998128 | SHARILYN JOHNSTON  | a    |
| 997788 | JOANNIE HENSON     | a    |
| 997670 | DENNY JONES        | a    |
| 997623 | JOHNETTA DELATORRE | a    |
| 997577 | JONA CORRAL        | a    |
| 997563 | JONE FOLSOM        | a    |
| 997512 | JOAN CALKINS       | a    |
+--------+--------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('jane') AND id BETWEEN 10000 AND 20000 ORDER BY username ASC OPTION fuzzy=1;"
––– output –––
+-------+----------------------+------+
| id    | username             | s    |
+-------+----------------------+------+
| 10119 | JANIECE GIBSON       | a    |
| 10159 | JANNA MIXON          | a    |
| 10200 | ELANE LOPES          | a    |
| 10205 | JANETTA ZHOU         | a    |
| 10381 | EULALIA LANE         | a    |
| 10465 | JANIE PAXTON         | a    |
| 10492 | JANINA JOE           | a    |
| 10507 | JANNA EDDY           | a    |
| 10635 | JANESSA GOODIN       | a    |
| 10637 | JACQUELYNN JANKOWSKI | a    |
| 10824 | ALEJANDRINA LAUGHLIN | a    |
| 10831 | CLYDE JANES          | a    |
| 10926 | JANNET GOODEN        | a    |
| 10978 | JANAE KELSO          | a    |
| 11064 | JANETH BOWIE         | a    |
| 11266 | MARIELLE ALEJANDRO   | a    |
~ | 11267 | JENEVA SANDERS 342 | JANAE DELAGARZA      | a    |
~ | 11342 | JANAE DELAGARZA875 | TYLER LUJAN          | a    |
~ | 11525 | JENEVA JENSON925 | DINAH JANES          | a    |
~ | 11615 | JENETTE SESSIONS997 | JANETH BROWNING      | a    |
+-------+----------------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('EBGRNA') AND id BETWEEN 1000 AND 2000 ORDER BY username ASC OPTION fuzzy=1;"
––– output –––
+------+-----------------+------+
| id   | username        | s    |
+------+-----------------+------+
| 1292 | LAVERNA CLARK   | a    |
| 1414 | BENNY FERNANDEZ | a    |
| 1638 | JULENE BERNAL   | a    |
+------+-----------------+------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM name WHERE MATCH('SARA') ORDER BY id ASC, username ASC OPTION fuzzy=1;"
––– output –––
+------+----------------------+------+
| id   | username             | s    |
+------+----------------------+------+
|   73 | CLARA NGUYEN         | a    |
| 1285 | CLARA CARTAGENA      | a    |
| 1515 | KLARA ALARCON        | a    |
| 1709 | FREDDA LARA          | a    |
| 2217 | LORIANN DELROSARIO   | a    |
| 2305 | SARA AVILA           | a    |
| 2631 | ROSARIA DELONG       | a    |
| 3245 | LARA MASTERSON       | a    |
| 3267 | LARA MOREAU          | a    |
| 3553 | SARAN CHANG          | a    |
| 3880 | SARAN HOOK           | a    |
| 3980 | GEORGETTA DELROSARIO | a    |
| 4517 | SARAI EASLEY         | a    |
| 5708 | ASA ROSARIO          | a    |
| 5731 | SARITA ANDERS        | a    |
| 6100 | CHANTELL SARABIA     | a    |
| 6165 | SARA HALLMAN         | a    |
| 6480 | SARAH NEILL          | a    |
| 6488 | SARAN PARTIN         | a    |
| 6802 | KLARA ROLLER         | a    |
+------+----------------------+------+
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 1 AS fuzziness);" | tail -n +4 | sort
––– output –––
+--------+
| joe    |
| joey   |
| john   |
| jon    |
| jordan |
| jose   |
| joseph |
| joy    |
| joyce  |
| major  |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 'us,ru' AS layouts);" | tail -n +4 | sort
––– output –––
+--------+
| joe    |
| joey   |
| john   |
| jon    |
| jordan |
| jose   |
| joseph |
| joy    |
| joyce  |
| major  |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 1 AS append);" | tail -n +4 | sort
––– output –––
+--------+
| joe    |
| joey   |
| john   |
| jon    |
| jordan |
| jose   |
| joseph |
| joy    |
| joyce  |
| major  |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 0 AS prepend);" | tail -n +4 | sort
––– output –––
+--------+
| joe    |
| joey   |
| john   |
| johnny |
| jon    |
| jordan |
| jose   |
| joseph |
| joy    |
| joyce  |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 1 AS prepend, 1 AS append);" | tail -n +4 | sort
––– output –––
+--------+
| joe    |
| joey   |
| john   |
| jon    |
| jordan |
| jose   |
| joseph |
| joy    |
| joyce  |
| major  |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 1 AS fuzziness, '' AS layouts, 1 AS append, 1 AS prepend);" | tail -n +4 | sort
––– output –––
+--------+
| joe    |
| joey   |
| john   |
| jon    |
| jordan |
| jose   |
| joseph |
| joy    |
| joyce  |
| major  |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 2 AS fuzziness, 'us,ru' AS layouts, 1 AS append, 1 AS prepend, 2 AS expansion_len);" | tail -n +4 | sort
––– output –––
+-------+
| joe   |
| joey  |
| john  |
| jon   |
| jose  |
| joy   |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 1 AS append);" | tail -n +4 | sort
––– output –––
+--------+
| joe    |
| joey   |
| john   |
| jon    |
| jordan |
| jose   |
| joseph |
| joy    |
| joyce  |
| major  |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 1 AS prepend);" | tail -n +4 | sort
––– output –––
+--------+
| joe    |
| joey   |
| john   |
| jon    |
| jordan |
| jose   |
| joseph |
| joy    |
| joyce  |
| major  |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 1 AS append, 1 AS prepend);" | tail -n +4 | sort
––– output –––
+--------+
| joe    |
| joey   |
| john   |
| jon    |
| jordan |
| jose   |
| joseph |
| joy    |
| joyce  |
| major  |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 'us' AS layouts);" | tail -n +4 | sort
––– output –––
+--------+
| joe    |
| joey   |
| john   |
| jon    |
| jordan |
| jose   |
| joseph |
| joy    |
| joyce  |
| major  |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('jo', 'name', 'ru' AS layouts);" | tail -n +4 | sort
––– output –––
+--------+
| joe    |
| joey   |
| john   |
| jon    |
| jordan |
| jose   |
| joseph |
| joy    |
| joyce  |
| major  |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('al', 'name', 0 AS fuzziness);" | tail -n +4 | sort
––– output –––
+-----------+
| albert    |
| alexander |
| ali       |
| dale      |
| gale      |
| kendall   |
| marshall  |
| palma     |
| valentine |
| walter    |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('mi', 'name', 0 AS append, 1 AS prepend);" | tail -n +4 | sort
––– output –––
+----------+
| britni   |
| brittani |
| cami     |
| choi     |
| darci    |
| jenni    |
| joi      |
| kaci     |
| kami     |
| kimi     |
| laci     |
| leilani  |
| luci     |
| mancini  |
| marci    |
| mi       |
| muoi     |
| nanci    |
| naomi    |
| neomi    |
| nohemi   |
| penni    |
| ricci    |
| roni     |
| shani    |
| staci    |
| stefani  |
| tami     |
| tammi    |
| tiffani  |
| toi      |
| tomi     |
| traci    |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('ch', 'name', 1 AS fuzziness, 3 AS expansion_len);" | tail -n +4 | sort
––– output –––
+-------+
| chang |
| chong |
| chung |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('зф', 'name', 'us,ru' AS layouts);" | tail -n +4 | sort
––– output –––
+----------+
| page     |
| paige    |
| palma    |
| paris    |
| parker   |
| pat      |
| patricia |
| patrick  |
| paul     |
| paz      |
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('зф', 'name', 'us' AS layouts);" | tail -n +4 | sort
––– output –––
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('gr', 'name', 1 AS fuzziness, 'ru' AS layouts, 1 AS append, 1 AS prepend);" | tail -n +4 | sort
––– output –––
+---------+
| grace   |
| gracia  |
| grady   |
| graham  |
| grant   |
| gregg   |
| gregory |
| grey    |
| grogan  |
| grover  |
––– input –––
mysql -h0 -P9306 -e "drop table if exists t; create table t(f text) min_infix_len='2'; insert into t values(1, 'something'), (2, 'some thing'); select * from t where match('somethin') option fuzzy=0;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "select * from t where match('somethin') option fuzzy=0;"
––– output –––
––– input –––
mysql -P9306 -h0 -e "drop table if exists t; create table t(f text) min_infix_len='2'; insert into t values(1, 'something'), (2, 'some thing'); call autocomplete('some', 't');"
––– output –––
+-----------+
| query     |
+-----------+
| some      |
| something |
+-----------+
––– input –––
mysql -P9306 -h0 -e "drop table if exists t; create table t(f text) min_infix_len='2'; insert into t values(1, 'something'), (2, 'some thing'); call autocomplete('some', 't');"
––– output –––
+-----------+
| query     |
+-----------+
| some      |
| something |
+-----------+
––– input –––
mysql -h0 -P9306 -e "drop table if exists t; create table t(a int);"
––– output –––
––– input –––
mysql -h0 -P9306 -e "select * from t option fuzzy=1;"
––– output –––
ERROR 1064 (42000) at line 1: The 'fuzzy' option requires a full-text query
––– input –––
mysql -h0 -P9306 -e "drop table if exists comment_28798446; create table comment_28798446(id int, content text) min_infix_len='3';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "insert into comment_28798446 values (1, 'business Manticore interaction'), (2, 'buisness Manticore interation'), (3, 'other text content');"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SELECT id FROM comment_28798446 WHERE MATCH('buisness Manticore interation') OPTION fuzzy = 1, layouts = '';"
––– output –––
+------+
| id   |
+------+
|    1 |
|    2 |
+------+
––– input –––
mysql -h0 -P9306 -e "SELECT id FROM comment_28798446 WHERE MATCH('business Manticore interaction') OPTION fuzzy = 1, layouts = '';"
––– output –––
+------+
| id   |
+------+
|    1 |
|    2 |
+------+
––– input –––
mysql -h0 -P9306 -e "SELECT id FROM comment_28798446 WHERE MATCH('Manticore') OPTION fuzzy = 1, layouts = '';"
––– output –––
+------+
| id   |
+------+
|    1 |
|    2 |
+------+
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('bus', 'comment_28798446', 'ru,us,ua' AS layouts);"
––– output –––
+----------+
| query    |
+----------+
| business |
+----------+
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('bus', 'comment_28798446', '' AS layouts);"
––– output –––
+----------+
| query    |
+----------+
| business |
+----------+
––– input –––
mysql -h0 -P9306 -e "drop table if exists t; create table t(f text) min_infix_len='2'; insert into t values(1, 'something'), (2, 'some thing'); select * from t where match('somethin') option fuzzy=0;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "select * from t where match('somethin') option fuzzy=0;"
––– output –––
––– input –––
mysql -P9306 -h0 -e "drop table if exists t; create table t(f text) min_infix_len='2'; insert into t values(1, 'something'), (2, 'some thing'); call autocomplete('some', 't');"
––– output –––
+-----------+
| query     |
+-----------+
| some      |
| something |
+-----------+
––– input –––
mysql -P9306 -h0 -e "drop table if exists t; create table t(f text) min_infix_len='2'; insert into t values(1, 'something'), (2, 'some thing'); call autocomplete('some', 't');"
––– output –––
+-----------+
| query     |
+-----------+
| some      |
| something |
+-----------+
––– input –––
mysql -h0 -P9306 -e "drop table if exists t; create table t(a int);"
––– output –––
––– input –––
mysql -h0 -P9306 -e "select * from t option fuzzy=1;"
––– output –––
ERROR 1064 (42000) at line 1: The 'fuzzy' option requires a full-text query
––– input –––
mysql -h0 -P9306 -e "drop table if exists comment_28798446; create table comment_28798446(id int, content text) min_infix_len='3';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "insert into comment_28798446 values (1, 'business Manticore interaction'), (2, 'buisness Manticore interation'), (3, 'other text content');"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SELECT id FROM comment_28798446 WHERE MATCH('buisness Manticore interation') OPTION fuzzy = 1, layouts = '';"
––– output –––
+------+
| id   |
+------+
|    1 |
|    2 |
+------+
––– input –––
mysql -h0 -P9306 -e "SELECT id FROM comment_28798446 WHERE MATCH('business Manticore interaction') OPTION fuzzy = 1, layouts = '';"
––– output –––
+------+
| id   |
+------+
|    1 |
|    2 |
+------+
––– input –––
mysql -h0 -P9306 -e "SELECT id FROM comment_28798446 WHERE MATCH('Manticore') OPTION fuzzy = 1, layouts = '';"
––– output –––
+------+
| id   |
+------+
|    1 |
|    2 |
+------+
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('bus', 'comment_28798446', 'ru,us,ua' AS layouts);"
––– output –––
+----------+
| query    |
+----------+
| business |
+----------+
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('bus', 'comment_28798446', '' AS layouts);"
––– output –––
+----------+
| query    |
+----------+
| business |
+----------+
––– input –––
mysql -h0 -P9306 -e "DROP TABLE IF EXISTS t; DEBUG SLEEP 2; CREATE TABLE t(f TEXT) min_infix_len='2';"
––– output –––
+---------+--------+
| command | result |
+---------+--------+
| sleep   | #!/[0-9]{1}.[0-9]{3}/!#  |
+---------+--------+
––– input –––
mysql -h0 -P9306 -e "INSERT INTO t VALUES (1, 'abcdef'), (2, 'abcd efgh');"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM t WHERE MATCH('abcdef'); SHOW META;"
––– output –––
+------+--------+
| id   | f      |
+------+--------+
|    1 | abcdef |
+------+--------+
+----------------+--------+
| Variable_name  | Value  |
+----------------+--------+
| total          | 1      |
| total_found    | 1      |
| total_relation | eq     |
| time           | #!/[0-9]{1}.[0-9]{3}/!#  |
| keyword[0]     | abcdef |
| docs[0]        | 1      |
| hits[0]        | 1      |
+----------------+--------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM t WHERE MATCH('abcef') OPTION fuzzy=1; SHOW META;"
––– output –––
+------+-----------+
| id   | f         |
+------+-----------+
|    1 | abcdef    |
|    2 | abcd efgh |
+------+-----------+
+----------------+-------+
| Variable_name  | Value |
+----------------+-------+
| total          | 2     |
| total_found    | 2     |
| total_relation | eq    |
| time           | #!/[0-9]{1}.[0-9]{3}/!# |
+----------------+-------+
––– input –––
grep -A3 "SELECT \* FROM t WHERE MATCH('abcdef')" /var/log/manticore/query.log
––– output –––
/* #!/[A-Za-z]{3}\s+[A-Za-z]{3}\s+[0-9]{1,2}\s+[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}\s+[0-9]{4}/!# conn %{NUMBER} (127.0.0.1:%{NUMBER}) real #!/[0-9]{1}.[0-9]{3}/!# wall #!/[0-9]{1}.[0-9]{3}/!# found 1 */ SELECT * FROM t WHERE MATCH('abcdef');
/* #!/[A-Za-z]{3}\s+[A-Za-z]{3}\s+[0-9]{1,2}\s+[0-9]{2}:[0-9]{2}:[0-9]{2}\.[0-9]{3}\s+[0-9]{4}/!# conn %{NUMBER} (127.0.0.1:%{NUMBER}) real #!/[0-9]{1}.[0-9]{3}/!# wall #!/[0-9]{1}.[0-9]{3}/!# found 2 */ SELECT * FROM t WHERE MATCH('abcef') OPTION fuzzy=1;
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM t WHERE MATCH('nonexistent'); SHOW META;"
––– output –––
+----------------+-------------+
| Variable_name  | Value       |
+----------------+-------------+
| total          | 0           |
| total_found    | 0           |
| total_relation | eq          |
| time           | #!/[0-9]{1}.[0-9]{3}/!#       |
| keyword[0]     | nonexistent |
| docs[0]        | 0           |
| hits[0]        | 0           |
+----------------+-------------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM t WHERE MATCH('abcdef') OPTION fuzzy=1;"
––– output –––
+------+-----------+
| id   | f         |
+------+-----------+
|    1 | abcdef    |
|    2 | abcd efgh |
+------+-----------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM t WHERE MATCH('\$#@\!') OPTION fuzzy=1;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "DROP TABLE IF EXISTS idx1; CREATE TABLE idx1(value TEXT) min_infix_len='2';"; echo $?
––– output –––
0
––– input –––
mysql -h0 -P9306 -e "INSERT INTO idx1(value) VALUES ('340');"; echo $?
––– output –––
0
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('34', 'idx1');"
––– output –––
+-------+
| query |
+-------+
| 340   |
+-------+
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('3', 'idx1');"; echo $?
––– output –––
0
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('34', 'idx1', 1 AS fuzziness);"
––– output –––
+-------+
| query |
+-------+
| 340   |
+-------+
––– input –––
echo -e "searchd {\nlisten = 9306:mysql\nlisten = 9312\nlisten = 9308:http\nlog = /tmp/searchd.log\nquery_log = /tmp/query.log\npid_file = /tmp/searchd.pid\n}\n\nsource src_idx {\ntype = tsvpipe\ntsvpipe_command = cat /tmp/data.tsv\ntsvpipe_field_string = f\ntsvpipe_attr_bigint = id\n}\n\nindex idx_plain {\ntype = plain\nsource = src_idx\npath = /tmp/idx_plain\nmin_infix_len = 2\n}" > /tmp/manticore_idx.conf; echo $?
––– output –––
0
––– input –––
echo -e "1\tabcdef\n2\tabcd efgh\n3\trandom text" > /tmp/data.tsv; echo $?
––– output –––
0
––– input –––
mkdir -p /tmp/idx_plain && chmod 777 /tmp/idx_plain; echo $?
––– output –––
0
––– input –––
indexer --all --config /tmp/manticore_idx.conf > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
rm -f /tmp/searchd.log; stdbuf -oL searchd --stopwait > /dev/null; (stdbuf -oL searchd -c /tmp/manticore_idx.conf 2>&1 | tee /tmp/searchd.log | grep -i precach & disown); sleep 0.5; if timeout 10 grep -qm1 '\[BUDDY\] started' /tmp/searchd.log; then echo 'Buddy started!'; else echo 'Timeout or failed!'; cat /tmp/searchd.log; fi
––– output –––
precaching table 'idx_plain'
precached 1 tables in #!/[0-9]{1,2}.[0-9]+/!# sec
Buddy started!
––– input –––
mysql -h0 -P9306 -e "SHOW TABLES;"
––– output –––
+-----------+-------+
| Table     | Type  |
+-----------+-------+
| idx_plain | local |
+-----------+-------+
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE idx_plain SETTINGS;"
––– output –––
+---------------+-------------------+
| Variable_name | Value             |
+---------------+-------------------+
| settings      | min_infix_len = 2 |
+---------------+-------------------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM idx_plain WHERE MATCH('abcdef') OPTION fuzzy=1;"
––– output –––
+------+-----------+
| id   | f         |
+------+-----------+
|    1 | abcdef    |
|    2 | abcd efgh |
+------+-----------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM idx_plain WHERE MATCH('abcef') OPTION fuzzy=1;"
––– output –––
+------+-----------+
| id   | f         |
+------+-----------+
|    1 | abcdef    |
|    2 | abcd efgh |
+------+-----------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM idx_plain WHERE MATCH('nonexistent') OPTION fuzzy=1;"
––– output –––
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('abc', 'idx_plain');"
––– output –––
+--------+
| query  |
+--------+
| abcd   |
| abcdef |
+--------+
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('ran', 'idx_plain');"
––– output –––
+--------+
| query  |
+--------+
| random |
+--------+
––– input –––
mysql -h0 -P9306 -e "CALL AUTOCOMPLETE('zzz', 'idx_plain');"; echo $?
––– output –––
0
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM idx_plain WHERE MATCH('abcdef') OPTION fuzzy=0;"
––– output –––
+------+--------+
| id   | f      |
+------+--------+
|    1 | abcdef |
+------+--------+
––– input –––
mysql -h0 -P9306 -e "SELECT * FROM idx_plain WHERE MATCH('abcd efgh') OPTION fuzzy=0;"
––– output –––
+------+-----------+
| id   | f         |
+------+-----------+
|    2 | abcd efgh |
+------+-----------+

@sanikolaev sanikolaev self-requested a review March 13, 2025 12:53
@PavelShilin89 PavelShilin89 merged commit 05aab2d into master Mar 13, 2025
102 checks passed
@PavelShilin89 PavelShilin89 deleted the fix/clt-tests-libs branch March 13, 2025 12:56
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