Skip to content
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

Created new job clt-macos in clt_nightly.yml #2181

Merged
merged 4 commits into from
May 16, 2024

Conversation

PavelShilin89
Copy link
Contributor

Created a new runner that should be able to run aarch64 linux docker images and using it in our nightly install/upgrade tests.

Copy link

clt-ubuntu

👎 CLT tests in test/clt-tests/indexer-latest-mysql-postgres/indexer-latest-mysql-postgres
✅ OK: 0
❌ Failed: 1
⏳ Duration: 43s
👉 Check Action Results for commit 7ba2361
Failed tests:

test/clt-tests/indexer-latest-mysql-postgres/indexer-latest-mysql-postgres.rec
––– input –––
(dockerd > /var/log/dockerd.log 2>&1 &) > /dev/null
––– output –––
––– input –––
if timeout 30 grep -qm1 'API listen on /var/run/docker.sock' <(tail -n 0 -f /var/log/dockerd.log); then echo 'Done'; else echo 'Timeout failed'; fi
––– output –––
Done
––– input –––
docker ps
––– output –––
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
––– input –––
docker pull -q --platform linux/x86_64 ghcr.io/manticoresoftware/manticoresearch:test-kit-latest > /dev/null; echo $?
––– output –––
0
––– input –––
docker pull -q --platform linux/x86_64 mysql:latest > /dev/null; echo $?
––– output –––
0
––– input –––
docker pull -q --platform linux/x86_64 postgres:latest > /dev/null; echo $?
––– output –––
0
––– input –––
docker network create t_network > /dev/null; echo $?
––– output –––
0
––– input –––
docker run -d --network=t_network -p 3306:3306 --platform linux/x86_64 --name mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -e MYSQL_DATABASE=test mysql:latest > /dev/null; echo $?
––– output –––
0
––– input –––
timeout 30 grep -m2 "Plugin ready for connections" <(docker logs -f mysql 2>&1)
––– output –––
#!/[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{6}Z/!# 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: /var/run/mysqld/mysqlx.sock
#!/[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{6}Z/!# 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
––– input –––
docker run --network=t_network --platform linux/x86_64 --name manticore -v ./test/clt-tests/indexer-latest-mysql-postgres/min_mysql.conf:/min_mysql.conf ghcr.io/manticoresoftware/manticoresearch:test-kit-latest indexer --all -c /min_mysql.conf
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 79d67ef9a@24051418 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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)
- using config file '/min_mysql.conf'...
+ WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- indexing table 'idx_min'...
+ using config file '/min_mysql.conf'...
- collected 1 docs, 0.0 MB
+ indexing table 'idx_min'...
- creating secondary index
+ collected 1 docs, 0.0 MB
creating lookup: 0.0 Kdocs, 100.0% done
sorted 0.0 Mhits, 100.0% done
total 1 docs, 3 bytes
total #!/[0-9]{1}\.[0-9]{3}/!# sec, %{NUMBER} bytes/sec, #!/[0-9]{1}\.[0-9]{2}/!# docs/sec
total 3 reads, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg
total 15 writes, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg
––– input –––
docker run -d --network=t_network -p 5432:5432 --platform linux/amd64 --name postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=postgres  postgres:latest > /dev/null; echo $?
––– output –––
0
––– input –––
timeout 30 grep -m2 'database system is ready to accept connections' <(docker logs -f postgres 2>&1)
––– output –––
#!/\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}\.\d{3}/!# UTC [%{NUMBER}] LOG:  database system is ready to accept connections
#!/\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}\.\d{3}/!# UTC [%{NUMBER}] LOG:  database system is ready to accept connections
––– input –––
docker run --network=t_network --platform linux/x86_64 --name manticore2 -v ./test/clt-tests/indexer-latest-mysql-postgres/min_postgres.sql:/min_postgres.sql ghcr.io/manticoresoftware/manticoresearch:test-kit-latest indexer --all -c /min_postgres.sql
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 79d67ef9a@24051418 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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)
- using config file '/min_postgres.sql'...
+ WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- indexing table 'idx'...
+ using config file '/min_postgres.sql'...
- collected 1 docs, 0.0 MB
+ indexing table 'idx'...
- creating secondary index
+ collected 1 docs, 0.0 MB
creating lookup: 0.0 Kdocs, 100.0% done
sorted 0.0 Mhits, 100.0% done
total 1 docs, 3 bytes
total #!/[0-9]{1}\.[0-9]{3}/!# sec, %{NUMBER} bytes/sec, #!/[0-9]{1}\.[0-9]{2}/!# docs/sec
total 3 reads, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg
total 15 writes, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg

Copy link

clt-ubuntu

👎 CLT tests in test/clt-tests/comparison-overhead-json-sql/test-comparison-
✅ OK: 0
❌ Failed: 1
⏳ Duration: 90s
👉 Check Action Results for commit 7ba2361
Failed tests:

test/clt-tests/comparison-overhead-json-sql/test-comparison-overhead-json-sql.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 79d67ef9a@24051418 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [33:15.784] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [33:15.784] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 79d67ef9a@24051418 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
php -d memory_limit=-1 ./test/clt-tests/comparison-overhead-json-sql/load_us_names.php 10000 10 10000000 1 > /dev/null
––– output –––
––– input –––
export start=$(date +%s%N)
––– output –––
––– input –––
for n in `seq 1 100`; do curl -sX POST http://localhost:9308/search -d '{"index" : "name", "query" : {"match" : {"_all": "on"} }, "limit": 0}'; done > /dev/null
––– output –––
––– input –––
export end=$(date +%s%N)
––– output –––
––– input –––
export curl=$(( (end - start) / 1000000 ))
––– output –––
––– input –––
export start=$(date +%s%N)
––– output –––
––– input –––
for n in `seq 1 100`; do mysql -P9306 -h0 -e "select * from name where match('on'); show meta;"; done > /dev/null
––– output –––
––– input –––
export end=$(date +%s%N)
––– output –––
––– input –––
export mysql=$(( (end - start) / 1000000 ))
––– output –––
––– input –––
echo "Duration: ${mysql} ${curl} ms"
––– output –––
Duration: %{NUMBER} %{NUMBER} ms
––– input –––
php -r "exit(round(abs($curl - $mysql) / ($curl + $mysql)/2 * 100, 0) >= 2);" 2>\dev\null && echo "----$?----"
––– output –––
----0----

Copy link

clt-ubuntu

👎 CLT tests in test/clt-tests/core/test-replace-into
✅ OK: 0
❌ Failed: 1
⏳ Duration: 158s
👉 Check Action Results for commit 7ba2361
Failed tests:

test/clt-tests/core/test-replace-into.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 79d67ef9a@24051418 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [33:31.955] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [33:31.955] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 79d67ef9a@24051418 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– 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/core/generate-1mln-records.sh
––– output –––
––– input –––
./test/clt-tests/core/generate-1mln-records.sh
––– output –––
+-------+------+
| Index | 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 -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 –––
#!/[1-9]|1[0-2]/!#
––– 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
--------------
+-------+------+
| Index | 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
--------------
+-------+------+
| Index | 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/core/generate-1mln-records.sh
––– output –––
––– input –––
./test/clt-tests/core/generate-1mln-records.sh
––– output –––
+-------+------+
| Index | 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 -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 –––
#!/[1-9]|1[0-2]/!#
––– 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
--------------
+-------+------+
| Index | 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 |
+------+-----------------+------------------+--------------+--------------+------------+------------------+------+------------+---------------+-----------------------------------------+--------------------------------------------------------------------+-------------------------------------+

Copy link

clt-ubuntu

👎 CLT tests in test/clt-tests/indexer-latest-mysql-postgres/indexer-latest-mysql-postgres
✅ OK: 0
❌ Failed: 1
⏳ Duration: 44s
👉 Check Action Results for commit cae2d0a
Failed tests:

test/clt-tests/indexer-latest-mysql-postgres/indexer-latest-mysql-postgres.rec
––– input –––
(dockerd > /var/log/dockerd.log 2>&1 &) > /dev/null
––– output –––
––– input –––
if timeout 30 grep -qm1 'API listen on /var/run/docker.sock' <(tail -n 0 -f /var/log/dockerd.log); then echo 'Done'; else echo 'Timeout failed'; fi
––– output –––
Done
––– input –––
docker ps
––– output –––
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
––– input –––
docker pull -q --platform linux/x86_64 ghcr.io/manticoresoftware/manticoresearch:test-kit-latest > /dev/null; echo $?
––– output –––
0
––– input –––
docker pull -q --platform linux/x86_64 mysql:latest > /dev/null; echo $?
––– output –––
0
––– input –––
docker pull -q --platform linux/x86_64 postgres:latest > /dev/null; echo $?
––– output –––
0
––– input –––
docker network create t_network > /dev/null; echo $?
––– output –––
0
––– input –––
docker run -d --network=t_network -p 3306:3306 --platform linux/x86_64 --name mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -e MYSQL_DATABASE=test mysql:latest > /dev/null; echo $?
––– output –––
0
––– input –––
timeout 30 grep -m2 "Plugin ready for connections" <(docker logs -f mysql 2>&1)
––– output –––
#!/[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{6}Z/!# 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: /var/run/mysqld/mysqlx.sock
#!/[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{6}Z/!# 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
––– input –––
docker run --network=t_network --platform linux/x86_64 --name manticore -v ./test/clt-tests/indexer-latest-mysql-postgres/min_mysql.conf:/min_mysql.conf ghcr.io/manticoresoftware/manticoresearch:test-kit-latest indexer --all -c /min_mysql.conf
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 79d67ef9a@24051418 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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)
- using config file '/min_mysql.conf'...
+ WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- indexing table 'idx_min'...
+ using config file '/min_mysql.conf'...
- collected 1 docs, 0.0 MB
+ indexing table 'idx_min'...
- creating secondary index
+ collected 1 docs, 0.0 MB
creating lookup: 0.0 Kdocs, 100.0% done
sorted 0.0 Mhits, 100.0% done
total 1 docs, 3 bytes
total #!/[0-9]{1}\.[0-9]{3}/!# sec, %{NUMBER} bytes/sec, #!/[0-9]{1}\.[0-9]{2}/!# docs/sec
total 3 reads, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg
total 15 writes, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg
––– input –––
docker run -d --network=t_network -p 5432:5432 --platform linux/amd64 --name postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=postgres  postgres:latest > /dev/null; echo $?
––– output –––
0
––– input –––
timeout 30 grep -m2 'database system is ready to accept connections' <(docker logs -f postgres 2>&1)
––– output –––
#!/\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}\.\d{3}/!# UTC [%{NUMBER}] LOG:  database system is ready to accept connections
#!/\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}\.\d{3}/!# UTC [%{NUMBER}] LOG:  database system is ready to accept connections
––– input –––
docker run --network=t_network --platform linux/x86_64 --name manticore2 -v ./test/clt-tests/indexer-latest-mysql-postgres/min_postgres.sql:/min_postgres.sql ghcr.io/manticoresoftware/manticoresearch:test-kit-latest indexer --all -c /min_postgres.sql
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 79d67ef9a@24051418 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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)
- using config file '/min_postgres.sql'...
+ WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- indexing table 'idx'...
+ using config file '/min_postgres.sql'...
- collected 1 docs, 0.0 MB
+ indexing table 'idx'...
- creating secondary index
+ collected 1 docs, 0.0 MB
creating lookup: 0.0 Kdocs, 100.0% done
sorted 0.0 Mhits, 100.0% done
total 1 docs, 3 bytes
total #!/[0-9]{1}\.[0-9]{3}/!# sec, %{NUMBER} bytes/sec, #!/[0-9]{1}\.[0-9]{2}/!# docs/sec
total 3 reads, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg
total 15 writes, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg

Copy link

clt-ubuntu

👎 CLT tests in test/clt-tests/comparison-overhead-json-sql/test-comparison-
✅ OK: 0
❌ Failed: 1
⏳ Duration: 95s
👉 Check Action Results for commit cae2d0a
Failed tests:

test/clt-tests/comparison-overhead-json-sql/test-comparison-overhead-json-sql.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 79d67ef9a@24051418 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [46:55.960] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [46:55.960] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 79d67ef9a@24051418 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
php -d memory_limit=-1 ./test/clt-tests/comparison-overhead-json-sql/load_us_names.php 10000 10 10000000 1 > /dev/null
––– output –––
––– input –––
export start=$(date +%s%N)
––– output –––
––– input –––
for n in `seq 1 100`; do curl -sX POST http://localhost:9308/search -d '{"index" : "name", "query" : {"match" : {"_all": "on"} }, "limit": 0}'; done > /dev/null
––– output –––
––– input –––
export end=$(date +%s%N)
––– output –––
––– input –––
export curl=$(( (end - start) / 1000000 ))
––– output –––
––– input –––
export start=$(date +%s%N)
––– output –––
––– input –––
for n in `seq 1 100`; do mysql -P9306 -h0 -e "select * from name where match('on'); show meta;"; done > /dev/null
––– output –––
––– input –––
export end=$(date +%s%N)
––– output –––
––– input –––
export mysql=$(( (end - start) / 1000000 ))
––– output –––
––– input –––
echo "Duration: ${mysql} ${curl} ms"
––– output –––
Duration: %{NUMBER} %{NUMBER} ms
––– input –––
php -r "exit(round(abs($curl - $mysql) / ($curl + $mysql)/2 * 100, 0) >= 2);" 2>\dev\null && echo "----$?----"
––– output –––
----0----

Copy link

clt-ubuntu

👎 CLT tests in test/clt-tests/core/test-replace-into
✅ OK: 0
❌ Failed: 1
⏳ Duration: 159s
👉 Check Action Results for commit cae2d0a
Failed tests:

test/clt-tests/core/test-replace-into.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 79d67ef9a@24051418 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [47:09.538] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [47:09.538] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 79d67ef9a@24051418 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– 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/core/generate-1mln-records.sh
––– output –––
––– input –––
./test/clt-tests/core/generate-1mln-records.sh
––– output –––
+-------+------+
| Index | 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 -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 –––
#!/[1-9]|1[0-2]/!#
––– 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
--------------
+-------+------+
| Index | 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
--------------
+-------+------+
| Index | 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/core/generate-1mln-records.sh
––– output –––
––– input –––
./test/clt-tests/core/generate-1mln-records.sh
––– output –––
+-------+------+
| Index | 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 -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 –––
#!/[1-9]|1[0-2]/!#
––– 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
--------------
+-------+------+
| Index | 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 |
+------+-----------------+------------------+--------------+--------------+------------+------------------+------+------------+---------------+-----------------------------------------+--------------------------------------------------------------------+-------------------------------------+

Copy link

clt

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

test/clt-tests/plugins/test-enable-disable-buddy-plugin.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [02:23.427] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [02:23.428] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– 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 –––
––– input –––
mysql -h0 -P9306 -e "select id, knn_dist() from t where knn ( image_vector, 5, 1 );"
––– output –––
––– 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 –––

Copy link

clt

👎 CLT tests in test/clt-tests/mysqldump/mysql/ test/clt-tests/mysqldump/maria/
✅ OK: 0
❌ Failed: 14
⏳ Duration: 60s
👉 Check Action Results for commit cae2d0a
Failed tests:

test/clt-tests/mysqldump/mysql/random-1m-dump-restore.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [02:23.504] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [02:23.504] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
./test/clt-tests/mysqldump/scripts/generate-records.sh 1000000 | mysql -h0 -P9306
––– output –––
––– input –––
mysql -h0 -P9306 -e 'show tables'
––– output –––
+-------+------+
| Index | Type |
+-------+------+
| t     | rt   |
+-------+------+
––– input –––
mysql -h0 -P9306 -e 'select count(*) from t'
––– output –––
+----------+
| count(*) |
+----------+
|  1000007 |
+----------+
––– input –––
mysql -h0 -P9306 -e "select * from t order by id asc limit 20"
––– output –––
+------+----------------------------------------------------------------------------------------------------+--------+-------------------+----------------------------------------------+----------------------------------+----------------------------------------------------------------------------------------------------+------+------------+------------+-------------------+
| id   | f                                                                                                  | a      | b                 | j                                            | m                                | s                                                                                                  | e    | d          | v          | fv                |
+------+----------------------------------------------------------------------------------------------------+--------+-------------------+----------------------------------------------+----------------------------------+----------------------------------------------------------------------------------------------------+------+------------+------------+-------------------+
|    1 |                                                                                                    |      0 |          0.000000 | NULL                                         |                                  |                                                                                                    |    0 |          0 |            |                   |
|    2 | '                                                                                                  |      0 |          0.000000 | NULL                                         |                                  |                                                                                                    |    0 |          0 |            |                   |
|    3 | "                                                                                                  |      0 |          0.000000 | NULL                                         |                                  |                                                                                                    |    0 |          0 |            |                   |
|    4 |                                                                                                    |      0 |          0.000000 | NULL                                         |                                  | '                                                                                                  |    0 |          0 |            |                   |
|    5 |                                                                                                    |      0 |          0.000000 | NULL                                         |                                  | "                                                                                                  |    0 |          0 |            |                   |
|    6 |                                                                                                    |      0 |          0.000000 | {"a":"'","b":"","c":"'"}                     |                                  |                                                                                                    |    0 |          0 |            |                   |
|    7 |                                                                                                    |      0 |          0.000000 | {"a":"\"","b":"\"","c":"\""}                 |                                  |                                                                                                    |    0 |          0 |            |                   |
|    8 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb | 139090 |  912626112.000000 | {"a":[2140855600,1509344502],"b":1114121522} | 928973100,1245670504,1413286320  | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb |    1 |  538847777 | 1617199777 | 1258482176.000000 |
|    9 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb          | 198907 |    8841452.000000 | {"a":[21374549,321067876],"b":333059460}     | 1274214921,1499886331,1977497504 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb          |    1 |  782785729 | 954464984  | 696490880.000000  |
|   10 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                     |  91421 | 1982302976.000000 | {"a":[1039865880,1000430726],"b":900846479}  | 427690075,1407612830,1714474875  | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                     |    1 | 1649242630 | 308109277  | 27668260.000000   |
|   11 | bbbbbbbbbbbbbbbbbb                                                                                 | 121311 |  121581552.000000 | {"a":[1820436984,1682929863],"b":1502056736} | 1581765396,1654516653,1925375373 | bbbbbbbbbbbbbbbbbb                                                                                 |    1 |  801766056 | 1127147375 | 107321288.000000  |
|   12 | bbbbbbbbbbbbbb                                                                                     | 191122 | 1229779968.000000 | {"a":[372959725,1851192973],"b":1660390017}  | 185371603,608681734,1167859658   | bbbbbbbbbbbbbb                                                                                     |    1 | 1213118476 | 2124217000 | 406914176.000000  |
|   13 | bbbbbbbbbb                                                                                         |  95482 |  898241728.000000 | {"a":[272656722,1663615544],"b":1624186067}  | 116478871,552875970,1092517015   | bbbbbbbbbb                                                                                         |    0 | 1239989597 | 551802408  | 152522160.000000  |
|   14 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                                    |  68119 |  661707200.000000 | {"a":[94304443,2086306634],"b":543066914}    | 578274552,1237733450,2002653905  | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                                    |    1 | 1710306734 | 167580149  | 2017031680.000000 |
|   15 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                     |  32982 | 1377983488.000000 | {"a":[496823143,416865286],"b":91350609}     | 1599607162,1936289567,2053679064 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                     |    0 | 1518500442 | 1228024866 | 1438869760.000000 |
|   16 | bbbb                                                                                               | 127656 |  144601936.000000 | {"a":[407695664,2063437019],"b":917328502}   | 645985148,1065653647,1744659471  | bbbb                                                                                               |    0 |  314320885 | 1525544836 | 219136976.000000  |
|   17 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb              |  42017 | 1793538432.000000 | {"a":[813865368,1069542460],"b":1420434902}  | 1064502376,1165315561,1267507259 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb              |    1 |  284197670 | 454491894  | 202294912.000000  |
|   18 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                              | 187471 | 1981036928.000000 | {"a":[364450401,1780265560],"b":754576639}   | 107468665,411366113,991124073    | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                              |    0 |  245327580 | 1944713760 | 1201735552.000000 |
|   19 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb      |  32712 | 1558907136.000000 | {"a":[1912418574,1670100966],"b":239810528}  | 24970160,1819190943,2021816520   | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb      |    1 | 1341382959 | 283037034  | 1458644736.000000 |
|   20 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                       |  48474 |   62408120.000000 | {"a":[1200217209,500666982],"b":2116623760}  | 328478084,504655829,1689585645   | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                       |    1 |  920211881 | 229395197  | 1011787776.000000 |
+------+----------------------------------------------------------------------------------------------------+--------+-------------------+----------------------------------------------+----------------------------------+----------------------------------------------------------------------------------------------------+------+------------+------------+-------------------+
––– input –––
mysql -h0 -P9306 -e "select * from t where s = 'Psm' order by id asc limit 20"
––– output –––
––– input –––
mysql -h0 -P9306 -e "select * from t where a = 18530 order by id asc limit 20"
––– output –––
+--------+------------------------------------------------------------------------------------------+-------+-------------------+----------------------------------------------+----------------------------------+------------------------------------------------------------------------------------------+------+------------+------------+-------------------+
| id     | f                                                                                        | a     | b                 | j                                            | m                                | s                                                                                        | e    | d          | v          | fv                |
+--------+------------------------------------------------------------------------------------------+-------+-------------------+----------------------------------------------+----------------------------------+------------------------------------------------------------------------------------------+------+------------+------------+-------------------+
| 357155 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                | 18530 | 1850545024.000000 | {"a":[787564513,814788001],"b":363013045}    | 666308965,793633956,1624548711   | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                |    1 |  588151338 | 406821193  | 773609408.000000  |
| 481679 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                   | 18530 |   73274912.000000 | {"a":[816141442,918325205],"b":2062405755}   | 1225288528,1329456945,2097512737 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                   |    1 |  870968417 | 1475821866 | 1640329728.000000 |
| 485741 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                   | 18530 | 1540117760.000000 | {"a":[1951872704,1354733051],"b":1622399792} | 135700385,959852353,1284565718   | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                   |    0 |  854965440 | 592918187  | 285162528.000000  |
| 604791 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb    | 18530 |  145746032.000000 | {"a":[1175180019,908317885],"b":714847903}   | 941943997,1067162740,1657879898  | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb    |    0 | 1621714577 | 1797192220 | 156542576.000000  |
| 750483 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                 | 18530 | 1497546624.000000 | {"a":[1337881463,1230516838],"b":320292270}  | 137916339,235649611,282680287    | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                 |    1 | 1163005682 | 1150206046 | 19527630.000000   |
| 940423 | bbbbbbbbbbb                                                                              | 18530 | 1721428992.000000 | {"a":[1431872459,532079991],"b":1821473421}  | 22419487,1048905278,1803379504   | bbbbbbbbbbb                                                                              |    0 |  236272949 | 1489922324 | 397749184.000000  |
| 957230 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb | 18530 | 1160392192.000000 | {"a":[877572928,1449850277],"b":612177211}   | 322653768,1622545118,1637144759  | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb |    1 |   78946493 | 431047209  | 582783936.000000  |
+--------+------------------------------------------------------------------------------------------+-------+-------------------+----------------------------------------------+----------------------------------+------------------------------------------------------------------------------------------+------+------------+------------+-------------------+
––– input –––
mysqldump -h0 -P9306 Manticore 2>/dev/null 1> /tmp/all-databases.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e "drop table t"
––– output –––
––– input –––
mysql -h0 -P9306 < /tmp/all-databases.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'show tables'
––– output –––
+-------+------+
| Index | Type |
+-------+------+
| t     | rt   |
+-------+------+
––– input –––
mysql -h0 -P9306 -e 'select count(*) from t'
––– output –––
+----------+
| count(*) |
+----------+
|  1000007 |
+----------+
––– input –––
mysql -h0 -P9306 -e "select * from t order by id asc limit 20"
––– output –––
+------+----------------------------------------------------------------------------------------------------+--------+-------------------+----------------------------------------------+----------------------------------+----------------------------------------------------------------------------------------------------+------+------------+------------+-------------------+
| id   | f                                                                                                  | a      | b                 | j                                            | m                                | s                                                                                                  | e    | d          | v          | fv                |
+------+----------------------------------------------------------------------------------------------------+--------+-------------------+----------------------------------------------+----------------------------------+----------------------------------------------------------------------------------------------------+------+------------+------------+-------------------+
|    1 |                                                                                                    |      0 |          0.000000 | NULL                                         |                                  |                                                                                                    |    0 |          0 |            |                   |
|    2 | '                                                                                                  |      0 |          0.000000 | NULL                                         |                                  |                                                                                                    |    0 |          0 |            |                   |
|    3 | "                                                                                                  |      0 |          0.000000 | NULL                                         |                                  |                                                                                                    |    0 |          0 |            |                   |
|    4 |                                                                                                    |      0 |          0.000000 | NULL                                         |                                  | '                                                                                                  |    0 |          0 |            |                   |
|    5 |                                                                                                    |      0 |          0.000000 | NULL                                         |                                  | "                                                                                                  |    0 |          0 |            |                   |
|    6 |                                                                                                    |      0 |          0.000000 | {"a":"'","b":"","c":"'"}                     |                                  |                                                                                                    |    0 |          0 |            |                   |
|    7 |                                                                                                    |      0 |          0.000000 | {"a":"\"","b":"\"","c":"\""}                 |                                  |                                                                                                    |    0 |          0 |            |                   |
|    8 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb | 139090 |  912626112.000000 | {"a":[2140855600,1509344502],"b":1114121522} | 928973100,1245670504,1413286320  | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb |    1 |  538847777 | 1617199777 | 1258482176.000000 |
|    9 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb          | 198907 |    8841452.000000 | {"a":[21374549,321067876],"b":333059460}     | 1274214921,1499886331,1977497504 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb          |    1 |  782785729 | 954464984  | 696490880.000000  |
|   10 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                     |  91421 | 1982302976.000000 | {"a":[1039865880,1000430726],"b":900846479}  | 427690075,1407612830,1714474875  | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                     |    1 | 1649242630 | 308109277  | 27668260.000000   |
|   11 | bbbbbbbbbbbbbbbbbb                                                                                 | 121311 |  121581552.000000 | {"a":[1820436984,1682929863],"b":1502056736} | 1581765396,1654516653,1925375373 | bbbbbbbbbbbbbbbbbb                                                                                 |    1 |  801766056 | 1127147375 | 107321288.000000  |
|   12 | bbbbbbbbbbbbbb                                                                                     | 191122 | 1229779968.000000 | {"a":[372959725,1851192973],"b":1660390017}  | 185371603,608681734,1167859658   | bbbbbbbbbbbbbb                                                                                     |    1 | 1213118476 | 2124217000 | 406914176.000000  |
|   13 | bbbbbbbbbb                                                                                         |  95482 |  898241728.000000 | {"a":[272656722,1663615544],"b":1624186067}  | 116478871,552875970,1092517015   | bbbbbbbbbb                                                                                         |    0 | 1239989597 | 551802408  | 152522160.000000  |
|   14 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                                    |  68119 |  661707200.000000 | {"a":[94304443,2086306634],"b":543066914}    | 578274552,1237733450,2002653905  | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                                    |    1 | 1710306734 | 167580149  | 2017031680.000000 |
|   15 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                     |  32982 | 1377983488.000000 | {"a":[496823143,416865286],"b":91350609}     | 1599607162,1936289567,2053679064 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                     |    0 | 1518500442 | 1228024866 | 1438869760.000000 |
|   16 | bbbb                                                                                               | 127656 |  144601936.000000 | {"a":[407695664,2063437019],"b":917328502}   | 645985148,1065653647,1744659471  | bbbb                                                                                               |    0 |  314320885 | 1525544836 | 219136976.000000  |
|   17 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb              |  42017 | 1793538432.000000 | {"a":[813865368,1069542460],"b":1420434902}  | 1064502376,1165315561,1267507259 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb              |    1 |  284197670 | 454491894  | 202294912.000000  |
|   18 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                              | 187471 | 1981036928.000000 | {"a":[364450401,1780265560],"b":754576639}   | 107468665,411366113,991124073    | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                              |    0 |  245327580 | 1944713760 | 1201735552.000000 |
|   19 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb      |  32712 | 1558907136.000000 | {"a":[1912418574,1670100966],"b":239810528}  | 24970160,1819190943,2021816520   | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb      |    1 | 1341382959 | 283037034  | 1458644736.000000 |
|   20 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                       |  48474 |   62408120.000000 | {"a":[1200217209,500666982],"b":2116623760}  | 328478084,504655829,1689585645   | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                       |    1 |  920211881 | 229395197  | 1011787776.000000 |
+------+----------------------------------------------------------------------------------------------------+--------+-------------------+----------------------------------------------+----------------------------------+----------------------------------------------------------------------------------------------------+------+------------+------------+-------------------+
––– input –––
mysql -h0 -P9306 -e "select * from t where s = 'Psm' order by id asc limit 20"
––– output –––
––– input –––
mysql -h0 -P9306 -e "select * from t where a = 18530 order by id asc limit 20"
––– output –––
+--------+------------------------------------------------------------------------------------------+-------+-------------------+----------------------------------------------+----------------------------------+------------------------------------------------------------------------------------------+------+------------+------------+-------------------+
| id     | f                                                                                        | a     | b                 | j                                            | m                                | s                                                                                        | e    | d          | v          | fv                |
+--------+------------------------------------------------------------------------------------------+-------+-------------------+----------------------------------------------+----------------------------------+------------------------------------------------------------------------------------------+------+------------+------------+-------------------+
| 357155 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                | 18530 | 1850545024.000000 | {"a":[787564513,814788001],"b":363013045}    | 666308965,793633956,1624548711   | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                |    1 |  588151338 | 406821193  | 773609408.000000  |
| 481679 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                   | 18530 |   73274912.000000 | {"a":[816141442,918325205],"b":2062405755}   | 1225288528,1329456945,2097512737 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                   |    1 |  870968417 | 1475821866 | 1640329728.000000 |
| 485741 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                   | 18530 | 1540117760.000000 | {"a":[1951872704,1354733051],"b":1622399792} | 135700385,959852353,1284565718   | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                   |    0 |  854965440 | 592918187  | 285162528.000000  |
| 604791 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb    | 18530 |  145746032.000000 | {"a":[1175180019,908317885],"b":714847903}   | 941943997,1067162740,1657879898  | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb    |    0 | 1621714577 | 1797192220 | 156542576.000000  |
| 750483 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                 | 18530 | 1497546624.000000 | {"a":[1337881463,1230516838],"b":320292270}  | 137916339,235649611,282680287    | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                 |    1 | 1163005682 | 1150206046 | 19527630.000000   |
| 940423 | bbbbbbbbbbb                                                                              | 18530 | 1721428992.000000 | {"a":[1431872459,532079991],"b":1821473421}  | 22419487,1048905278,1803379504   | bbbbbbbbbbb                                                                              |    0 |  236272949 | 1489922324 | 397749184.000000  |
| 957230 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb | 18530 | 1160392192.000000 | {"a":[877572928,1449850277],"b":612177211}   | 322653768,1622545118,1637144759  | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb |    1 |   78946493 | 431047209  | 582783936.000000  |
+--------+------------------------------------------------------------------------------------------+-------+-------------------+----------------------------------------------+----------------------------------+------------------------------------------------------------------------------------------+------+------------+------------+-------------------+
test/clt-tests/mysqldump/mysql/mcl-all-multi64.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [02:12.472] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [02:12.472] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-all/multi64.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_all_multi64 limit -1'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-all/multi64-batch-1.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_all_multi64'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-all/multi64-batch-2.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_all_multi64'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-all/multi64-batch-3.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush table mcl_all_multi64'
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_all_multi64 limit 20'
––– output –––
+------+--------------------------------------------------------+
| id   | value                                                  |
+------+--------------------------------------------------------+
|   20 | 1000000096,1000000097,1000000098,1000000099,1000000100 |
|   19 | 1000000091,1000000092,1000000093,1000000094,1000000095 |
|    9 | 1000000041,1000000042,1000000043,1000000044,1000000045 |
|    1 | 1000000001,1000000002,1000000003,1000000004,1000000005 |
|    2 | 1000000006,1000000007,1000000008,1000000009,1000000010 |
|   10 | 1000000046,1000000047,1000000048,1000000049,1000000050 |
|    3 | 1000000011,1000000012,1000000013,1000000014,1000000015 |
|   11 | 1000000051,1000000052,1000000053,1000000054,1000000055 |
|    4 | 1000000016,1000000017,1000000018,1000000019,1000000020 |
|   12 | 1000000056,1000000057,1000000058,1000000059,1000000060 |
|   13 | 1000000061,1000000062,1000000063,1000000064,1000000065 |
|    5 | 1000000021,1000000022,1000000023,1000000024,1000000025 |
|   14 | 1000000066,1000000067,1000000068,1000000069,1000000070 |
|    6 | 1000000026,1000000027,1000000028,1000000029,1000000030 |
|   15 | 1000000071,1000000072,1000000073,1000000074,1000000075 |
|    7 | 1000000031,1000000032,1000000033,1000000034,1000000035 |
|   16 | 1000000076,1000000077,1000000078,1000000079,1000000080 |
|    8 | 1000000036,1000000037,1000000038,1000000039,1000000040 |
|   17 | 1000000081,1000000082,1000000083,1000000084,1000000085 |
|   18 | 1000000086,1000000087,1000000088,1000000089,1000000090 |
+------+--------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_all_multi64 limit -1'
––– output –––
+------+----------------------------------------------------------+
| id   | value                                                    |
+------+----------------------------------------------------------+
| 9    | (1000000041,1000000042,1000000043,1000000044,1000000045) |
| 10   | (1000000046,1000000047,1000000048,1000000049,1000000050) |
| 11   | (1000000051,1000000052,1000000053,1000000054,1000000055) |
| 12   | (1000000056,1000000057,1000000058,1000000059,1000000060) |
| 13   | (1000000061,1000000062,1000000063,1000000064,1000000065) |
| 14   | (1000000066,1000000067,1000000068,1000000069,1000000070) |
| 15   | (1000000071,1000000072,1000000073,1000000074,1000000075) |
| 16   | (1000000076,1000000077,1000000078,1000000079,1000000080) |
| 17   | (1000000081,1000000082,1000000083,1000000084,1000000085) |
| 18   | (1000000086,1000000087,1000000088,1000000089,1000000090) |
| 1    | (1000000001,1000000002,1000000003,1000000004,1000000005) |
| 2    | (1000000006,1000000007,1000000008,1000000009,1000000010) |
| 3    | (1000000011,1000000012,1000000013,1000000014,1000000015) |
| 4    | (1000000016,1000000017,1000000018,1000000019,1000000020) |
| 5    | (1000000021,1000000022,1000000023,1000000024,1000000025) |
| 6    | (1000000026,1000000027,1000000028,1000000029,1000000030) |
| 7    | (1000000031,1000000032,1000000033,1000000034,1000000035) |
| 8    | (1000000036,1000000037,1000000038,1000000039,1000000040) |
| 19   | (1000000091,1000000092,1000000093,1000000094,1000000095) |
| 20   | (1000000096,1000000097,1000000098,1000000099,1000000100) |
+------+----------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select /*!40001 SQL_NO_CACHE */ * from mcl_all_multi64'
––– output –––
+------+----------------------------------------------------------+
| id   | value                                                    |
+------+----------------------------------------------------------+
| 9    | (1000000041,1000000042,1000000043,1000000044,1000000045) |
| 10   | (1000000046,1000000047,1000000048,1000000049,1000000050) |
| 11   | (1000000051,1000000052,1000000053,1000000054,1000000055) |
| 12   | (1000000056,1000000057,1000000058,1000000059,1000000060) |
| 13   | (1000000061,1000000062,1000000063,1000000064,1000000065) |
| 14   | (1000000066,1000000067,1000000068,1000000069,1000000070) |
| 15   | (1000000071,1000000072,1000000073,1000000074,1000000075) |
| 16   | (1000000076,1000000077,1000000078,1000000079,1000000080) |
| 17   | (1000000081,1000000082,1000000083,1000000084,1000000085) |
| 18   | (1000000086,1000000087,1000000088,1000000089,1000000090) |
| 1    | (1000000001,1000000002,1000000003,1000000004,1000000005) |
| 2    | (1000000006,1000000007,1000000008,1000000009,1000000010) |
| 3    | (1000000011,1000000012,1000000013,1000000014,1000000015) |
| 4    | (1000000016,1000000017,1000000018,1000000019,1000000020) |
| 5    | (1000000021,1000000022,1000000023,1000000024,1000000025) |
| 6    | (1000000026,1000000027,1000000028,1000000029,1000000030) |
| 7    | (1000000031,1000000032,1000000033,1000000034,1000000035) |
| 8    | (1000000036,1000000037,1000000038,1000000039,1000000040) |
| 19   | (1000000091,1000000092,1000000093,1000000094,1000000095) |
| 20   | (1000000096,1000000097,1000000098,1000000099,1000000100) |
+------+----------------------------------------------------------+
test/clt-tests/mysqldump/mysql/mcl-only-json.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [02:16.581] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [02:16.581] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-only/json.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_only_json limit -1'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-only/json-batch-1.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_only_json'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-only/json-batch-2.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_only_json'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-only/json-batch-3.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush table mcl_only_json'
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_only_json limit 20'
––– output –––
+------+---------------------------------------------------------------------------------------------+
| id   | value                                                                                       |
+------+---------------------------------------------------------------------------------------------+
|   20 | {"computer":"MacBook Pro","manufacturer":"Apple","year":2021,"OS":"macOS"}                  |
|   19 | {"element":"Hydrogen","symbol":"H","atomic_number":1,"state":"Gas"}                         |
|    9 | {"song":"Bohemian Rhapsody","artist":"Queen","year":1975,"genre":"Rock"}                    |
|    1 | {"key1":"value1","key2":"value2","key3":"value3","key4":"value4"}                           |
|    2 | {"name":"John","age":30,"city":"New York","occupation":"Engineer"}                          |
|   10 | {"company":"OpenAI","founded":2015,"location":"San Francisco","CEO":"Sam Altman"}           |
|    3 | {"animal":"dog","color":"brown","age":5,"breed":"Labrador"}                                 |
|   11 | {"planet":"Mars","distance_from_sun":227.900000,"orbital_period":687,"number_of_moons":2}   |
|    4 | {"subject":"Math","score":95,"passed":true,"comments":"Excellent"}                          |
|   12 | {"country":"Australia","continent":"Australia","capital":"Canberra","population":25.360000} |
|   13 | {"language":"Spanish","speakers":460,"origin":"Spain","script":"Latin"}                     |
|    5 | {"book":"The Great Gatsby","author":"F. Scott Fitzgerald","year":1925,"genre":"Novel"}      |
|   14 | {"dish":"Sushi","origin":"Japan","ingredients":["Rice","Fish","Seaweed"],"type":"Seafood"}  |
|    6 | {"movie":"Inception","director":"Christopher Nolan","year":2010,"genre":"Sci-fi"}           |
|   15 | {"game":"Chess","origin":"India","players":2,"type":"Board game"}                           |
|    7 | {"fruit":"Apple","color":"Red","origin":"USA","taste":"Sweet"}                              |
|   16 | {"painting":"Mona Lisa","artist":"Leonardo da Vinci","year":1503,"museum":"Louvre"}         |
|    8 | {"car":"Tesla Model S","manufacturer":"Tesla","year":2022,"type":"Electric"}                |
|   17 | {"sport":"Soccer","origin":"England","players":11,"ball":"Round"}                           |
|   18 | {"flower":"Rose","color":"Red","symbol":"Love","origin":"Asia"}                             |
+------+---------------------------------------------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_only_json limit -1'
––– output –––
+------+---------------------------------------------------------------------------------------------+
| id   | value                                                                                       |
+------+---------------------------------------------------------------------------------------------+
| 9    |                    {"song":"Bohemian Rhapsody","artist":"Queen","year":1975,"genre":"Rock"} |
| 10   |           {"company":"OpenAI","founded":2015,"location":"San Francisco","CEO":"Sam Altman"} |
| 11   |   {"planet":"Mars","distance_from_sun":227.900000,"orbital_period":687,"number_of_moons":2} |
| 12   | {"country":"Australia","continent":"Australia","capital":"Canberra","population":25.360000} |
| 13   |                     {"language":"Spanish","speakers":460,"origin":"Spain","script":"Latin"} |
| 14   |  {"dish":"Sushi","origin":"Japan","ingredients":["Rice","Fish","Seaweed"],"type":"Seafood"} |
| 15   |                           {"game":"Chess","origin":"India","players":2,"type":"Board game"} |
| 16   |         {"painting":"Mona Lisa","artist":"Leonardo da Vinci","year":1503,"museum":"Louvre"} |
| 17   |                           {"sport":"Soccer","origin":"England","players":11,"ball":"Round"} |
| 18   |                             {"flower":"Rose","color":"Red","symbol":"Love","origin":"Asia"} |
| 1    |                           {"key1":"value1","key2":"value2","key3":"value3","key4":"value4"} |
| 2    |                          {"name":"John","age":30,"city":"New York","occupation":"Engineer"} |
| 3    |                                 {"animal":"dog","color":"brown","age":5,"breed":"Labrador"} |
| 4    |                          {"subject":"Math","score":95,"passed":true,"comments":"Excellent"} |
| 5    |      {"book":"The Great Gatsby","author":"F. Scott Fitzgerald","year":1925,"genre":"Novel"} |
| 6    |           {"movie":"Inception","director":"Christopher Nolan","year":2010,"genre":"Sci-fi"} |
| 7    |                              {"fruit":"Apple","color":"Red","origin":"USA","taste":"Sweet"} |
| 8    |                {"car":"Tesla Model S","manufacturer":"Tesla","year":2022,"type":"Electric"} |
| 19   |                         {"element":"Hydrogen","symbol":"H","atomic_number":1,"state":"Gas"} |
| 20   |                  {"computer":"MacBook Pro","manufacturer":"Apple","year":2021,"OS":"macOS"} |
+------+---------------------------------------------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select /*!40001 SQL_NO_CACHE */ * from mcl_only_json'
––– output –––
+------+---------------------------------------------------------------------------------------------+
| id   | value                                                                                       |
+------+---------------------------------------------------------------------------------------------+
| 9    |                    {"song":"Bohemian Rhapsody","artist":"Queen","year":1975,"genre":"Rock"} |
| 10   |           {"company":"OpenAI","founded":2015,"location":"San Francisco","CEO":"Sam Altman"} |
| 11   |   {"planet":"Mars","distance_from_sun":227.900000,"orbital_period":687,"number_of_moons":2} |
| 12   | {"country":"Australia","continent":"Australia","capital":"Canberra","population":25.360000} |
| 13   |                     {"language":"Spanish","speakers":460,"origin":"Spain","script":"Latin"} |
| 14   |  {"dish":"Sushi","origin":"Japan","ingredients":["Rice","Fish","Seaweed"],"type":"Seafood"} |
| 15   |                           {"game":"Chess","origin":"India","players":2,"type":"Board game"} |
| 16   |         {"painting":"Mona Lisa","artist":"Leonardo da Vinci","year":1503,"museum":"Louvre"} |
| 17   |                           {"sport":"Soccer","origin":"England","players":11,"ball":"Round"} |
| 18   |                             {"flower":"Rose","color":"Red","symbol":"Love","origin":"Asia"} |
| 1    |                           {"key1":"value1","key2":"value2","key3":"value3","key4":"value4"} |
| 2    |                          {"name":"John","age":30,"city":"New York","occupation":"Engineer"} |
| 3    |                                 {"animal":"dog","color":"brown","age":5,"breed":"Labrador"} |
| 4    |                          {"subject":"Math","score":95,"passed":true,"comments":"Excellent"} |
| 5    |      {"book":"The Great Gatsby","author":"F. Scott Fitzgerald","year":1925,"genre":"Novel"} |
| 6    |           {"movie":"Inception","director":"Christopher Nolan","year":2010,"genre":"Sci-fi"} |
| 7    |                              {"fruit":"Apple","color":"Red","origin":"USA","taste":"Sweet"} |
| 8    |                {"car":"Tesla Model S","manufacturer":"Tesla","year":2022,"type":"Electric"} |
| 19   |                         {"element":"Hydrogen","symbol":"H","atomic_number":1,"state":"Gas"} |
| 20   |                  {"computer":"MacBook Pro","manufacturer":"Apple","year":2021,"OS":"macOS"} |
+------+---------------------------------------------------------------------------------------------+
test/clt-tests/mysqldump/mysql/mcl-only-multi.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [02:17.565] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [02:17.565] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-only/multi.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_only_multi limit -1'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-only/multi-batch-1.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_only_multi'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-only/multi-batch-2.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_only_multi'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-only/multi-batch-3.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush table mcl_only_multi'
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_only_multi limit 20'
––– output –––
+------+-----------------+
| id   | value           |
+------+-----------------+
|   20 | 96,97,98,99,100 |
|   19 | 91,92,93,94,95  |
|    9 | 41,42,43,44,45  |
|    1 | 1,2,3,4,5       |
|    2 | 6,7,8,9,10      |
|   10 | 46,47,48,49,50  |
|    3 | 11,12,13,14,15  |
|   11 | 51,52,53,54,55  |
|    4 | 16,17,18,19,20  |
|   12 | 56,57,58,59,60  |
|   13 | 61,62,63,64,65  |
|    5 | 21,22,23,24,25  |
|   14 | 66,67,68,69,70  |
|    6 | 26,27,28,29,30  |
|   15 | 71,72,73,74,75  |
|    7 | 31,32,33,34,35  |
|   16 | 76,77,78,79,80  |
|    8 | 36,37,38,39,40  |
|   17 | 81,82,83,84,85  |
|   18 | 86,87,88,89,90  |
+------+-----------------+
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_only_multi limit -1'
––– output –––
+------+-------------------+
| id   | value             |
+------+-------------------+
| 9    |  (41,42,43,44,45) |
| 10   |  (46,47,48,49,50) |
| 11   |  (51,52,53,54,55) |
| 12   |  (56,57,58,59,60) |
| 13   |  (61,62,63,64,65) |
| 14   |  (66,67,68,69,70) |
| 15   |  (71,72,73,74,75) |
| 16   |  (76,77,78,79,80) |
| 17   |  (81,82,83,84,85) |
| 18   |  (86,87,88,89,90) |
| 1    |       (1,2,3,4,5) |
| 2    |      (6,7,8,9,10) |
| 3    |  (11,12,13,14,15) |
| 4    |  (16,17,18,19,20) |
| 5    |  (21,22,23,24,25) |
| 6    |  (26,27,28,29,30) |
| 7    |  (31,32,33,34,35) |
| 8    |  (36,37,38,39,40) |
| 19   |  (91,92,93,94,95) |
| 20   | (96,97,98,99,100) |
+------+-------------------+
––– input –––
mysql -h0 -P9306 -e 'select /*!40001 SQL_NO_CACHE */ * from mcl_only_multi'
––– output –––
+------+-------------------+
| id   | value             |
+------+-------------------+
| 9    |  (41,42,43,44,45) |
| 10   |  (46,47,48,49,50) |
| 11   |  (51,52,53,54,55) |
| 12   |  (56,57,58,59,60) |
| 13   |  (61,62,63,64,65) |
| 14   |  (66,67,68,69,70) |
| 15   |  (71,72,73,74,75) |
| 16   |  (76,77,78,79,80) |
| 17   |  (81,82,83,84,85) |
| 18   |  (86,87,88,89,90) |
| 1    |       (1,2,3,4,5) |
| 2    |      (6,7,8,9,10) |
| 3    |  (11,12,13,14,15) |
| 4    |  (16,17,18,19,20) |
| 5    |  (21,22,23,24,25) |
| 6    |  (26,27,28,29,30) |
| 7    |  (31,32,33,34,35) |
| 8    |  (36,37,38,39,40) |
| 19   |  (91,92,93,94,95) |
| 20   | (96,97,98,99,100) |
+------+-------------------+
test/clt-tests/mysqldump/mysql/no-mcl-multi.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [02:20.547] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [02:20.547] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/no-mcl/multi.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from no_mcl_multi limit -1'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/no-mcl/multi-batch-1.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk no_mcl_multi'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/no-mcl/multi-batch-2.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk no_mcl_multi'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/no-mcl/multi-batch-3.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush table no_mcl_multi'
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from no_mcl_multi limit 20'
––– output –––
+------+-----------------+
| id   | value           |
+------+-----------------+
|   20 | 96,97,98,99,100 |
|   19 | 91,92,93,94,95  |
|    9 | 41,42,43,44,45  |
|    1 | 1,2,3,4,5       |
|    2 | 6,7,8,9,10      |
|   10 | 46,47,48,49,50  |
|    3 | 11,12,13,14,15  |
|   11 | 51,52,53,54,55  |
|    4 | 16,17,18,19,20  |
|   12 | 56,57,58,59,60  |
|   13 | 61,62,63,64,65  |
|    5 | 21,22,23,24,25  |
|   14 | 66,67,68,69,70  |
|    6 | 26,27,28,29,30  |
|   15 | 71,72,73,74,75  |
|    7 | 31,32,33,34,35  |
|   16 | 76,77,78,79,80  |
|    8 | 36,37,38,39,40  |
|   17 | 81,82,83,84,85  |
|   18 | 86,87,88,89,90  |
+------+-----------------+
––– input –––
mysql -h0 -P9306 -e 'select * from no_mcl_multi limit -1'
––– output –––
+------+-------------------+
| id   | value             |
+------+-------------------+
| 9    |  (41,42,43,44,45) |
| 10   |  (46,47,48,49,50) |
| 11   |  (51,52,53,54,55) |
| 12   |  (56,57,58,59,60) |
| 13   |  (61,62,63,64,65) |
| 14   |  (66,67,68,69,70) |
| 15   |  (71,72,73,74,75) |
| 16   |  (76,77,78,79,80) |
| 17   |  (81,82,83,84,85) |
| 18   |  (86,87,88,89,90) |
| 1    |       (1,2,3,4,5) |
| 2    |      (6,7,8,9,10) |
| 3    |  (11,12,13,14,15) |
| 4    |  (16,17,18,19,20) |
| 5    |  (21,22,23,24,25) |
| 6    |  (26,27,28,29,30) |
| 7    |  (31,32,33,34,35) |
| 8    |  (36,37,38,39,40) |
| 19   |  (91,92,93,94,95) |
| 20   | (96,97,98,99,100) |
+------+-------------------+
––– input –––
mysql -h0 -P9306 -e 'select /*!40001 SQL_NO_CACHE */ * from no_mcl_multi'
––– output –––
+------+-------------------+
| id   | value             |
+------+-------------------+
| 9    |  (41,42,43,44,45) |
| 10   |  (46,47,48,49,50) |
| 11   |  (51,52,53,54,55) |
| 12   |  (56,57,58,59,60) |
| 13   |  (61,62,63,64,65) |
| 14   |  (66,67,68,69,70) |
| 15   |  (71,72,73,74,75) |
| 16   |  (76,77,78,79,80) |
| 17   |  (81,82,83,84,85) |
| 18   |  (86,87,88,89,90) |
| 1    |       (1,2,3,4,5) |
| 2    |      (6,7,8,9,10) |
| 3    |  (11,12,13,14,15) |
| 4    |  (16,17,18,19,20) |
| 5    |  (21,22,23,24,25) |
| 6    |  (26,27,28,29,30) |
| 7    |  (31,32,33,34,35) |
| 8    |  (36,37,38,39,40) |
| 19   |  (91,92,93,94,95) |
| 20   | (96,97,98,99,100) |
+------+-------------------+
test/clt-tests/mysqldump/mysql/mcl-id-multi.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [02:14.537] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [02:14.537] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-id/multi.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_id_multi limit -1'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-id/multi-batch-1.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_id_multi'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-id/multi-batch-2.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_id_multi'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-id/multi-batch-3.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush table mcl_id_multi'
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_id_multi limit 20'
––– output –––
+------+-----------------+
| id   | value           |
+------+-----------------+
|   20 | 96,97,98,99,100 |
|   19 | 91,92,93,94,95  |
|    9 | 41,42,43,44,45  |
|    1 | 1,2,3,4,5       |
|    2 | 6,7,8,9,10      |
|   10 | 46,47,48,49,50  |
|    3 | 11,12,13,14,15  |
|   11 | 51,52,53,54,55  |
|    4 | 16,17,18,19,20  |
|   12 | 56,57,58,59,60  |
|   13 | 61,62,63,64,65  |
|    5 | 21,22,23,24,25  |
|   14 | 66,67,68,69,70  |
|    6 | 26,27,28,29,30  |
|   15 | 71,72,73,74,75  |
|    7 | 31,32,33,34,35  |
|   16 | 76,77,78,79,80  |
|    8 | 36,37,38,39,40  |
|   17 | 81,82,83,84,85  |
|   18 | 86,87,88,89,90  |
+------+-----------------+
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_id_multi limit -1'
––– output –––
+------+-------------------+
| id   | value             |
+------+-------------------+
| 9    |  (41,42,43,44,45) |
| 10   |  (46,47,48,49,50) |
| 11   |  (51,52,53,54,55) |
| 12   |  (56,57,58,59,60) |
| 13   |  (61,62,63,64,65) |
| 14   |  (66,67,68,69,70) |
| 15   |  (71,72,73,74,75) |
| 16   |  (76,77,78,79,80) |
| 17   |  (81,82,83,84,85) |
| 18   |  (86,87,88,89,90) |
| 1    |       (1,2,3,4,5) |
| 2    |      (6,7,8,9,10) |
| 3    |  (11,12,13,14,15) |
| 4    |  (16,17,18,19,20) |
| 5    |  (21,22,23,24,25) |
| 6    |  (26,27,28,29,30) |
| 7    |  (31,32,33,34,35) |
| 8    |  (36,37,38,39,40) |
| 19   |  (91,92,93,94,95) |
| 20   | (96,97,98,99,100) |
+------+-------------------+
––– input –––
mysql -h0 -P9306 -e 'select /*!40001 SQL_NO_CACHE */ * from mcl_id_multi'
––– output –––
+------+-------------------+
| id   | value             |
+------+-------------------+
| 9    |  (41,42,43,44,45) |
| 10   |  (46,47,48,49,50) |
| 11   |  (51,52,53,54,55) |
| 12   |  (56,57,58,59,60) |
| 13   |  (61,62,63,64,65) |
| 14   |  (66,67,68,69,70) |
| 15   |  (71,72,73,74,75) |
| 16   |  (76,77,78,79,80) |
| 17   |  (81,82,83,84,85) |
| 18   |  (86,87,88,89,90) |
| 1    |       (1,2,3,4,5) |
| 2    |      (6,7,8,9,10) |
| 3    |  (11,12,13,14,15) |
| 4    |  (16,17,18,19,20) |
| 5    |  (21,22,23,24,25) |
| 6    |  (26,27,28,29,30) |
| 7    |  (31,32,33,34,35) |
| 8    |  (36,37,38,39,40) |
| 19   |  (91,92,93,94,95) |
| 20   | (96,97,98,99,100) |
+------+-------------------+
test/clt-tests/mysqldump/mysql/mcl-only-multi64.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [02:18.559] [23] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [02:18.559] [23] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-only/multi64.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_only_multi64 limit -1'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-only/multi64-batch-1.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_only_multi64'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-only/multi64-batch-2.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_only_multi64'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-only/multi64-batch-3.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush table mcl_only_multi64'
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_only_multi64 limit 20'
––– output –––
+------+--------------------------------------------------------+
| id   | value                                                  |
+------+--------------------------------------------------------+
|   20 | 1000000096,1000000097,1000000098,1000000099,1000000100 |
|   19 | 1000000091,1000000092,1000000093,1000000094,1000000095 |
|    9 | 1000000041,1000000042,1000000043,1000000044,1000000045 |
|    1 | 1000000001,1000000002,1000000003,1000000004,1000000005 |
|    2 | 1000000006,1000000007,1000000008,1000000009,1000000010 |
|   10 | 1000000046,1000000047,1000000048,1000000049,1000000050 |
|    3 | 1000000011,1000000012,1000000013,1000000014,1000000015 |
|   11 | 1000000051,1000000052,1000000053,1000000054,1000000055 |
|    4 | 1000000016,1000000017,1000000018,1000000019,1000000020 |
|   12 | 1000000056,1000000057,1000000058,1000000059,1000000060 |
|   13 | 1000000061,1000000062,1000000063,1000000064,1000000065 |
|    5 | 1000000021,1000000022,1000000023,1000000024,1000000025 |
|   14 | 1000000066,1000000067,1000000068,1000000069,1000000070 |
|    6 | 1000000026,1000000027,1000000028,1000000029,1000000030 |
|   15 | 1000000071,1000000072,1000000073,1000000074,1000000075 |
|    7 | 1000000031,1000000032,1000000033,1000000034,1000000035 |
|   16 | 1000000076,1000000077,1000000078,1000000079,1000000080 |
|    8 | 1000000036,1000000037,1000000038,1000000039,1000000040 |
|   17 | 1000000081,1000000082,1000000083,1000000084,1000000085 |
|   18 | 1000000086,1000000087,1000000088,1000000089,1000000090 |
+------+--------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_only_multi64 limit -1'
––– output –––
+------+----------------------------------------------------------+
| id   | value                                                    |
+------+----------------------------------------------------------+
| 9    | (1000000041,1000000042,1000000043,1000000044,1000000045) |
| 10   | (1000000046,1000000047,1000000048,1000000049,1000000050) |
| 11   | (1000000051,1000000052,1000000053,1000000054,1000000055) |
| 12   | (1000000056,1000000057,1000000058,1000000059,1000000060) |
| 13   | (1000000061,1000000062,1000000063,1000000064,1000000065) |
| 14   | (1000000066,1000000067,1000000068,1000000069,1000000070) |
| 15   | (1000000071,1000000072,1000000073,1000000074,1000000075) |
| 16   | (1000000076,1000000077,1000000078,1000000079,1000000080) |
| 17   | (1000000081,1000000082,1000000083,1000000084,1000000085) |
| 18   | (1000000086,1000000087,1000000088,1000000089,1000000090) |
| 1    | (1000000001,1000000002,1000000003,1000000004,1000000005) |
| 2    | (1000000006,1000000007,1000000008,1000000009,1000000010) |
| 3    | (1000000011,1000000012,1000000013,1000000014,1000000015) |
| 4    | (1000000016,1000000017,1000000018,1000000019,1000000020) |
| 5    | (1000000021,1000000022,1000000023,1000000024,1000000025) |
| 6    | (1000000026,1000000027,1000000028,1000000029,1000000030) |
| 7    | (1000000031,1000000032,1000000033,1000000034,1000000035) |
| 8    | (1000000036,1000000037,1000000038,1000000039,1000000040) |
| 19   | (1000000091,1000000092,1000000093,1000000094,1000000095) |
| 20   | (1000000096,1000000097,1000000098,1000000099,1000000100) |
+------+----------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select /*!40001 SQL_NO_CACHE */ * from mcl_only_multi64'
––– output –––
+------+----------------------------------------------------------+
| id   | value                                                    |
+------+----------------------------------------------------------+
| 9    | (1000000041,1000000042,1000000043,1000000044,1000000045) |
| 10   | (1000000046,1000000047,1000000048,1000000049,1000000050) |
| 11   | (1000000051,1000000052,1000000053,1000000054,1000000055) |
| 12   | (1000000056,1000000057,1000000058,1000000059,1000000060) |
| 13   | (1000000061,1000000062,1000000063,1000000064,1000000065) |
| 14   | (1000000066,1000000067,1000000068,1000000069,1000000070) |
| 15   | (1000000071,1000000072,1000000073,1000000074,1000000075) |
| 16   | (1000000076,1000000077,1000000078,1000000079,1000000080) |
| 17   | (1000000081,1000000082,1000000083,1000000084,1000000085) |
| 18   | (1000000086,1000000087,1000000088,1000000089,1000000090) |
| 1    | (1000000001,1000000002,1000000003,1000000004,1000000005) |
| 2    | (1000000006,1000000007,1000000008,1000000009,1000000010) |
| 3    | (1000000011,1000000012,1000000013,1000000014,1000000015) |
| 4    | (1000000016,1000000017,1000000018,1000000019,1000000020) |
| 5    | (1000000021,1000000022,1000000023,1000000024,1000000025) |
| 6    | (1000000026,1000000027,1000000028,1000000029,1000000030) |
| 7    | (1000000031,1000000032,1000000033,1000000034,1000000035) |
| 8    | (1000000036,1000000037,1000000038,1000000039,1000000040) |
| 19   | (1000000091,1000000092,1000000093,1000000094,1000000095) |
| 20   | (1000000096,1000000097,1000000098,1000000099,1000000100) |
+------+----------------------------------------------------------+
test/clt-tests/mysqldump/mysql/no-mcl-multi64.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [02:21.571] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [02:21.571] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/no-mcl/multi64.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from no_mcl_multi64 limit -1'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/no-mcl/multi64-batch-1.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk no_mcl_multi64'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/no-mcl/multi64-batch-2.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk no_mcl_multi64'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/no-mcl/multi64-batch-3.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush table no_mcl_multi64'
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from no_mcl_multi64 limit 20'
––– output –––
+------+--------------------------------------------------------+
| id   | value                                                  |
+------+--------------------------------------------------------+
|   20 | 1000000096,1000000097,1000000098,1000000099,1000000100 |
|   19 | 1000000091,1000000092,1000000093,1000000094,1000000095 |
|    9 | 1000000041,1000000042,1000000043,1000000044,1000000045 |
|    1 | 1000000001,1000000002,1000000003,1000000004,1000000005 |
|    2 | 1000000006,1000000007,1000000008,1000000009,1000000010 |
|   10 | 1000000046,1000000047,1000000048,1000000049,1000000050 |
|    3 | 1000000011,1000000012,1000000013,1000000014,1000000015 |
|   11 | 1000000051,1000000052,1000000053,1000000054,1000000055 |
|    4 | 1000000016,1000000017,1000000018,1000000019,1000000020 |
|   12 | 1000000056,1000000057,1000000058,1000000059,1000000060 |
|   13 | 1000000061,1000000062,1000000063,1000000064,1000000065 |
|    5 | 1000000021,1000000022,1000000023,1000000024,1000000025 |
|   14 | 1000000066,1000000067,1000000068,1000000069,1000000070 |
|    6 | 1000000026,1000000027,1000000028,1000000029,1000000030 |
|   15 | 1000000071,1000000072,1000000073,1000000074,1000000075 |
|    7 | 1000000031,1000000032,1000000033,1000000034,1000000035 |
|   16 | 1000000076,1000000077,1000000078,1000000079,1000000080 |
|    8 | 1000000036,1000000037,1000000038,1000000039,1000000040 |
|   17 | 1000000081,1000000082,1000000083,1000000084,1000000085 |
|   18 | 1000000086,1000000087,1000000088,1000000089,1000000090 |
+------+--------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select * from no_mcl_multi64 limit -1'
––– output –––
+------+----------------------------------------------------------+
| id   | value                                                    |
+------+----------------------------------------------------------+
| 9    | (1000000041,1000000042,1000000043,1000000044,1000000045) |
| 10   | (1000000046,1000000047,1000000048,1000000049,1000000050) |
| 11   | (1000000051,1000000052,1000000053,1000000054,1000000055) |
| 12   | (1000000056,1000000057,1000000058,1000000059,1000000060) |
| 13   | (1000000061,1000000062,1000000063,1000000064,1000000065) |
| 14   | (1000000066,1000000067,1000000068,1000000069,1000000070) |
| 15   | (1000000071,1000000072,1000000073,1000000074,1000000075) |
| 16   | (1000000076,1000000077,1000000078,1000000079,1000000080) |
| 17   | (1000000081,1000000082,1000000083,1000000084,1000000085) |
| 18   | (1000000086,1000000087,1000000088,1000000089,1000000090) |
| 1    | (1000000001,1000000002,1000000003,1000000004,1000000005) |
| 2    | (1000000006,1000000007,1000000008,1000000009,1000000010) |
| 3    | (1000000011,1000000012,1000000013,1000000014,1000000015) |
| 4    | (1000000016,1000000017,1000000018,1000000019,1000000020) |
| 5    | (1000000021,1000000022,1000000023,1000000024,1000000025) |
| 6    | (1000000026,1000000027,1000000028,1000000029,1000000030) |
| 7    | (1000000031,1000000032,1000000033,1000000034,1000000035) |
| 8    | (1000000036,1000000037,1000000038,1000000039,1000000040) |
| 19   | (1000000091,1000000092,1000000093,1000000094,1000000095) |
| 20   | (1000000096,1000000097,1000000098,1000000099,1000000100) |
+------+----------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select /*!40001 SQL_NO_CACHE */ * from no_mcl_multi64'
––– output –––
+------+----------------------------------------------------------+
| id   | value                                                    |
+------+----------------------------------------------------------+
| 9    | (1000000041,1000000042,1000000043,1000000044,1000000045) |
| 10   | (1000000046,1000000047,1000000048,1000000049,1000000050) |
| 11   | (1000000051,1000000052,1000000053,1000000054,1000000055) |
| 12   | (1000000056,1000000057,1000000058,1000000059,1000000060) |
| 13   | (1000000061,1000000062,1000000063,1000000064,1000000065) |
| 14   | (1000000066,1000000067,1000000068,1000000069,1000000070) |
| 15   | (1000000071,1000000072,1000000073,1000000074,1000000075) |
| 16   | (1000000076,1000000077,1000000078,1000000079,1000000080) |
| 17   | (1000000081,1000000082,1000000083,1000000084,1000000085) |
| 18   | (1000000086,1000000087,1000000088,1000000089,1000000090) |
| 1    | (1000000001,1000000002,1000000003,1000000004,1000000005) |
| 2    | (1000000006,1000000007,1000000008,1000000009,1000000010) |
| 3    | (1000000011,1000000012,1000000013,1000000014,1000000015) |
| 4    | (1000000016,1000000017,1000000018,1000000019,1000000020) |
| 5    | (1000000021,1000000022,1000000023,1000000024,1000000025) |
| 6    | (1000000026,1000000027,1000000028,1000000029,1000000030) |
| 7    | (1000000031,1000000032,1000000033,1000000034,1000000035) |
| 8    | (1000000036,1000000037,1000000038,1000000039,1000000040) |
| 19   | (1000000091,1000000092,1000000093,1000000094,1000000095) |
| 20   | (1000000096,1000000097,1000000098,1000000099,1000000100) |
+------+----------------------------------------------------------+
test/clt-tests/mysqldump/mysql/mcl-all-multi.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [02:11.476] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [02:11.476] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-all/multi.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_all_multi limit -1'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-all/multi-batch-1.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_all_multi'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-all/multi-batch-2.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_all_multi'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-all/multi-batch-3.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush table mcl_all_multi'
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_all_multi limit 20'
––– output –––
+------+-----------------+
| id   | value           |
+------+-----------------+
|   20 | 96,97,98,99,100 |
|   19 | 91,92,93,94,95  |
|    9 | 41,42,43,44,45  |
|    1 | 1,2,3,4,5       |
|    2 | 6,7,8,9,10      |
|   10 | 46,47,48,49,50  |
|    3 | 11,12,13,14,15  |
|   11 | 51,52,53,54,55  |
|    4 | 16,17,18,19,20  |
|   12 | 56,57,58,59,60  |
|   13 | 61,62,63,64,65  |
|    5 | 21,22,23,24,25  |
|   14 | 66,67,68,69,70  |
|    6 | 26,27,28,29,30  |
|   15 | 71,72,73,74,75  |
|    7 | 31,32,33,34,35  |
|   16 | 76,77,78,79,80  |
|    8 | 36,37,38,39,40  |
|   17 | 81,82,83,84,85  |
|   18 | 86,87,88,89,90  |
+------+-----------------+
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_all_multi limit -1'
––– output –––
+------+-------------------+
| id   | value             |
+------+-------------------+
| 9    |  (41,42,43,44,45) |
| 10   |  (46,47,48,49,50) |
| 11   |  (51,52,53,54,55) |
| 12   |  (56,57,58,59,60) |
| 13   |  (61,62,63,64,65) |
| 14   |  (66,67,68,69,70) |
| 15   |  (71,72,73,74,75) |
| 16   |  (76,77,78,79,80) |
| 17   |  (81,82,83,84,85) |
| 18   |  (86,87,88,89,90) |
| 1    |       (1,2,3,4,5) |
| 2    |      (6,7,8,9,10) |
| 3    |  (11,12,13,14,15) |
| 4    |  (16,17,18,19,20) |
| 5    |  (21,22,23,24,25) |
| 6    |  (26,27,28,29,30) |
| 7    |  (31,32,33,34,35) |
| 8    |  (36,37,38,39,40) |
| 19   |  (91,92,93,94,95) |
| 20   | (96,97,98,99,100) |
+------+-------------------+
––– input –––
mysql -h0 -P9306 -e 'select /*!40001 SQL_NO_CACHE */ * from mcl_all_multi'
––– output –––
+------+-------------------+
| id   | value             |
+------+-------------------+
| 9    |  (41,42,43,44,45) |
| 10   |  (46,47,48,49,50) |
| 11   |  (51,52,53,54,55) |
| 12   |  (56,57,58,59,60) |
| 13   |  (61,62,63,64,65) |
| 14   |  (66,67,68,69,70) |
| 15   |  (71,72,73,74,75) |
| 16   |  (76,77,78,79,80) |
| 17   |  (81,82,83,84,85) |
| 18   |  (86,87,88,89,90) |
| 1    |       (1,2,3,4,5) |
| 2    |      (6,7,8,9,10) |
| 3    |  (11,12,13,14,15) |
| 4    |  (16,17,18,19,20) |
| 5    |  (21,22,23,24,25) |
| 6    |  (26,27,28,29,30) |
| 7    |  (31,32,33,34,35) |
| 8    |  (36,37,38,39,40) |
| 19   |  (91,92,93,94,95) |
| 20   | (96,97,98,99,100) |
+------+-------------------+
test/clt-tests/mysqldump/mysql/pq-table-mysqldump.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [02:22.544] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [02:22.544] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -P9306 -h0 -e "create table pq(f text) type='percolate'"
––– output –––
––– input –––
mysql -P9306 -h0 -e "insert into pq(id, query) values(1, '@f abc'),(2, 'def')"
––– output –––
––– input –––
mysql -P9306 -h0 -e "select * from pq"
––– output –––
+------+--------+------+---------+
| id   | query  | tags | filters |
+------+--------+------+---------+
|    2 | def    |      |         |
|    1 | @f abc |      |         |
+------+--------+------+---------+
––– input –––
mysqldump -h0 -P9306 manticore 2>/dev/null 1> /tmp/pq-dump.sql
––– output –––
––– input –––
mysql -P9306 -h0 -e 'drop table pq'
––– output –––
––– input –––
mysql -P9306 -h0 -e 'show tables'
––– output –––
––– input –––
mysql -h0 -P9306 manticore < /tmp/pq-dump.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from pq;'
––– output –––
+------+--------+------+---------+
| id   | query  | tags | filters |
+------+--------+------+---------+
|    2 | def    |      |         |
|    1 | @f abc |      |         |
+------+--------+------+---------+
test/clt-tests/mysqldump/mysql/mcl-id-multi64.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [02:15.544] [23] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [02:15.544] [23] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-id/multi64.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_id_multi64 limit -1'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-id/multi64-batch-1.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_id_multi64'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-id/multi64-batch-2.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_id_multi64'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-id/multi64-batch-3.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush table mcl_id_multi64'
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_id_multi64 limit 20'
––– output –––
+------+--------------------------------------------------------+
| id   | value                                                  |
+------+--------------------------------------------------------+
|   20 | 1000000096,1000000097,1000000098,1000000099,1000000100 |
|   19 | 1000000091,1000000092,1000000093,1000000094,1000000095 |
|    9 | 1000000041,1000000042,1000000043,1000000044,1000000045 |
|    1 | 1000000001,1000000002,1000000003,1000000004,1000000005 |
|    2 | 1000000006,1000000007,1000000008,1000000009,1000000010 |
|   10 | 1000000046,1000000047,1000000048,1000000049,1000000050 |
|    3 | 1000000011,1000000012,1000000013,1000000014,1000000015 |
|   11 | 1000000051,1000000052,1000000053,1000000054,1000000055 |
|    4 | 1000000016,1000000017,1000000018,1000000019,1000000020 |
|   12 | 1000000056,1000000057,1000000058,1000000059,1000000060 |
|   13 | 1000000061,1000000062,1000000063,1000000064,1000000065 |
|    5 | 1000000021,1000000022,1000000023,1000000024,1000000025 |
|   14 | 1000000066,1000000067,1000000068,1000000069,1000000070 |
|    6 | 1000000026,1000000027,1000000028,1000000029,1000000030 |
|   15 | 1000000071,1000000072,1000000073,1000000074,1000000075 |
|    7 | 1000000031,1000000032,1000000033,1000000034,1000000035 |
|   16 | 1000000076,1000000077,1000000078,1000000079,1000000080 |
|    8 | 1000000036,1000000037,1000000038,1000000039,1000000040 |
|   17 | 1000000081,1000000082,1000000083,1000000084,1000000085 |
|   18 | 1000000086,1000000087,1000000088,1000000089,1000000090 |
+------+--------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_id_multi64 limit -1'
––– output –––
+------+----------------------------------------------------------+
| id   | value                                                    |
+------+----------------------------------------------------------+
| 9    | (1000000041,1000000042,1000000043,1000000044,1000000045) |
| 10   | (1000000046,1000000047,1000000048,1000000049,1000000050) |
| 11   | (1000000051,1000000052,1000000053,1000000054,1000000055) |
| 12   | (1000000056,1000000057,1000000058,1000000059,1000000060) |
| 13   | (1000000061,1000000062,1000000063,1000000064,1000000065) |
| 14   | (1000000066,1000000067,1000000068,1000000069,1000000070) |
| 15   | (1000000071,1000000072,1000000073,1000000074,1000000075) |
| 16   | (1000000076,1000000077,1000000078,1000000079,1000000080) |
| 17   | (1000000081,1000000082,1000000083,1000000084,1000000085) |
| 18   | (1000000086,1000000087,1000000088,1000000089,1000000090) |
| 1    | (1000000001,1000000002,1000000003,1000000004,1000000005) |
| 2    | (1000000006,1000000007,1000000008,1000000009,1000000010) |
| 3    | (1000000011,1000000012,1000000013,1000000014,1000000015) |
| 4    | (1000000016,1000000017,1000000018,1000000019,1000000020) |
| 5    | (1000000021,1000000022,1000000023,1000000024,1000000025) |
| 6    | (1000000026,1000000027,1000000028,1000000029,1000000030) |
| 7    | (1000000031,1000000032,1000000033,1000000034,1000000035) |
| 8    | (1000000036,1000000037,1000000038,1000000039,1000000040) |
| 19   | (1000000091,1000000092,1000000093,1000000094,1000000095) |
| 20   | (1000000096,1000000097,1000000098,1000000099,1000000100) |
+------+----------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select /*!40001 SQL_NO_CACHE */ * from mcl_id_multi64'
––– output –––
+------+----------------------------------------------------------+
| id   | value                                                    |
+------+----------------------------------------------------------+
| 9    | (1000000041,1000000042,1000000043,1000000044,1000000045) |
| 10   | (1000000046,1000000047,1000000048,1000000049,1000000050) |
| 11   | (1000000051,1000000052,1000000053,1000000054,1000000055) |
| 12   | (1000000056,1000000057,1000000058,1000000059,1000000060) |
| 13   | (1000000061,1000000062,1000000063,1000000064,1000000065) |
| 14   | (1000000066,1000000067,1000000068,1000000069,1000000070) |
| 15   | (1000000071,1000000072,1000000073,1000000074,1000000075) |
| 16   | (1000000076,1000000077,1000000078,1000000079,1000000080) |
| 17   | (1000000081,1000000082,1000000083,1000000084,1000000085) |
| 18   | (1000000086,1000000087,1000000088,1000000089,1000000090) |
| 1    | (1000000001,1000000002,1000000003,1000000004,1000000005) |
| 2    | (1000000006,1000000007,1000000008,1000000009,1000000010) |
| 3    | (1000000011,1000000012,1000000013,1000000014,1000000015) |
| 4    | (1000000016,1000000017,1000000018,1000000019,1000000020) |
| 5    | (1000000021,1000000022,1000000023,1000000024,1000000025) |
| 6    | (1000000026,1000000027,1000000028,1000000029,1000000030) |
| 7    | (1000000031,1000000032,1000000033,1000000034,1000000035) |
| 8    | (1000000036,1000000037,1000000038,1000000039,1000000040) |
| 19   | (1000000091,1000000092,1000000093,1000000094,1000000095) |
| 20   | (1000000096,1000000097,1000000098,1000000099,1000000100) |
+------+----------------------------------------------------------+
test/clt-tests/mysqldump/mysql/mcl-id-json.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [02:13.537] [23] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [02:13.537] [23] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-id/json.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_id_json limit -1'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-id/json-batch-1.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_id_json'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-id/json-batch-2.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_id_json'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-id/json-batch-3.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush table mcl_id_json'
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_id_json limit 20'
––– output –––
+------+---------------------------------------------------------------------------------------------+
| id   | value                                                                                       |
+------+---------------------------------------------------------------------------------------------+
|   20 | {"computer":"MacBook Pro","manufacturer":"Apple","year":2021,"OS":"macOS"}                  |
|   19 | {"element":"Hydrogen","symbol":"H","atomic_number":1,"state":"Gas"}                         |
|    9 | {"song":"Bohemian Rhapsody","artist":"Queen","year":1975,"genre":"Rock"}                    |
|    1 | {"key1":"value1","key2":"value2","key3":"value3","key4":"value4"}                           |
|    2 | {"name":"John","age":30,"city":"New York","occupation":"Engineer"}                          |
|   10 | {"company":"OpenAI","founded":2015,"location":"San Francisco","CEO":"Sam Altman"}           |
|    3 | {"animal":"dog","color":"brown","age":5,"breed":"Labrador"}                                 |
|   11 | {"planet":"Mars","distance_from_sun":227.900000,"orbital_period":687,"number_of_moons":2}   |
|    4 | {"subject":"Math","score":95,"passed":true,"comments":"Excellent"}                          |
|   12 | {"country":"Australia","continent":"Australia","capital":"Canberra","population":25.360000} |
|   13 | {"language":"Spanish","speakers":460,"origin":"Spain","script":"Latin"}                     |
|    5 | {"book":"The Great Gatsby","author":"F. Scott Fitzgerald","year":1925,"genre":"Novel"}      |
|   14 | {"dish":"Sushi","origin":"Japan","ingredients":["Rice","Fish","Seaweed"],"type":"Seafood"}  |
|    6 | {"movie":"Inception","director":"Christopher Nolan","year":2010,"genre":"Sci-fi"}           |
|   15 | {"game":"Chess","origin":"India","players":2,"type":"Board game"}                           |
|    7 | {"fruit":"Apple","color":"Red","origin":"USA","taste":"Sweet"}                              |
|   16 | {"painting":"Mona Lisa","artist":"Leonardo da Vinci","year":1503,"museum":"Louvre"}         |
|    8 | {"car":"Tesla Model S","manufacturer":"Tesla","year":2022,"type":"Electric"}                |
|   17 | {"sport":"Soccer","origin":"England","players":11,"ball":"Round"}                           |
|   18 | {"flower":"Rose","color":"Red","symbol":"Love","origin":"Asia"}                             |
+------+---------------------------------------------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_id_json limit -1'
––– output –––
+------+---------------------------------------------------------------------------------------------+
| id   | value                                                                                       |
+------+---------------------------------------------------------------------------------------------+
| 9    |                    {"song":"Bohemian Rhapsody","artist":"Queen","year":1975,"genre":"Rock"} |
| 10   |           {"company":"OpenAI","founded":2015,"location":"San Francisco","CEO":"Sam Altman"} |
| 11   |   {"planet":"Mars","distance_from_sun":227.900000,"orbital_period":687,"number_of_moons":2} |
| 12   | {"country":"Australia","continent":"Australia","capital":"Canberra","population":25.360000} |
| 13   |                     {"language":"Spanish","speakers":460,"origin":"Spain","script":"Latin"} |
| 14   |  {"dish":"Sushi","origin":"Japan","ingredients":["Rice","Fish","Seaweed"],"type":"Seafood"} |
| 15   |                           {"game":"Chess","origin":"India","players":2,"type":"Board game"} |
| 16   |         {"painting":"Mona Lisa","artist":"Leonardo da Vinci","year":1503,"museum":"Louvre"} |
| 17   |                           {"sport":"Soccer","origin":"England","players":11,"ball":"Round"} |
| 18   |                             {"flower":"Rose","color":"Red","symbol":"Love","origin":"Asia"} |
| 1    |                           {"key1":"value1","key2":"value2","key3":"value3","key4":"value4"} |
| 2    |                          {"name":"John","age":30,"city":"New York","occupation":"Engineer"} |
| 3    |                                 {"animal":"dog","color":"brown","age":5,"breed":"Labrador"} |
| 4    |                          {"subject":"Math","score":95,"passed":true,"comments":"Excellent"} |
| 5    |      {"book":"The Great Gatsby","author":"F. Scott Fitzgerald","year":1925,"genre":"Novel"} |
| 6    |           {"movie":"Inception","director":"Christopher Nolan","year":2010,"genre":"Sci-fi"} |
| 7    |                              {"fruit":"Apple","color":"Red","origin":"USA","taste":"Sweet"} |
| 8    |                {"car":"Tesla Model S","manufacturer":"Tesla","year":2022,"type":"Electric"} |
| 19   |                         {"element":"Hydrogen","symbol":"H","atomic_number":1,"state":"Gas"} |
| 20   |                  {"computer":"MacBook Pro","manufacturer":"Apple","year":2021,"OS":"macOS"} |
+------+---------------------------------------------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select /*!40001 SQL_NO_CACHE */ * from mcl_id_json'
––– output –––
+------+---------------------------------------------------------------------------------------------+
| id   | value                                                                                       |
+------+---------------------------------------------------------------------------------------------+
| 9    |                    {"song":"Bohemian Rhapsody","artist":"Queen","year":1975,"genre":"Rock"} |
| 10   |           {"company":"OpenAI","founded":2015,"location":"San Francisco","CEO":"Sam Altman"} |
| 11   |   {"planet":"Mars","distance_from_sun":227.900000,"orbital_period":687,"number_of_moons":2} |
| 12   | {"country":"Australia","continent":"Australia","capital":"Canberra","population":25.360000} |
| 13   |                     {"language":"Spanish","speakers":460,"origin":"Spain","script":"Latin"} |
| 14   |  {"dish":"Sushi","origin":"Japan","ingredients":["Rice","Fish","Seaweed"],"type":"Seafood"} |
| 15   |                           {"game":"Chess","origin":"India","players":2,"type":"Board game"} |
| 16   |         {"painting":"Mona Lisa","artist":"Leonardo da Vinci","year":1503,"museum":"Louvre"} |
| 17   |                           {"sport":"Soccer","origin":"England","players":11,"ball":"Round"} |
| 18   |                             {"flower":"Rose","color":"Red","symbol":"Love","origin":"Asia"} |
| 1    |                           {"key1":"value1","key2":"value2","key3":"value3","key4":"value4"} |
| 2    |                          {"name":"John","age":30,"city":"New York","occupation":"Engineer"} |
| 3    |                                 {"animal":"dog","color":"brown","age":5,"breed":"Labrador"} |
| 4    |                          {"subject":"Math","score":95,"passed":true,"comments":"Excellent"} |
| 5    |      {"book":"The Great Gatsby","author":"F. Scott Fitzgerald","year":1925,"genre":"Novel"} |
| 6    |           {"movie":"Inception","director":"Christopher Nolan","year":2010,"genre":"Sci-fi"} |
| 7    |                              {"fruit":"Apple","color":"Red","origin":"USA","taste":"Sweet"} |
| 8    |                {"car":"Tesla Model S","manufacturer":"Tesla","year":2022,"type":"Electric"} |
| 19   |                         {"element":"Hydrogen","symbol":"H","atomic_number":1,"state":"Gas"} |
| 20   |                  {"computer":"MacBook Pro","manufacturer":"Apple","year":2021,"OS":"macOS"} |
+------+---------------------------------------------------------------------------------------------+
test/clt-tests/mysqldump/mysql/no-mcl-json.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [02:19.565] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [02:19.565] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/no-mcl/json.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from no_mcl_json limit -1'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/no-mcl/json-batch-1.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk no_mcl_json'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/no-mcl/json-batch-2.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk no_mcl_json'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/no-mcl/json-batch-3.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush table no_mcl_json'
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from no_mcl_json limit 20'
––– output –––
+------+---------------------------------------------------------------------------------------------+
| id   | value                                                                                       |
+------+---------------------------------------------------------------------------------------------+
|   20 | {"computer":"MacBook Pro","manufacturer":"Apple","year":2021,"OS":"macOS"}                  |
|   19 | {"element":"Hydrogen","symbol":"H","atomic_number":1,"state":"Gas"}                         |
|    9 | {"song":"Bohemian Rhapsody","artist":"Queen","year":1975,"genre":"Rock"}                    |
|    1 | {"key1":"value1","key2":"value2","key3":"value3","key4":"value4"}                           |
|    2 | {"name":"John","age":30,"city":"New York","occupation":"Engineer"}                          |
|   10 | {"company":"OpenAI","founded":2015,"location":"San Francisco","CEO":"Sam Altman"}           |
|    3 | {"animal":"dog","color":"brown","age":5,"breed":"Labrador"}                                 |
|   11 | {"planet":"Mars","distance_from_sun":227.900000,"orbital_period":687,"number_of_moons":2}   |
|    4 | {"subject":"Math","score":95,"passed":true,"comments":"Excellent"}                          |
|   12 | {"country":"Australia","continent":"Australia","capital":"Canberra","population":25.360000} |
|   13 | {"language":"Spanish","speakers":460,"origin":"Spain","script":"Latin"}                     |
|    5 | {"book":"The Great Gatsby","author":"F. Scott Fitzgerald","year":1925,"genre":"Novel"}      |
|   14 | {"dish":"Sushi","origin":"Japan","ingredients":["Rice","Fish","Seaweed"],"type":"Seafood"}  |
|    6 | {"movie":"Inception","director":"Christopher Nolan","year":2010,"genre":"Sci-fi"}           |
|   15 | {"game":"Chess","origin":"India","players":2,"type":"Board game"}                           |
|    7 | {"fruit":"Apple","color":"Red","origin":"USA","taste":"Sweet"}                              |
|   16 | {"painting":"Mona Lisa","artist":"Leonardo da Vinci","year":1503,"museum":"Louvre"}         |
|    8 | {"car":"Tesla Model S","manufacturer":"Tesla","year":2022,"type":"Electric"}                |
|   17 | {"sport":"Soccer","origin":"England","players":11,"ball":"Round"}                           |
|   18 | {"flower":"Rose","color":"Red","symbol":"Love","origin":"Asia"}                             |
+------+---------------------------------------------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select * from no_mcl_json limit -1'
––– output –––
+------+---------------------------------------------------------------------------------------------+
| id   | value                                                                                       |
+------+---------------------------------------------------------------------------------------------+
| 9    |                    {"song":"Bohemian Rhapsody","artist":"Queen","year":1975,"genre":"Rock"} |
| 10   |           {"company":"OpenAI","founded":2015,"location":"San Francisco","CEO":"Sam Altman"} |
| 11   |   {"planet":"Mars","distance_from_sun":227.900000,"orbital_period":687,"number_of_moons":2} |
| 12   | {"country":"Australia","continent":"Australia","capital":"Canberra","population":25.360000} |
| 13   |                     {"language":"Spanish","speakers":460,"origin":"Spain","script":"Latin"} |
| 14   |  {"dish":"Sushi","origin":"Japan","ingredients":["Rice","Fish","Seaweed"],"type":"Seafood"} |
| 15   |                           {"game":"Chess","origin":"India","players":2,"type":"Board game"} |
| 16   |         {"painting":"Mona Lisa","artist":"Leonardo da Vinci","year":1503,"museum":"Louvre"} |
| 17   |                           {"sport":"Soccer","origin":"England","players":11,"ball":"Round"} |
| 18   |                             {"flower":"Rose","color":"Red","symbol":"Love","origin":"Asia"} |
| 1    |                           {"key1":"value1","key2":"value2","key3":"value3","key4":"value4"} |
| 2    |                          {"name":"John","age":30,"city":"New York","occupation":"Engineer"} |
| 3    |                                 {"animal":"dog","color":"brown","age":5,"breed":"Labrador"} |
| 4    |                          {"subject":"Math","score":95,"passed":true,"comments":"Excellent"} |
| 5    |      {"book":"The Great Gatsby","author":"F. Scott Fitzgerald","year":1925,"genre":"Novel"} |
| 6    |           {"movie":"Inception","director":"Christopher Nolan","year":2010,"genre":"Sci-fi"} |
| 7    |                              {"fruit":"Apple","color":"Red","origin":"USA","taste":"Sweet"} |
| 8    |                {"car":"Tesla Model S","manufacturer":"Tesla","year":2022,"type":"Electric"} |
| 19   |                         {"element":"Hydrogen","symbol":"H","atomic_number":1,"state":"Gas"} |
| 20   |                  {"computer":"MacBook Pro","manufacturer":"Apple","year":2021,"OS":"macOS"} |
+------+---------------------------------------------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select /*!40001 SQL_NO_CACHE */ * from no_mcl_json'
––– output –––
+------+---------------------------------------------------------------------------------------------+
| id   | value                                                                                       |
+------+---------------------------------------------------------------------------------------------+
| 9    |                    {"song":"Bohemian Rhapsody","artist":"Queen","year":1975,"genre":"Rock"} |
| 10   |           {"company":"OpenAI","founded":2015,"location":"San Francisco","CEO":"Sam Altman"} |
| 11   |   {"planet":"Mars","distance_from_sun":227.900000,"orbital_period":687,"number_of_moons":2} |
| 12   | {"country":"Australia","continent":"Australia","capital":"Canberra","population":25.360000} |
| 13   |                     {"language":"Spanish","speakers":460,"origin":"Spain","script":"Latin"} |
| 14   |  {"dish":"Sushi","origin":"Japan","ingredients":["Rice","Fish","Seaweed"],"type":"Seafood"} |
| 15   |                           {"game":"Chess","origin":"India","players":2,"type":"Board game"} |
| 16   |         {"painting":"Mona Lisa","artist":"Leonardo da Vinci","year":1503,"museum":"Louvre"} |
| 17   |                           {"sport":"Soccer","origin":"England","players":11,"ball":"Round"} |
| 18   |                             {"flower":"Rose","color":"Red","symbol":"Love","origin":"Asia"} |
| 1    |                           {"key1":"value1","key2":"value2","key3":"value3","key4":"value4"} |
| 2    |                          {"name":"John","age":30,"city":"New York","occupation":"Engineer"} |
| 3    |                                 {"animal":"dog","color":"brown","age":5,"breed":"Labrador"} |
| 4    |                          {"subject":"Math","score":95,"passed":true,"comments":"Excellent"} |
| 5    |      {"book":"The Great Gatsby","author":"F. Scott Fitzgerald","year":1925,"genre":"Novel"} |
| 6    |           {"movie":"Inception","director":"Christopher Nolan","year":2010,"genre":"Sci-fi"} |
| 7    |                              {"fruit":"Apple","color":"Red","origin":"USA","taste":"Sweet"} |
| 8    |                {"car":"Tesla Model S","manufacturer":"Tesla","year":2022,"type":"Electric"} |
| 19   |                         {"element":"Hydrogen","symbol":"H","atomic_number":1,"state":"Gas"} |
| 20   |                  {"computer":"MacBook Pro","manufacturer":"Apple","year":2021,"OS":"macOS"} |
+------+---------------------------------------------------------------------------------------------+
test/clt-tests/mysqldump/mysql/mcl-all-json.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [02:09.908] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [02:09.908] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-all/json.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_all_json limit -1'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-all/json-batch-1.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_all_json'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-all/json-batch-2.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_all_json'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-all/json-batch-3.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush table mcl_all_json'
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_all_json limit 20'
––– output –––
+------+---------------------------------------------------------------------------------------------+
| id   | value                                                                                       |
+------+---------------------------------------------------------------------------------------------+
|   20 | {"computer":"MacBook Pro","manufacturer":"Apple","year":2021,"OS":"macOS"}                  |
|   19 | {"element":"Hydrogen","symbol":"H","atomic_number":1,"state":"Gas"}                         |
|    9 | {"song":"Bohemian Rhapsody","artist":"Queen","year":1975,"genre":"Rock"}                    |
|    1 | {"key1":"value1","key2":"value2","key3":"value3","key4":"value4"}                           |
|    2 | {"name":"John","age":30,"city":"New York","occupation":"Engineer"}                          |
|   10 | {"company":"OpenAI","founded":2015,"location":"San Francisco","CEO":"Sam Altman"}           |
|    3 | {"animal":"dog","color":"brown","age":5,"breed":"Labrador"}                                 |
|   11 | {"planet":"Mars","distance_from_sun":227.900000,"orbital_period":687,"number_of_moons":2}   |
|    4 | {"subject":"Math","score":95,"passed":true,"comments":"Excellent"}                          |
|   12 | {"country":"Australia","continent":"Australia","capital":"Canberra","population":25.360000} |
|   13 | {"language":"Spanish","speakers":460,"origin":"Spain","script":"Latin"}                     |
|    5 | {"book":"The Great Gatsby","author":"F. Scott Fitzgerald","year":1925,"genre":"Novel"}      |
|   14 | {"dish":"Sushi","origin":"Japan","ingredients":["Rice","Fish","Seaweed"],"type":"Seafood"}  |
|    6 | {"movie":"Inception","director":"Christopher Nolan","year":2010,"genre":"Sci-fi"}           |
|   15 | {"game":"Chess","origin":"India","players":2,"type":"Board game"}                           |
|    7 | {"fruit":"Apple","color":"Red","origin":"USA","taste":"Sweet"}                              |
|   16 | {"painting":"Mona Lisa","artist":"Leonardo da Vinci","year":1503,"museum":"Louvre"}         |
|    8 | {"car":"Tesla Model S","manufacturer":"Tesla","year":2022,"type":"Electric"}                |
|   17 | {"sport":"Soccer","origin":"England","players":11,"ball":"Round"}                           |
|   18 | {"flower":"Rose","color":"Red","symbol":"Love","origin":"Asia"}                             |
+------+---------------------------------------------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_all_json limit -1'
––– output –––
+------+---------------------------------------------------------------------------------------------+
| id   | value                                                                                       |
+------+---------------------------------------------------------------------------------------------+
| 9    |                    {"song":"Bohemian Rhapsody","artist":"Queen","year":1975,"genre":"Rock"} |
| 10   |           {"company":"OpenAI","founded":2015,"location":"San Francisco","CEO":"Sam Altman"} |
| 11   |   {"planet":"Mars","distance_from_sun":227.900000,"orbital_period":687,"number_of_moons":2} |
| 12   | {"country":"Australia","continent":"Australia","capital":"Canberra","population":25.360000} |
| 13   |                     {"language":"Spanish","speakers":460,"origin":"Spain","script":"Latin"} |
| 14   |  {"dish":"Sushi","origin":"Japan","ingredients":["Rice","Fish","Seaweed"],"type":"Seafood"} |
| 15   |                           {"game":"Chess","origin":"India","players":2,"type":"Board game"} |
| 16   |         {"painting":"Mona Lisa","artist":"Leonardo da Vinci","year":1503,"museum":"Louvre"} |
| 17   |                           {"sport":"Soccer","origin":"England","players":11,"ball":"Round"} |
| 18   |                             {"flower":"Rose","color":"Red","symbol":"Love","origin":"Asia"} |
| 1    |                           {"key1":"value1","key2":"value2","key3":"value3","key4":"value4"} |
| 2    |                          {"name":"John","age":30,"city":"New York","occupation":"Engineer"} |
| 3    |                                 {"animal":"dog","color":"brown","age":5,"breed":"Labrador"} |
| 4    |                          {"subject":"Math","score":95,"passed":true,"comments":"Excellent"} |
| 5    |      {"book":"The Great Gatsby","author":"F. Scott Fitzgerald","year":1925,"genre":"Novel"} |
| 6    |           {"movie":"Inception","director":"Christopher Nolan","year":2010,"genre":"Sci-fi"} |
| 7    |                              {"fruit":"Apple","color":"Red","origin":"USA","taste":"Sweet"} |
| 8    |                {"car":"Tesla Model S","manufacturer":"Tesla","year":2022,"type":"Electric"} |
| 19   |                         {"element":"Hydrogen","symbol":"H","atomic_number":1,"state":"Gas"} |
| 20   |                  {"computer":"MacBook Pro","manufacturer":"Apple","year":2021,"OS":"macOS"} |
+------+---------------------------------------------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select /*!40001 SQL_NO_CACHE */ * from mcl_all_json'
––– output –––
+------+---------------------------------------------------------------------------------------------+
| id   | value                                                                                       |
+------+---------------------------------------------------------------------------------------------+
| 9    |                    {"song":"Bohemian Rhapsody","artist":"Queen","year":1975,"genre":"Rock"} |
| 10   |           {"company":"OpenAI","founded":2015,"location":"San Francisco","CEO":"Sam Altman"} |
| 11   |   {"planet":"Mars","distance_from_sun":227.900000,"orbital_period":687,"number_of_moons":2} |
| 12   | {"country":"Australia","continent":"Australia","capital":"Canberra","population":25.360000} |
| 13   |                     {"language":"Spanish","speakers":460,"origin":"Spain","script":"Latin"} |
| 14   |  {"dish":"Sushi","origin":"Japan","ingredients":["Rice","Fish","Seaweed"],"type":"Seafood"} |
| 15   |                           {"game":"Chess","origin":"India","players":2,"type":"Board game"} |
| 16   |         {"painting":"Mona Lisa","artist":"Leonardo da Vinci","year":1503,"museum":"Louvre"} |
| 17   |                           {"sport":"Soccer","origin":"England","players":11,"ball":"Round"} |
| 18   |                             {"flower":"Rose","color":"Red","symbol":"Love","origin":"Asia"} |
| 1    |                           {"key1":"value1","key2":"value2","key3":"value3","key4":"value4"} |
| 2    |                          {"name":"John","age":30,"city":"New York","occupation":"Engineer"} |
| 3    |                                 {"animal":"dog","color":"brown","age":5,"breed":"Labrador"} |
| 4    |                          {"subject":"Math","score":95,"passed":true,"comments":"Excellent"} |
| 5    |      {"book":"The Great Gatsby","author":"F. Scott Fitzgerald","year":1925,"genre":"Novel"} |
| 6    |           {"movie":"Inception","director":"Christopher Nolan","year":2010,"genre":"Sci-fi"} |
| 7    |                              {"fruit":"Apple","color":"Red","origin":"USA","taste":"Sweet"} |
| 8    |                {"car":"Tesla Model S","manufacturer":"Tesla","year":2022,"type":"Electric"} |
| 19   |                         {"element":"Hydrogen","symbol":"H","atomic_number":1,"state":"Gas"} |
| 20   |                  {"computer":"MacBook Pro","manufacturer":"Apple","year":2021,"OS":"macOS"} |
+------+---------------------------------------------------------------------------------------------+

Copy link

clt

👎 CLT tests in test/clt-tests/logstash/logstash-
✅ OK: 0
❌ Failed: 1
⏳ Duration: 80s
👉 Check Action Results for commit cae2d0a
Failed tests:

test/clt-tests/logstash/logstash-dev.rec
––– input –––
set -b
––– output –––
––– input –––
export PATH=/usr/bin:/usr/local/bin:/usr/sbin:/sbin:/bin
––– output –––
––– input –––
apt-get update > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get -y install gnupg2 openjdk-8-jre-headless curl jq > /dev/null; echo $?
––– output –––
debconf: delaying package configuration, since apt-utils is not installed
0
––– input –––
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | gpg --dearmor -o /usr/share/keyrings/elastic-keyring.gpg
––– output –––
––– input –––
echo "deb [signed-by=/usr/share/keyrings/elastic-keyring.gpg] https://artifacts.elastic.co/packages/8.x/apt stable main" | tee -a /etc/apt/sources.list.d/elastic-8.x.list
––– output –––
deb [signed-by=/usr/share/keyrings/elastic-keyring.gpg] https://artifacts.elastic.co/packages/8.x/apt stable main
––– input –––
mkdir /usr/share/logstash && cd $_
––– output –––
––– input –––
wget -q https://artifacts.elastic.co/downloads/logstash/logstash-7.10.0-linux-x86_64.tar.gz
––– output –––
––– input –––
tar -xvzf logstash-7.10.0-linux-x86_64.tar.gz > /dev/null; echo $?
––– output –––
0
––– input –––
mkdir /usr/share/filebeat && cd /usr/share/filebeat
––– output –––
––– input –––
wget -q https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-8.11.0-linux-x86_64.tar.gz
––– output –––
––– input –––
tar -xvzf filebeat-8.11.0-linux-x86_64.tar.gz > /dev/null; echo $?
––– output –––
0
––– input –––
cd /usr/local/src
––– output –––
––– input –––
ln -s /usr/share/logstash/logstash-7.10.0/bin/logstash /usr/bin/logstash
––– output –––
––– input –––
ln -s /usr/share/filebeat/filebeat-8.11.0-linux-x86_64/filebeat /usr/bin/filebeat
––– output –––
––– input –––
manticore-executor -v
––– output –––
PHP %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} #!/[0-9]{2}:[0-9]{2}:[0-9]{2}/!#) (#!/[NZ]/!#TS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
searchd
––– output –––
- Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [02:30.171] [1952] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} #!/[a-z0-9]{7,9}@[0-9]{8}/!# dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [02:30.171] [1952] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
+ listening on 127.0.0.1:9308 for sphinx and http(s)
––– input –––
printf 'input {\n    file {\n        path => ["/var/log/dpkg.log"]\n        start_position => "beginning"\n        sincedb_path => "/dev/null"\n        mode => "read"\n        exit_after_read => "true"\n        file_completed_action => "log"\n        file_completed_log_path => "/dev/null"\n    }\n}\n\noutput {\n    elasticsearch {\n        index => "testlog_1"\n        hosts => ["http://localhost:9308"]\n        ilm_enabled => false\n        manage_template => false\n    }\n}\n' > logstash.conf
––– output –––
––– input –––
timeout 60 logstash -f logstash.conf 2>/dev/null 1>/var/log/logstash.log && echo 'Done' || echo 'Timeout or failed'
––– output –––
Done
––– input –––
curl -s localhost:9308/cli_json -d 'describe testlog_1' | jq -cM '.[].data | sort_by(.Field)'
––– output –––
[{"Field":"@timestamp","Type":"timestamp","Properties":""},{"Field":"@version","Type":"text","Properties":"indexed stored"},{"Field":"host","Type":"text","Properties":"indexed stored"},{"Field":"id","Type":"bigint","Properties":""},{"Field":"message","Type":"text","Properties":"indexed stored"},{"Field":"path","Type":"text","Properties":"indexed stored"}]
––– input –––
printf 'filebeat.inputs:\n- type: filestream\n  id: testlog\n  paths:\n    - /var/log/dpkg.log\n\noutput.elasticsearch:\n  hosts: ["http://localhost:9308"]\n  index:  "testlog_2"\n  allow_older_versions: true\n  compression_level: 0\n\nsetup.ilm:\n  enabled: false\n\nsetup.template:\n  name: "testlog_2"\n  pattern: "testlog_2"\n\nseccomp:\n  default_action: allow\n  syscalls:\n  - action: allow\n    names:\n    - rseq' > filebeat.yml
––– output –––
––– input –––
filebeat -c filebeat.yml -strict.perms=false -e 2>/var/log/filebeat.log & pid=$!
––– output –––
[1] #!/[0-9]+/!#
––– input –––
if timeout 60 grep -qm1 'Non-zero metrics in the last 30s' <(tail -n 0 -f /var/log/filebeat.log); then echo 'Done'; else echo 'Timeout or failed'; cat /var/log/filebeat.log; cat /var/log/manticore/searchd.log; fi
––– output –––
Done
––– input –––
kill ${pid}
––– output –––
––– input –––
wait 2>&1 >/dev/null
––– output –––
[1]+  Done                    filebeat -c filebeat.yml -strict.perms=false -e 2> /var/log/filebeat.log
––– input –––
curl -s localhost:9308/cli_json -d 'describe testlog_2' | jq -cM '.[].data | sort_by(.Field)'
––– output –––
[{"Field":"@timestamp","Type":"timestamp","Properties":""},{"Field":"agent","Type":"json","Properties":""},{"Field":"ecs","Type":"json","Properties":""},{"Field":"host","Type":"json","Properties":""},{"Field":"id","Type":"bigint","Properties":""},{"Field":"input","Type":"json","Properties":""},{"Field":"log","Type":"json","Properties":""},{"Field":"message","Type":"text","Properties":"indexed stored"}]

Copy link

clt

👎 CLT tests in test/clt-tests/replication/
✅ OK: 0
❌ Failed: 1
⏳ Duration: 39s
👉 Check Action Results for commit cae2d0a
Failed tests:

test/clt-tests/replication/replication-test.rec
––– input –––
export INSTANCE=1
––– output –––
––– input –––
mkdir -p /var/{run,lib,log}/manticore-${INSTANCE}/{a,b,c,d,e,f,g,h,i,j}
––– output –––
––– input –––
stdbuf -oL searchd -c test/clt-tests/base/searchd-with-flexible-ports.conf | grep -v precach
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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 '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (%{NUMBER} chars)...
+ [Tue May 14 22:03:02.492 2024] [21] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [Tue May 14 22:03:02.494 2024] [21] using config file '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (383 chars)...
- listening on all interfaces for mysql, port=%{NUMBER}
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for mysql, port=1306
listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for sphinx and http(s), port=1308
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore-${INSTANCE}/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
export INSTANCE=2
––– output –––
––– input –––
mkdir -p /var/{run,lib,log}/manticore-${INSTANCE}/{a,b,c,d,e,f,g,h,i,j}
––– output –––
––– input –––
stdbuf -oL searchd -c test/clt-tests/base/searchd-with-flexible-ports.conf | grep -v precach
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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 '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (%{NUMBER} chars)...
+ [Tue May 14 22:03:02.619 2024] [54] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [Tue May 14 22:03:02.621 2024] [54] using config file '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (383 chars)...
- listening on all interfaces for mysql, port=%{NUMBER}
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for mysql, port=2306
listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for sphinx and http(s), port=2308
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore-${INSTANCE}/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
export INSTANCE=3
––– output –––
––– input –––
mkdir -p /var/{run,lib,log}/manticore-${INSTANCE}/{a,b,c,d,e,f,g,h,i,j}
––– output –––
––– input –––
stdbuf -oL searchd -c test/clt-tests/base/searchd-with-flexible-ports.conf | grep -v precach
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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 '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (%{NUMBER} chars)...
+ [Tue May 14 22:03:02.745 2024] [87] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [Tue May 14 22:03:02.747 2024] [87] using config file '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (383 chars)...
- listening on all interfaces for mysql, port=%{NUMBER}
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for mysql, port=3306
listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for sphinx and http(s), port=3308
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore-${INSTANCE}/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
export INSTANCE=4
––– output –––
––– input –––
mkdir -p /var/{run,lib,log}/manticore-${INSTANCE}/{a,b,c,d,e,f,g,h,i,j}
––– output –––
––– input –––
stdbuf -oL searchd -c test/clt-tests/base/searchd-with-flexible-ports.conf | grep -v precach
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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 '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (%{NUMBER} chars)...
+ [Tue May 14 22:03:02.873 2024] [120] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [Tue May 14 22:03:02.875 2024] [120] using config file '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (383 chars)...
- listening on all interfaces for mysql, port=%{NUMBER}
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for mysql, port=4306
listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for sphinx and http(s), port=4308
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore-${INSTANCE}/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
export INSTANCE=5
––– output –––
––– input –––
mkdir -p /var/{run,lib,log}/manticore-${INSTANCE}/{a,b,c,d,e,f,g,h,i,j}
––– output –––
––– input –––
stdbuf -oL searchd -c test/clt-tests/base/searchd-with-flexible-ports.conf | grep -v precach
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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 '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (%{NUMBER} chars)...
+ [Tue May 14 22:03:03.000 2024] [153] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [Tue May 14 22:03:03.002 2024] [153] using config file '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (383 chars)...
- listening on all interfaces for mysql, port=%{NUMBER}
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for mysql, port=5306
listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for sphinx and http(s), port=5308
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore-${INSTANCE}/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
export CLUSTER_NAME=replication
––– output –––
––– input –––
mysql -h0 -P1306 -e "create cluster ${CLUSTER_NAME}"
––– output –––
––– input –––
mysql -h0 -P1306 -e "show status like 'cluster_${CLUSTER_NAME}_status'\G"
––– output –––
*************************** 1. row ***************************
Counter: cluster_#!/[a-z]+/!#_status
Value: primary
––– input –––
export CLUSTER_NAME=replication
––– output –––
––– input –––
for n in `seq 2 $INSTANCE`; do mysql -h0 -P${n}306 -e "join cluster ${CLUSTER_NAME} at '127.0.0.1:1312'"; done;
––– output –––
––– input –––
mysql -h0 -P${INSTANCE}306 -e "show status like 'cluster_${CLUSTER_NAME}_status'\G"
––– output –––
*************************** 1. row ***************************
Counter: cluster_#!/[a-z]+/!#_status
Value: primary
––– input –––
mysql -h0 -P1306 -e "CREATE TABLE testrt (title text, content text, gid uint);" && mysql -h0 -P1306 -e "INSERT INTO testrt VALUES(6775836565403860993,'List of HP business laptops','Elitebook Probook',1);" && mysql -h0 -P1306 -e "INSERT INTO testrt VALUES(6775836565403860994,'List of Dell business laptops','Latitude Precision Vostro',2);" && mysql -h0 -P1306 -e "ALTER CLUSTER replication ADD testrt;" && mysql -h0 -P1306 -e "SHOW STATUS LIKE 'cluster_replication_indexes';"
––– output –––
+-----------------------------+--------+
| Counter                     | Value  |
+-----------------------------+--------+
| cluster_replication_indexes | testrt |
+-----------------------------+--------+
––– input –––
mysql -h0 -P1306 -e "SELECT * FROM testrt ORDER BY id ASC\G"
––– output –––
*************************** 1. row ***************************
id: 6775836565403860993
title: List of HP business laptops
content: Elitebook Probook
gid: 1
*************************** 2. row ***************************
id: 6775836565403860994
title: List of Dell business laptops
content: Latitude Precision Vostro
gid: 2
––– input –––
export INSTANCE=5
––– output –––
––– input –––
searchd --stopwait -c test/clt-tests/base/searchd-with-flexible-ports.conf
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
+ [03:07.800] [224] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [03:07.802] [224] using config file '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (383 chars)...
+ [03:07.803] [224] stop: successfully sent SIGTERM to pid 159
––– input –––
mysql -h0 -P1306 -e "INSERT INTO replication:testrt VALUES(6775836565403860995,'List of HP business laptops','Macbook',3);"; echo $?
––– output –––
0
––– input –––
export INSTANCE=5
––– output –––
––– input –––
mkdir -p /var/{run,lib,log}/manticore-${INSTANCE}/{a,b,c,d,e,f,g,h,i,j}
––– output –––
––– input –––
stdbuf -oL searchd -c test/clt-tests/base/searchd-with-flexible-ports.conf | grep -v precach
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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 '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (%{NUMBER} chars)...
+ [Tue May 14 22:03:09.093 2024] [229] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [Tue May 14 22:03:09.095 2024] [229] using config file '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (383 chars)...
- listening on all interfaces for mysql, port=%{NUMBER}
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for mysql, port=5306
listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for sphinx and http(s), port=5308
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore-${INSTANCE}/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
sleep 5; mysql -h0 -P5306 -e "SELECT * FROM testrt ORDER BY id ASC\G"
––– output –––
*************************** 1. row ***************************
id: 6775836565403860993
title: List of HP business laptops
content: Elitebook Probook
gid: 1
*************************** 2. row ***************************
id: 6775836565403860994
title: List of Dell business laptops
content: Latitude Precision Vostro
gid: 2
*************************** 3. row ***************************
id: 6775836565403860995
title: List of HP business laptops
content: Macbook
gid: 3
––– input –––
export INSTANCE=2
––– output –––
––– input –––
searchd --stopwait -c test/clt-tests/base/searchd-with-flexible-ports.conf
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
+ [03:14.226] [270] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [03:14.228] [270] using config file '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (383 chars)...
+ [03:14.229] [270] stop: successfully sent SIGTERM to pid 60
––– input –––
mysql -h0 -P3306 -e "INSERT INTO replication:testrt VALUES(6775836565403860996,'NEW','TABLE',4);"; echo $?
––– output –––
0
––– input –––
mkdir -p /var/{run,lib,log}/manticore-${INSTANCE}/{a,b,c,d,e,f,g,h,i,j}
––– output –––
––– input –––
stdbuf -oL searchd -c test/clt-tests/base/searchd-with-flexible-ports.conf | grep -v precach
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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 '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (%{NUMBER} chars)...
+ [Tue May 14 22:03:14.765 2024] [275] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [Tue May 14 22:03:14.767 2024] [275] using config file '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (383 chars)...
- listening on all interfaces for mysql, port=%{NUMBER}
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for mysql, port=2306
listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for sphinx and http(s), port=2308
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore-${INSTANCE}/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
sleep 5;mysql -h0 -P2306 -e "SELECT * FROM testrt ORDER BY id ASC\G"
––– output –––
*************************** 1. row ***************************
id: 6775836565403860993
title: List of HP business laptops
content: Elitebook Probook
gid: 1
*************************** 2. row ***************************
id: 6775836565403860994
title: List of Dell business laptops
content: Latitude Precision Vostro
gid: 2
*************************** 3. row ***************************
id: 6775836565403860995
title: List of HP business laptops
content: Macbook
gid: 3
*************************** 4. row ***************************
id: 6775836565403860996
title: NEW
content: TABLE
gid: 4
––– input –––
mysql -h0 -P3306 -e "SELECT * FROM testrt ORDER BY id ASC\G"
––– output –––
*************************** 1. row ***************************
id: 6775836565403860993
title: List of HP business laptops
content: Elitebook Probook
gid: 1
*************************** 2. row ***************************
id: 6775836565403860994
title: List of Dell business laptops
content: Latitude Precision Vostro
gid: 2
*************************** 3. row ***************************
id: 6775836565403860995
title: List of HP business laptops
content: Macbook
gid: 3
*************************** 4. row ***************************
id: 6775836565403860996
title: NEW
content: TABLE
gid: 4
––– input –––
mysql -h0 -P4306 -e "SELECT * FROM testrt ORDER BY id ASC\G"
––– output –––
*************************** 1. row ***************************
id: 6775836565403860993
title: List of HP business laptops
content: Elitebook Probook
gid: 1
*************************** 2. row ***************************
id: 6775836565403860994
title: List of Dell business laptops
content: Latitude Precision Vostro
gid: 2
*************************** 3. row ***************************
id: 6775836565403860995
title: List of HP business laptops
content: Macbook
gid: 3
*************************** 4. row ***************************
id: 6775836565403860996
title: NEW
content: TABLE
gid: 4
––– input –––
mysql -h0 -P5306 -e "SELECT * FROM testrt ORDER BY id ASC\G"
––– output –––
*************************** 1. row ***************************
id: 6775836565403860993
title: List of HP business laptops
content: Elitebook Probook
gid: 1
*************************** 2. row ***************************
id: 6775836565403860994
title: List of Dell business laptops
content: Latitude Precision Vostro
gid: 2
*************************** 3. row ***************************
id: 6775836565403860995
title: List of HP business laptops
content: Macbook
gid: 3
*************************** 4. row ***************************
id: 6775836565403860996
title: NEW
content: TABLE
gid: 4
––– input –––
export INSTANCE=4
––– output –––
––– input –––
searchd --stopwait -c test/clt-tests/base/searchd-with-flexible-ports.conf
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
+ [03:19.932] [319] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [03:19.934] [319] using config file '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (383 chars)...
+ [03:19.935] [319] stop: successfully sent SIGTERM to pid 126
––– input –––
sleep 5;mysql -h0 -P2306 -e "DELETE FROM replication:testrt WHERE id = 6775836565403860994"; echo $?
––– output –––
0
––– input –––
mysql -h0 -P2306 -e "SELECT * FROM testrt ORDER BY id ASC" > /tmp/output_2306.txt;
––– output –––
––– input –––
export INSTANCE=4
––– output –––
––– input –––
mkdir -p /var/{run,lib,log}/manticore-${INSTANCE}/{a,b,c,d,e,f,g,h,i,j}
––– output –––
––– input –––
stdbuf -oL searchd -c test/clt-tests/base/searchd-with-flexible-ports.conf | grep -v precach
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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 '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (%{NUMBER} chars)...
+ [Tue May 14 22:03:26.027 2024] [326] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [Tue May 14 22:03:26.029 2024] [326] using config file '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (383 chars)...
- listening on all interfaces for mysql, port=%{NUMBER}
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for mysql, port=4306
listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for sphinx and http(s), port=4308
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore-${INSTANCE}/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
sleep 5;mysql -h0 -P1306 -e "SELECT * FROM testrt ORDER BY id ASC" > /tmp/output_1306.txt;
––– output –––
––– input –––
mysql -h0 -P3306 -e "SELECT * FROM testrt ORDER BY id ASC" > /tmp/output_3306.txt;
––– output –––
––– input –––
mysql -h0 -P4306 -e "SELECT * FROM testrt ORDER BY id ASC" > /tmp/output_4306.txt;
––– output –––
––– input –––
mysql -h0 -P5306 -e "SELECT * FROM testrt ORDER BY id ASC" > /tmp/output_5306.txt;
––– output –––
––– input –––
diff /tmp/output_1306.txt /tmp/output_2306.txt; echo $?
––– output –––
0
––– input –––
diff /tmp/output_1306.txt /tmp/output_3306.txt; echo $?
––– output –––
0
––– input –––
diff /tmp/output_1306.txt /tmp/output_4306.txt; echo $?
––– output –––
0
––– input –––
diff /tmp/output_1306.txt /tmp/output_5306.txt; echo $?
––– output –––
0

Copy link

clt

👎 CLT tests in test/clt-tests/core/ test/clt-tests/expected-errors/
✅ OK: 1
❌ Failed: 7
⏳ Duration: 237s
👉 Check Action Results for commit cae2d0a
Failed tests:

test/clt-tests/core/test-unfreeze-defrosts.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [05:05.737] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [05:05.737] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
set -b +m
––– output –––
––– input –––
mysql -h0 -P9306 -e "drop table if exists t; create table t(f text, s string) rt_mem_limit='128k'; insert into t values(0,'abc','string'); freeze t;" > /dev/null 2>&1
––– output –––
––– input –––
for n in `seq 1 100`; do mysql -h0 -P9306 -e "insert into t values(0, 'abc', 'string string string stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring string');"; done &
––– output –––
[1] %{NUMBER}
––– input –––
sleep 10; mysql -h0 -P9306 -e "select count(*) from t\G"
––– output –––
*************************** 1. row ***************************
count(*): #!/55|56|57|58|59/!#
––– input –––
mysql -h0 -P9306 -e "unfreeze t;"
––– output –––
––– input –––
sleep 10; mysql -h0 -P9306 -e "select count(*) from t\G"
––– output –––
*************************** 1. row ***************************
count(*): 101
––– input –––
mysql -h0 -P9306 -e "drop table if exists t; create table t(f text, s string) rt_mem_limit='128k'; insert into t values(0,'abc','string'); freeze t; freeze t; freeze t;" > /dev/null 2>&1
––– output –––
––– input –––
for n in `seq 1 100`; do mysql -h0 -P9306 -e "insert into t values(0, 'abc', 'string string string stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring string');"; done &
––– output –––
[1] %{NUMBER}
––– input –––
sleep 10; mysql -h0 -P9306 -e "select count(*) from t\G"
––– output –––
*************************** 1. row ***************************
count(*): #!/55|56|57|58|59/!#
––– input –––
mysql -h0 -P9306 -e "unfreeze t; unfreeze t; unfreeze t;"
––– output –––
––– input –––
sleep 10; mysql -h0 -P9306 -e "select count(*) from t\G"
––– output –––
*************************** 1. row ***************************
count(*): 101
––– input –––
mysql -h0 -P9306 -e "DROP TABLE IF EXISTS orders; CREATE TABLE orders (id bigint, user_id bigint, name text, description text, price float, order_date timestamp, attr json, region_id int, confirm bool, analogs multi); INSERT INTO orders (id, user_id, name, description, price, order_date, attr, region_id, confirm, analogs) VALUES (0, 1, 'Macbook', '16', 3500.99, 1614258732, '{\"color\":\"titan\",\"size\":16}', 22, 'TRUE', (8,4,16)) rt_mem_limit='64k'; freeze orders;" > /dev/null 2>&1
––– output –––
––– input –––
for n in `seq 1 500`; do mysql -h0 -P9306 -e "INSERT INTO orders (id, user_id, name, description, price, order_date, attr, region_id, confirm, analogs) VALUES (0, 1, 'iPhone', '14Pro', 1500.50, 1708866233, '{\"color\":\"black\",\"size\":14}', 178, 'TRUE', (9,11,15)), (0, 2, 'Macbook', '16', 3500.99, 1614258732, '{\"color\":\"titan\",\"size\":16}', 22, 'TRUE', (8,4,16)), (0, 3, 'iPad', '15Pro', 2600, 1708866234, '{\"color\":\"gold\",\"size\":15}', 178, 'TRUE', (9,11,15)), (0, 4, 'iPhone', '12Mini', 900.50, 1708866235, '{\"color\":\"blue\",\"size\":12}', 179, 'TRUE', (1,5,17)), (0, 5, 'Samsung Galaxy', 'S21', 1000, 1708866236, '{\"color\":\"white\",\"size\":14}', 180, 'FALSE', (13,19,21)), (0, 6, 'Dell Laptop', 'Latitude', 2000, 1708866237, '{\"color\":\"silver\",\"size\":15}', 181, 'TRUE', (4,6,23)), (0, 7, 'Headphones', 'Bluetooth', 100, 1708866238, '{\"color\":\"black\",\"size\":\"M\"}', 182, 'TRUE', (5,7,25)), (0, 8, 'Desk', 'Wooden', 400, 1708866239, '{\"color\":\"brown\",\"size\":\"XL\"}', 183, 'TRUE', (8,9,27)), (0, 9, 'Refrigerator', 'Samsung', 1500, 1708866240, '{\"color\":\"white\",\"size\":60}', 184, 'FALSE', (10,11,29)), (0, 10, 'Smartwatch', 'Fitbit', 300, 1708866241, '{\"color\":\"black\",\"size\":\"S\"}', 185, 'TRUE', (12,13,31)), (0, 11, 'Printer', 'Epson', 250, 1708866242, '{\"color\":\"grey\",\"size\":\"L\"}', 186, 'TRUE', (14,15,33)), (0, 12, 'Chair', 'Office', 150, 1708866243, '{\"color\":\"black\",\"size\":\"M\"}', 187, 'FALSE', (16,17,35)), (0, 13, 'Smartphone', 'Xiaomi', 700, 1708866244, '{\"color\":\"blue\",\"size\":6}', 188, 'TRUE', (18,19,37)), (0, 14, 'Camera', 'Canon', 800, 1708866245, '{\"color\":\"black\",\"size\":\"M\"}', 189, 'TRUE', (20,21,39)), (0, 15, 'Backpack', 'Hiking', 100, 1708866246, '{\"color\":\"green\",\"size\":\"S\"}', 190, 'TRUE', (22,23,41)), (0, 16, 'Table', 'Coffee', 250, 1708866247, '{\"color\":\"brown\",\"size\":\"L\"}', 191, 'FALSE', (24,25,43)), (0, 17, 'Smart TV', 'LG', 1200, 1708866248, '{\"color\":\"silver\",\"size\":55}', 192, 'TRUE', (26,27,45)), (0, 18, 'Blender', 'Kitchen', 80, 1708866249, '{\"color\":\"white\",\"size\":\"M\"}', 193, 'TRUE', (28,29,47)), (0, 19, 'Keyboard', 'Logitech', 50, 1708866250, '{\"color\":\"black\",\"size\":\"L\"}', 194, 'TRUE', (30,31,49)), (0, 20, 'Monitor', 'Samsung', 400, 1708866251, '{\"color\":\"black\",\"size\":24}', 195, 'TRUE', (32,33,51));"; done &
––– output –––
[1] %{NUMBER}
––– input –––
sleep 1; mysql -h0 -P9306 -e "select count(*) from orders\G"
––– output –––
*************************** 1. row ***************************
count(*): #!/3\d{3}|4\d{3}/!#
––– input –––
sleep 5; mysql -h0 -P9306 -e "unfreeze orders;"
––– output –––
––– input –––
sleep 5; mysql -h0 -P9306 -e "select count(*) from orders\G"
––– output –––
*************************** 1. row ***************************
count(*): 10000
test/clt-tests/core/show-threads.rec
––– input –––
searchd --cpustats
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
+ [02:11.492] [20] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [02:11.492] [20] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
+ listening on 127.0.0.1:9308 for sphinx and http(s)
––– input –––
mysql -h0 -P9306 -e "SHOW THREADS\G;"
––– output –––
*************************** 1. row ***************************
TID: %{NUMBER}
Name: work_%{NUMBER}
Proto: mysql
State: query
Connection from: 127.0.0.1:%{NUMBER}
ConnID: %{NUMBER}
This/prev job time: %{NUMBER}#!/(s|ms|us)/!#
CPU activity: %{NUMBER}.%{NUMBER}%
Jobs done: %{NUMBER}
Thread status: working
Info: SHOW THREADS
test/clt-tests/core/show-settings.rec
––– input –––
export INSTANCE=1
––– output –––
––– input –––
mkdir -p /var/{run,lib,log}/manticore-${INSTANCE}/{a,b,c,d,e,f,g,h,i,j}
––– output –––
––– input –––
stdbuf -oL searchd -c test/clt-tests/base/searchd-with-flexible-ports.conf | grep -v precach
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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 '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (%{NUMBER} chars)...
+ [Tue May 14 22:02:09.825 2024] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [Tue May 14 22:02:09.827 2024] [22] using config file '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (383 chars)...
- listening on all interfaces for mysql, port=%{NUMBER}
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for mysql, port=1306
listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for sphinx and http(s), port=1308
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore-${INSTANCE}/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
mysql -h0 -P1306 -e "SHOW SETTINGS;"
––– output –––
+----------------------------+------------------------------------------------------------+
| Setting_name               | Value                                                      |
+----------------------------+------------------------------------------------------------+
| configuration_file         | /.clt/test/clt-tests/base/searchd-with-flexible-ports.conf |
| worker_pid                 | %{NUMBER}                                                         |
| searchd.listen             | 1306:mysql41                                               |
| searchd.listen             | 1312                                                       |
| searchd.listen             | 1308:http                                                  |
| searchd.log                | /var/log/manticore-1/searchd.log                           |
| searchd.query_log          | /var/log/manticore-1/query.log                             |
| searchd.pid_file           | /var/log/manticore-1/searchd.pid                           |
| searchd.data_dir           | /var/log/manticore-1                                       |
| searchd.query_log_format   | sphinxql                                                   |
| searchd.query_log_commands | 1                                                          |
| searchd.binlog_path        | /var/log/manticore-1/binlog                                |
| common.plugin_dir          | /usr/local/lib/manticore                                   |
| common.lemmatizer_base     | /usr/share/manticore/morph/                                |
+----------------------------+------------------------------------------------------------+
test/clt-tests/core/test-from-issue-1335.rec
––– input –––
searchd
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
+ [02:15.028] [21] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} #!/[a-z0-9]{7,9}@[0-9]{8}/!# dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [02:15.028] [21] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
+ listening on 127.0.0.1:9308 for sphinx and http(s)
––– input –––
php ./test/clt-tests/core/issue-1335-dump.php 10000 30 800000
––– output –––
finished inserting
%{NUMBER} docs per sec
––– input –––
mysql -h0 -P9306 -e "SELECT COUNT(*) FROM test\G;"
––– output –––
*************************** 1. row ***************************
count(*): %{NUMBER}
––– input –––
timeout 10 mysql -h0 -P9306 -e "select * from test where MATCH('@street walnut blvd') and country='US'\G;"
––– output –––
*************************** 1. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 2. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 3. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 4. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 5. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 6. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 7. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 8. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 9. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 10. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 11. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 12. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 13. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 14. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 15. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 16. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 17. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 18. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 19. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 20. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
test/clt-tests/core/test-alter-table.rec
––– input –––
rm -rf /var/lib/manticore
––– output –––
––– input –––
mkdir /tmp/test-alter/
––– output –––
––– input –––
ln -s /tmp/test-alter/ /var/lib/manticore
––– output –––
––– input –––
echo "a > b" > /tmp/test-alter/wordforms1.txt; echo "c > d" > /tmp/test-alter/exc.txt; echo "abcstop" > /tmp/test-alter/stop.txt
––– output –––
––– input –––
ls -1 /var/lib/manticore/
––– output –––
exc.txt
stop.txt
wordforms1.txt
––– input –––
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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [02:13.307] [24] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [02:13.307] [24] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Started
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Started
––– input –––
mysql -h0 -P9306 -e "CREATE TABLE test3 (title TEXT, tag INTEGER) exceptions='/var/lib/manticore/exc.txt' wordforms='/var/lib/manticore/wordforms1.txt' stopwords='/var/lib/manticore/stop.txt';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE test3 SETTINGS\G"
––– output –––
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /tmp/test-alter/test3/exc.txt
stopwords = /tmp/test-alter/test3/stop.txt
wordforms = /tmp/test-alter/test3/wordforms1.txt
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE test3 exceptions = ''"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE test3 SETTINGS\G"
––– output –––
*************************** 1. row ***************************
Variable_name: settings
Value: stopwords = /tmp/test-alter/test3/stop.txt
wordforms = /tmp/test-alter/test3/wordforms1.txt
test/clt-tests/core/test-replace-into.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [02:18.786] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [02:18.786] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– 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/core/generate-1mln-records.sh
––– output –––
––– input –––
./test/clt-tests/core/generate-1mln-records.sh
––– output –––
+-------+------+
| Index | 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 -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 –––
#!/[1-9]|1[0-2]/!#
––– 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
--------------
+-------+------+
| Index | 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
--------------
+-------+------+
| Index | 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/core/generate-1mln-records.sh
––– output –––
––– input –––
./test/clt-tests/core/generate-1mln-records.sh
––– output –––
+-------+------+
| Index | 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 -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 –––
#!/[1-9]|1[0-2]/!#
––– 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
--------------
+-------+------+
| Index | 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 |
+------+-----------------+------------------+--------------+--------------+------------+------------------+------+------------+---------------+-----------------------------------------+--------------------------------------------------------------------+-------------------------------------+
test/clt-tests/core/show-version.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [02:12.365] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [02:12.365] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 cae2d0a9e@24051421 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 -e "show version\G;"
––– output –––
*************************** 1. row ***************************
Component: Daemon
Version: %{SEMVER} %{COMMITDATE} dev
*************************** 2. row ***************************
Component: Columnar
Version: columnar %{SEMVER} %{COMMITDATE}
*************************** 3. row ***************************
- Component: Secondary
+ Component: KNN
- Version: secondary %{SEMVER} %{COMMITDATE}
+ Version: knn 2.2.5 478fff2@240417
*************************** 4. row ***************************
- Component: KNN
+ Component: Buddy
- Version: knn %{SEMVER} %{COMMITDATE}
+ Version: buddy v2.3.7
- *************************** 5. row ***************************
+
- Component: Buddy
- Version: buddy v%{SEMVER}
-

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/rhel-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 34s
👉 Check Action Results for commit d41d72c
Failed tests:

test/clt-tests/installation/rhel-dev-update.rec
––– input –––
yum install -y --skip-broken mariadb mariadb105 which > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q https://repo.manticoresearch.com/manticore-repo.noarch.rpm > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y procps > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
manticore-executor -v
––– output –––
PHP %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
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 –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– 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 –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– input –––
yum -y --enablerepo manticore-dev update manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-debuginfo manticore-tools-debuginfo manticore-columnar-lib-debuginfo  manticore-icudata manticore-galera > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
searchd --stop
––– output –––
- Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
+ [22:35.261] [319] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [22:35.262] [319] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
+ [22:35.263] [319] stop: successfully sent SIGTERM to pid 216
––– input –––
sleep 5; searchd | head -n 9
––– 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}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [Wed May 15 11:22:40.275 2024] [321] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Wed May 15 11:22:40.275 2024] [321] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [22:40.387] [348] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [22:40.387] [348] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
- [#!/[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)...
+ [22:40.388] [348] stop: successfully sent SIGTERM to pid 325
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Wed May 15 11:22:41.343 2024] [349] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ [Wed May 15 11:22:41.343 2024] [349] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- listening on %{IPADDR}:9306 for mysql
+ starting daemon version '6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)' ...
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ listening on 127.0.0.1:9306 for mysql
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ listening on 127.0.0.1:9308 for sphinx and http(s)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Buddy started!
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
- %{SEMVER}
+ May
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
- %{SEMVER}
+ [386]
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
- %{SEMVER}
+ initializing
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- %{SEMVER}
+ daemon
––– 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" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– 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: %{SEMVER}
+ Upgrade successful. New version searchd: May
––– 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: %{SEMVER}
+ Upgrade successful. New version columnar: [386]
––– 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: %{SEMVER}
+ Upgrade successful. New version secondary: initializing
––– 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: %{SEMVER}
+ Upgrade successful. New version knn: daemon
––– 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}/!#

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/rhel-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 35s
👉 Check Action Results for commit d41d72c
Failed tests:

test/clt-tests/installation/rhel-dev-update.rec
––– input –––
yum install -y --skip-broken mariadb mariadb105 which > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q https://repo.manticoresearch.com/manticore-repo.noarch.rpm > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y procps > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
manticore-executor -v
––– output –––
PHP %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
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 –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– 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 –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– input –––
yum -y --enablerepo manticore-dev update manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-debuginfo manticore-tools-debuginfo manticore-columnar-lib-debuginfo  manticore-icudata manticore-galera > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
searchd --stop
––– output –––
- Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
+ [22:37.527] [357] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [22:37.528] [357] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
+ [22:37.529] [357] stop: successfully sent SIGTERM to pid 251
––– input –––
sleep 5; searchd | head -n 9
––– 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}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [Wed May 15 11:22:42.541 2024] [359] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Wed May 15 11:22:42.541 2024] [359] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [22:42.655] [386] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [22:42.655] [386] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
- [#!/[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)...
+ [22:42.656] [386] stop: successfully sent SIGTERM to pid 363
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Wed May 15 11:22:43.613 2024] [387] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ [Wed May 15 11:22:43.613 2024] [387] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- listening on %{IPADDR}:9306 for mysql
+ starting daemon version '6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)' ...
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ listening on 127.0.0.1:9306 for mysql
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ listening on 127.0.0.1:9308 for sphinx and http(s)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Buddy started!
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
- %{SEMVER}
+ May
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
- %{SEMVER}
+ [425]
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
- %{SEMVER}
+ initializing
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- %{SEMVER}
+ daemon
––– 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" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– 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: %{SEMVER}
+ Upgrade successful. New version searchd: May
––– 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: %{SEMVER}
+ Upgrade successful. New version columnar: [425]
––– 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: %{SEMVER}
+ Upgrade successful. New version secondary: initializing
––– 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: %{SEMVER}
+ Upgrade successful. New version knn: daemon
––– 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}/!#

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/rhel-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 42s
👉 Check Action Results for commit d41d72c
Failed tests:

test/clt-tests/installation/rhel-dev-update.rec
––– input –––
yum install -y --skip-broken mariadb mariadb105 which > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q https://repo.manticoresearch.com/manticore-repo.noarch.rpm > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y procps > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
manticore-executor -v
––– output –––
PHP %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
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 –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– 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 –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– input –––
yum -y --enablerepo manticore-dev update manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-debuginfo manticore-tools-debuginfo manticore-columnar-lib-debuginfo  manticore-icudata manticore-galera > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
searchd --stop
––– output –––
- Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
+ [22:44.541] [351] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [22:44.542] [351] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
+ [22:44.543] [351] stop: successfully sent SIGTERM to pid 242
––– input –––
sleep 5; searchd | head -n 9
––– 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}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [Wed May 15 11:22:49.556 2024] [353] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Wed May 15 11:22:49.556 2024] [353] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [22:49.670] [380] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [22:49.670] [380] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
- [#!/[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)...
+ [22:49.671] [380] stop: successfully sent SIGTERM to pid 357
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Wed May 15 11:22:50.632 2024] [381] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ [Wed May 15 11:22:50.633 2024] [381] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- listening on %{IPADDR}:9306 for mysql
+ starting daemon version '6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)' ...
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ listening on 127.0.0.1:9306 for mysql
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ listening on 127.0.0.1:9308 for sphinx and http(s)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Buddy started!
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
- %{SEMVER}
+ May
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
- %{SEMVER}
+ [419]
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
- %{SEMVER}
+ initializing
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- %{SEMVER}
+ daemon
––– 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" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– 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: %{SEMVER}
+ Upgrade successful. New version searchd: May
––– 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: %{SEMVER}
+ Upgrade successful. New version columnar: [419]
––– 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: %{SEMVER}
+ Upgrade successful. New version secondary: initializing
––– 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: %{SEMVER}
+ Upgrade successful. New version knn: daemon
––– 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}/!#

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/rhel-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 49s
👉 Check Action Results for commit d41d72c
Failed tests:

test/clt-tests/installation/rhel-dev-update.rec
––– input –––
yum install -y --skip-broken mariadb mariadb105 which > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q https://repo.manticoresearch.com/manticore-repo.noarch.rpm > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y procps > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
manticore-executor -v
––– output –––
PHP %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
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 –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– 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 –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– input –––
yum -y --enablerepo manticore-dev update manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-debuginfo manticore-tools-debuginfo manticore-columnar-lib-debuginfo  manticore-icudata manticore-galera > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
searchd --stop
––– output –––
- Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
+ [22:49.459] [275] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [22:49.459] [275] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
+ [22:49.460] [275] stop: successfully sent SIGTERM to pid 180
––– input –––
sleep 5; searchd | head -n 9
––– 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}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [Wed May 15 11:22:54.474 2024] [277] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Wed May 15 11:22:54.474 2024] [277] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [22:54.674] [305] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [22:54.674] [305] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
- [#!/[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)...
+ [22:54.675] [305] stop: successfully sent SIGTERM to pid 281
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Wed May 15 11:22:55.544 2024] [306] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ [Wed May 15 11:22:55.544 2024] [306] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- listening on %{IPADDR}:9306 for mysql
+ starting daemon version '6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)' ...
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ listening on 127.0.0.1:9306 for mysql
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ listening on 127.0.0.1:9308 for sphinx and http(s)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Buddy started!
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
- %{SEMVER}
+ May
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
- %{SEMVER}
+ [346]
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
- %{SEMVER}
+ initializing
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- %{SEMVER}
+ daemon
––– 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" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– 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: %{SEMVER}
+ Upgrade successful. New version searchd: May
––– 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: %{SEMVER}
+ Upgrade successful. New version columnar: [346]
––– 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: %{SEMVER}
+ Upgrade successful. New version secondary: initializing
––– 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: %{SEMVER}
+ Upgrade successful. New version knn: daemon
––– 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}/!#

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/deb-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 53s
👉 Check Action Results for commit d41d72c
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 <support@manticoresearch.com>" 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 –––
searchd --version
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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 %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
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 –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– 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 –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– 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 <support@manticoresearch.com>" 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.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
debconf: delaying package configuration, since apt-utils is not installed
––– input –––
searchd --stop
––– output –––
- Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
+ [22:52.475] [4732] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [22:52.475] [4732] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
+ [22:52.476] [4732] stop: successfully sent SIGTERM to pid 4052
––– input –––
sleep 5; searchd | head -n 9
––– 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}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [Wed May 15 11:22:57.489 2024] [4734] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Wed May 15 11:22:57.489 2024] [4734] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [22:57.603] [4761] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [22:57.603] [4761] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- [#!/[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)...
+ [22:57.604] [4761] stop: successfully sent SIGTERM to pid 4738
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Wed May 15 11:22:58.568 2024] [4762] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ [Wed May 15 11:22:58.568 2024] [4762] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- listening on %{IPADDR}:9306 for mysql
+ starting daemon version '6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)' ...
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ listening on 127.0.0.1:9306 for mysql
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ listening on 127.0.0.1:9308 for sphinx and http(s)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Buddy started!
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
- %{SEMVER}
+ May
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
- %{SEMVER}
+ [4800]
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
- %{SEMVER}
+ initializing
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- %{SEMVER}
+ daemon
––– 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" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– 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: %{SEMVER}
+ Upgrade successful. New version searchd: May
––– 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: %{SEMVER}
+ Upgrade successful. New version columnar: [4800]
––– 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: %{SEMVER}
+ Upgrade successful. New version secondary: initializing
––– 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: %{SEMVER}
+ Upgrade successful. New version knn: daemon
––– 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}/!#

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/deb-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 53s
👉 Check Action Results for commit d41d72c
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 <support@manticoresearch.com>" 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 –––
searchd --version
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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 %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
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 –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– 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 –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– 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 <support@manticoresearch.com>" 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.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
debconf: delaying package configuration, since apt-utils is not installed
––– input –––
searchd --stop
––– output –––
- Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
+ [22:53.132] [4446] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [22:53.132] [4446] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
+ [22:53.133] [4446] stop: successfully sent SIGTERM to pid 3814
––– input –––
sleep 5; searchd | head -n 9
––– 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}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [Wed May 15 11:22:58.145 2024] [4448] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Wed May 15 11:22:58.145 2024] [4448] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [22:58.258] [4475] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [22:58.258] [4475] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- [#!/[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)...
+ [22:58.259] [4475] stop: successfully sent SIGTERM to pid 4452
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Wed May 15 11:22:59.218 2024] [4476] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ [Wed May 15 11:22:59.218 2024] [4476] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- listening on %{IPADDR}:9306 for mysql
+ starting daemon version '6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)' ...
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ listening on 127.0.0.1:9306 for mysql
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ listening on 127.0.0.1:9308 for sphinx and http(s)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Buddy started!
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
- %{SEMVER}
+ May
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
- %{SEMVER}
+ [4514]
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
- %{SEMVER}
+ initializing
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- %{SEMVER}
+ daemon
––– 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" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– 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: %{SEMVER}
+ Upgrade successful. New version searchd: May
––– 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: %{SEMVER}
+ Upgrade successful. New version columnar: [4514]
––– 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: %{SEMVER}
+ Upgrade successful. New version secondary: initializing
––– 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: %{SEMVER}
+ Upgrade successful. New version knn: daemon
––– 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}/!#

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/deb-dev-update
✅ OK: 0
❌ Failed: 1
⏳ Duration: 52s
👉 Check Action Results for commit d41d72c
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 <support@manticoresearch.com>" 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 –––
searchd --version
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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 %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
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 –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– 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 –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– 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 <support@manticoresearch.com>" 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.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
debconf: delaying package configuration, since apt-utils is not installed
––– input –––
searchd --stop
––– output –––
- Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
+ [22:53.898] [4374] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [22:53.898] [4374] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
+ [22:53.899] [4374] stop: successfully sent SIGTERM to pid 3897
––– input –––
sleep 5; searchd | head -n 9
––– 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}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [Wed May 15 11:22:58.911 2024] [4376] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Wed May 15 11:22:58.911 2024] [4376] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [22:59.024] [4403] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [22:59.024] [4403] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- [#!/[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)...
+ [22:59.025] [4403] stop: successfully sent SIGTERM to pid 4380
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Wed May 15 11:22:59.986 2024] [4404] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ [Wed May 15 11:22:59.986 2024] [4404] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- listening on %{IPADDR}:9306 for mysql
+ starting daemon version '6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)' ...
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ listening on 127.0.0.1:9306 for mysql
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ listening on 127.0.0.1:9308 for sphinx and http(s)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Buddy started!
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
- %{SEMVER}
+ May
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
- %{SEMVER}
+ [4441]
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
- %{SEMVER}
+ initializing
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- %{SEMVER}
+ daemon
––– 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" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– 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: %{SEMVER}
+ Upgrade successful. New version searchd: May
––– 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: %{SEMVER}
+ Upgrade successful. New version columnar: [4441]
––– 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: %{SEMVER}
+ Upgrade successful. New version secondary: initializing
––– 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: %{SEMVER}
+ Upgrade successful. New version knn: daemon
––– 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}/!#

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/indexer-latest-mysql-postgres/indexer-latest-mysql-postgres
✅ OK: 0
❌ Failed: 1
⏳ Duration: 43s
👉 Check Action Results for commit d41d72c
Failed tests:

test/clt-tests/indexer-latest-mysql-postgres/indexer-latest-mysql-postgres.rec
––– input –––
(dockerd > /var/log/dockerd.log 2>&1 &) > /dev/null
––– output –––
––– input –––
if timeout 30 grep -qm1 'API listen on /var/run/docker.sock' <(tail -n 0 -f /var/log/dockerd.log); then echo 'Done'; else echo 'Timeout failed'; fi
––– output –––
Done
––– input –––
docker ps
––– output –––
CONTAINER ID   IMAGE     COMMAND   CREATED   STATUS    PORTS     NAMES
––– input –––
docker pull -q --platform linux/x86_64 ghcr.io/manticoresoftware/manticoresearch:test-kit-latest > /dev/null; echo $?
––– output –––
0
––– input –––
docker pull -q --platform linux/x86_64 mysql:latest > /dev/null; echo $?
––– output –––
0
––– input –––
docker pull -q --platform linux/x86_64 postgres:latest > /dev/null; echo $?
––– output –––
0
––– input –––
docker network create t_network > /dev/null; echo $?
––– output –––
0
––– input –––
docker run -d --network=t_network -p 3306:3306 --platform linux/x86_64 --name mysql -e MYSQL_ROOT_PASSWORD=my-secret-pw -e MYSQL_DATABASE=test mysql:latest > /dev/null; echo $?
––– output –––
0
––– input –––
timeout 30 grep -m2 "Plugin ready for connections" <(docker logs -f mysql 2>&1)
––– output –––
#!/[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{6}Z/!# 0 [System] [MY-011323] [Server] X Plugin ready for connections. Socket: /var/run/mysqld/mysqlx.sock
#!/[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{6}Z/!# 0 [System] [MY-011323] [Server] X Plugin ready for connections. Bind-address: '::' port: 33060, socket: /var/run/mysqld/mysqlx.sock
––– input –––
docker run --network=t_network --platform linux/x86_64 --name manticore -v ./test/clt-tests/indexer-latest-mysql-postgres/min_mysql.conf:/min_mysql.conf ghcr.io/manticoresoftware/manticoresearch:test-kit-latest indexer --all -c /min_mysql.conf
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 6e43e69c2@24051508 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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)
- using config file '/min_mysql.conf'...
+ WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- indexing table 'idx_min'...
+ using config file '/min_mysql.conf'...
- collected 1 docs, 0.0 MB
+ indexing table 'idx_min'...
- creating secondary index
+ collected 1 docs, 0.0 MB
creating lookup: 0.0 Kdocs, 100.0% done
sorted 0.0 Mhits, 100.0% done
total 1 docs, 3 bytes
total #!/[0-9]{1}\.[0-9]{3}/!# sec, %{NUMBER} bytes/sec, #!/[0-9]{1}\.[0-9]{2}/!# docs/sec
total 3 reads, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg
total 15 writes, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg
––– input –––
docker run -d --network=t_network -p 5432:5432 --platform linux/amd64 --name postgres -e POSTGRES_PASSWORD=postgres -e POSTGRES_DB=postgres  postgres:latest > /dev/null; echo $?
––– output –––
0
––– input –––
timeout 30 grep -m2 'database system is ready to accept connections' <(docker logs -f postgres 2>&1)
––– output –––
#!/\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}\.\d{3}/!# UTC [%{NUMBER}] LOG:  database system is ready to accept connections
#!/\d{4}-\d{2}-\d{2}\s\d{2}:\d{2}:\d{2}\.\d{3}/!# UTC [%{NUMBER}] LOG:  database system is ready to accept connections
––– input –––
docker run --network=t_network --platform linux/x86_64 --name manticore2 -v ./test/clt-tests/indexer-latest-mysql-postgres/min_postgres.sql:/min_postgres.sql ghcr.io/manticoresoftware/manticoresearch:test-kit-latest indexer --all -c /min_postgres.sql
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 6e43e69c2@24051508 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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)
- using config file '/min_postgres.sql'...
+ WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- indexing table 'idx'...
+ using config file '/min_postgres.sql'...
- collected 1 docs, 0.0 MB
+ indexing table 'idx'...
- creating secondary index
+ collected 1 docs, 0.0 MB
creating lookup: 0.0 Kdocs, 100.0% done
sorted 0.0 Mhits, 100.0% done
total 1 docs, 3 bytes
total #!/[0-9]{1}\.[0-9]{3}/!# sec, %{NUMBER} bytes/sec, #!/[0-9]{1}\.[0-9]{2}/!# docs/sec
total 3 reads, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg
total 15 writes, 0.000 sec, 0.0 kb/call avg, 0.0 msec/call avg

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/deb-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 56s
👉 Check Action Results for commit d41d72c
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 <support@manticoresearch.com>" 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 –––
searchd --version
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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 %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
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 –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– 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 –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– 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 <support@manticoresearch.com>" 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.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
debconf: delaying package configuration, since apt-utils is not installed
––– input –––
searchd --stop
––– output –––
- Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
+ [23:04.630] [4547] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [23:04.630] [4547] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
+ [23:04.631] [4547] stop: successfully sent SIGTERM to pid 3958
––– input –––
sleep 5; searchd | head -n 9
––– 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}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [Wed May 15 11:23:09.643 2024] [4549] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Wed May 15 11:23:09.643 2024] [4549] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [23:09.756] [4576] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [23:09.756] [4576] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- [#!/[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)...
+ [23:09.757] [4576] stop: successfully sent SIGTERM to pid 4553
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Wed May 15 11:23:10.718 2024] [4577] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ [Wed May 15 11:23:10.719 2024] [4577] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- listening on %{IPADDR}:9306 for mysql
+ starting daemon version '6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)' ...
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ listening on 127.0.0.1:9306 for mysql
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ listening on 127.0.0.1:9308 for sphinx and http(s)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Buddy started!
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
- %{SEMVER}
+ May
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
- %{SEMVER}
+ [4615]
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
- %{SEMVER}
+ initializing
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- %{SEMVER}
+ daemon
––– 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" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– 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: %{SEMVER}
+ Upgrade successful. New version searchd: May
––– 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: %{SEMVER}
+ Upgrade successful. New version columnar: [4615]
––– 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: %{SEMVER}
+ Upgrade successful. New version secondary: initializing
––– 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: %{SEMVER}
+ Upgrade successful. New version knn: daemon
––– 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}/!#

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/deb-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 72s
👉 Check Action Results for commit d41d72c
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 <support@manticoresearch.com>" 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 –––
searchd --version
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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 %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
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 –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– 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 –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– 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 <support@manticoresearch.com>" 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.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
debconf: delaying package configuration, since apt-utils is not installed
––– input –––
searchd --stop
––– output –––
- Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
+ [23:13.823] [4492] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [23:13.823] [4492] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
+ [23:13.824] [4492] stop: successfully sent SIGTERM to pid 3902
––– input –––
sleep 5; searchd | head -n 9
––– 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}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [Wed May 15 11:23:18.837 2024] [4494] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Wed May 15 11:23:18.837 2024] [4494] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [23:18.950] [4522] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [23:18.950] [4522] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- [#!/[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)...
+ [23:18.951] [4522] stop: successfully sent SIGTERM to pid 4498
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Wed May 15 11:23:19.919 2024] [4523] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ [Wed May 15 11:23:19.919 2024] [4523] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- listening on %{IPADDR}:9306 for mysql
+ starting daemon version '6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)' ...
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ listening on 127.0.0.1:9306 for mysql
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ listening on 127.0.0.1:9308 for sphinx and http(s)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Buddy started!
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
- %{SEMVER}
+ May
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
- %{SEMVER}
+ [4562]
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
- %{SEMVER}
+ initializing
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- %{SEMVER}
+ daemon
––– 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" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– 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: %{SEMVER}
+ Upgrade successful. New version searchd: May
––– 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: %{SEMVER}
+ Upgrade successful. New version columnar: [4562]
––– 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: %{SEMVER}
+ Upgrade successful. New version secondary: initializing
––– 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: %{SEMVER}
+ Upgrade successful. New version knn: daemon
––– 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}/!#

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/deb-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 47s
👉 Check Action Results for commit d41d72c
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 <support@manticoresearch.com>" 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 –––
searchd --version
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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 %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
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 –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– 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 –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– 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 <support@manticoresearch.com>" 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.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
debconf: delaying package configuration, since apt-utils is not installed
––– input –––
searchd --stop
––– output –––
- Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
+ [23:20.346] [4350] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [23:20.346] [4350] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
+ [23:20.347] [4350] stop: successfully sent SIGTERM to pid 3782
––– input –––
sleep 5; searchd | head -n 9
––– 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}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [Wed May 15 11:23:25.359 2024] [4352] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Wed May 15 11:23:25.359 2024] [4352] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [23:25.473] [4379] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [23:25.473] [4379] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- [#!/[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)...
+ [23:25.474] [4379] stop: successfully sent SIGTERM to pid 4356
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Wed May 15 11:23:26.435 2024] [4380] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ [Wed May 15 11:23:26.435 2024] [4380] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- listening on %{IPADDR}:9306 for mysql
+ starting daemon version '6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)' ...
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ listening on 127.0.0.1:9306 for mysql
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ listening on 127.0.0.1:9308 for sphinx and http(s)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Buddy started!
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
- %{SEMVER}
+ May
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
- %{SEMVER}
+ [4418]
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
- %{SEMVER}
+ initializing
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- %{SEMVER}
+ daemon
––– 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" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– 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: %{SEMVER}
+ Upgrade successful. New version searchd: May
––– 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: %{SEMVER}
+ Upgrade successful. New version columnar: [4418]
––– 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: %{SEMVER}
+ Upgrade successful. New version secondary: initializing
––– 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: %{SEMVER}
+ Upgrade successful. New version knn: daemon
––– 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}/!#

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/deb-dev-update
✅ OK: 0
❌ Failed: 1
⏳ Duration: 43s
👉 Check Action Results for commit d41d72c
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 <support@manticoresearch.com>" 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 –––
searchd --version
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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 %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
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 –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– 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 –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– 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 <support@manticoresearch.com>" 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.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
debconf: delaying package configuration, since apt-utils is not installed
––– input –––
searchd --stop
––– output –––
- Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
+ [23:20.400] [4378] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [23:20.400] [4378] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
+ [23:20.401] [4378] stop: successfully sent SIGTERM to pid 3881
––– input –––
sleep 5; searchd | head -n 9
––– 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}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [Wed May 15 11:23:25.413 2024] [4380] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Wed May 15 11:23:25.413 2024] [4380] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [23:25.527] [4407] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [23:25.527] [4407] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- [#!/[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)...
+ [23:25.528] [4407] stop: successfully sent SIGTERM to pid 4384
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Wed May 15 11:23:26.487 2024] [4408] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ [Wed May 15 11:23:26.487 2024] [4408] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- listening on %{IPADDR}:9306 for mysql
+ starting daemon version '6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)' ...
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ listening on 127.0.0.1:9306 for mysql
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ listening on 127.0.0.1:9308 for sphinx and http(s)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Buddy started!
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
- %{SEMVER}
+ May
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
- %{SEMVER}
+ [4445]
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
- %{SEMVER}
+ initializing
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- %{SEMVER}
+ daemon
––– 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" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– 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: %{SEMVER}
+ Upgrade successful. New version searchd: May
––– 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: %{SEMVER}
+ Upgrade successful. New version columnar: [4445]
––– 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: %{SEMVER}
+ Upgrade successful. New version secondary: initializing
––– 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: %{SEMVER}
+ Upgrade successful. New version knn: daemon
––– 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}/!#

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/rhel-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 43s
👉 Check Action Results for commit d41d72c
Failed tests:

test/clt-tests/installation/rhel-dev-update.rec
––– input –––
yum install -y --skip-broken mariadb mariadb105 which > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q https://repo.manticoresearch.com/manticore-repo.noarch.rpm > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q manticore manticore-extra > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y -q binutils > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
yum install -y procps > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
manticore-executor -v
––– output –––
PHP %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
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 –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– 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 –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– input –––
yum -y --enablerepo manticore-dev update manticore manticore-extra manticore-common manticore-server manticore-server-core manticore-tools manticore-executor manticore-buddy manticore-backup manticore-columnar-lib manticore-server-core-debuginfo manticore-tools-debuginfo manticore-columnar-lib-debuginfo  manticore-icudata manticore-galera > /dev/null 2>&1; echo $?
––– output –––
0
––– input –––
searchd --stop
––– output –––
- Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
+ [23:25.197] [352] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [23:25.197] [352] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
+ [23:25.198] [352] stop: successfully sent SIGTERM to pid 246
––– input –––
sleep 5; searchd | head -n 9
––– 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}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [Wed May 15 11:23:30.212 2024] [354] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Wed May 15 11:23:30.212 2024] [354] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [23:30.326] [381] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [23:30.326] [381] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
- [#!/[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)...
+ [23:30.327] [381] stop: successfully sent SIGTERM to pid 358
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ [Wed May 15 11:23:31.287 2024] [382] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ [Wed May 15 11:23:31.287 2024] [382] using config file '/etc/manticoresearch/manticore.conf' (269 chars)...
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
- listening on %{IPADDR}:9306 for mysql
+ starting daemon version '6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)' ...
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ listening on 127.0.0.1:9306 for mysql
- Copyright (c) 2001-2016, Andrew Aksyonoff
+ listening on 127.0.0.1:9308 for sphinx and http(s)
- Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Manticore 6.2.13 9e99cea35@24051504 dev (columnar 2.2.5 0c18998@240424) (knn 2.2.5 0c18998@240424)
- Copyright (c) 2017-%{YEAR}, Manticore Software LTD (https://manticoresearch.com)
+ Copyright (c) 2001-2016, Andrew Aksyonoff
- Buddy started!
+ Copyright (c) 2008-2016, Sphinx Technologies Inc (http://sphinxsearch.com)
+ Copyright (c) 2017-2024, Manticore Software LTD (https://manticoresearch.com)
+ Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
- %{SEMVER}
+ May
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
- %{SEMVER}
+ [420]
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
- %{SEMVER}
+ initializing
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- %{SEMVER}
+ daemon
––– 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" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
#!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– 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: %{SEMVER}
+ Upgrade successful. New version searchd: May
––– 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: %{SEMVER}
+ Upgrade successful. New version columnar: [420]
––– 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: %{SEMVER}
+ Upgrade successful. New version secondary: initializing
––– 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: %{SEMVER}
+ Upgrade successful. New version knn: daemon
––– 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}/!#

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/comparison-overhead-json-sql/test-comparison-
✅ OK: 0
❌ Failed: 1
⏳ Duration: 92s
👉 Check Action Results for commit d41d72c
Failed tests:

test/clt-tests/comparison-overhead-json-sql/test-comparison-overhead-json-sql.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 6e43e69c2@24051508 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [23:04.700] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [23:04.700] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 6e43e69c2@24051508 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
php -d memory_limit=-1 ./test/clt-tests/comparison-overhead-json-sql/load_us_names.php 10000 10 10000000 1 > /dev/null
––– output –––
––– input –––
export start=$(date +%s%N)
––– output –––
––– input –––
for n in `seq 1 100`; do curl -sX POST http://localhost:9308/search -d '{"index" : "name", "query" : {"match" : {"_all": "on"} }, "limit": 0}'; done > /dev/null
––– output –––
––– input –––
export end=$(date +%s%N)
––– output –––
––– input –––
export curl=$(( (end - start) / 1000000 ))
––– output –––
––– input –––
export start=$(date +%s%N)
––– output –––
––– input –––
for n in `seq 1 100`; do mysql -P9306 -h0 -e "select * from name where match('on'); show meta;"; done > /dev/null
––– output –––
––– input –––
export end=$(date +%s%N)
––– output –––
––– input –––
export mysql=$(( (end - start) / 1000000 ))
––– output –––
––– input –––
echo "Duration: ${mysql} ${curl} ms"
––– output –––
Duration: %{NUMBER} %{NUMBER} ms
––– input –––
php -r "exit(round(abs($curl - $mysql) / ($curl + $mysql)/2 * 100, 0) >= 2);" 2>\dev\null && echo "----$?----"
––– output –––
----0----

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/core/test-replace-into
✅ OK: 0
❌ Failed: 1
⏳ Duration: 153s
👉 Check Action Results for commit d41d72c
Failed tests:

test/clt-tests/core/test-replace-into.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 6e43e69c2@24051508 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [23:05.105] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [23:05.105] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 6e43e69c2@24051508 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– 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/core/generate-1mln-records.sh
––– output –––
––– input –––
./test/clt-tests/core/generate-1mln-records.sh
––– output –––
+-------+------+
| Index | 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 -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 –––
#!/[1-9]|1[0-2]/!#
––– 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
--------------
+-------+------+
| Index | 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
--------------
+-------+------+
| Index | 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/core/generate-1mln-records.sh
––– output –––
––– input –––
./test/clt-tests/core/generate-1mln-records.sh
––– output –––
+-------+------+
| Index | 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 -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 –––
#!/[1-9]|1[0-2]/!#
––– 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
--------------
+-------+------+
| Index | 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 |
+------+-----------------+------------------+--------------+--------------+------------+------------------+------+------------+---------------+-----------------------------------------+--------------------------------------------------------------------+-------------------------------------+

Copy link

clt

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

test/clt-tests/plugins/test-enable-disable-buddy-plugin.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [37:28.209] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [37:28.209] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– 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 –––
––– input –––
mysql -h0 -P9306 -e "select id, knn_dist() from t where knn ( image_vector, 5, 1 );"
––– output –––
––– 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 –––

Copy link

clt

👎 CLT tests in test/clt-tests/replication/
✅ OK: 0
❌ Failed: 1
⏳ Duration: 36s
👉 Check Action Results for commit d41d72c
Failed tests:

test/clt-tests/replication/replication-test.rec
––– input –––
export INSTANCE=1
––– output –––
––– input –––
mkdir -p /var/{run,lib,log}/manticore-${INSTANCE}/{a,b,c,d,e,f,g,h,i,j}
––– output –––
––– input –––
stdbuf -oL searchd -c test/clt-tests/base/searchd-with-flexible-ports.conf | grep -v precach
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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 '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (%{NUMBER} chars)...
+ [Wed May 15 11:37:30.157 2024] [21] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [Wed May 15 11:37:30.160 2024] [21] using config file '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (383 chars)...
- listening on all interfaces for mysql, port=%{NUMBER}
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for mysql, port=1306
listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for sphinx and http(s), port=1308
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore-${INSTANCE}/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
export INSTANCE=2
––– output –––
––– input –––
mkdir -p /var/{run,lib,log}/manticore-${INSTANCE}/{a,b,c,d,e,f,g,h,i,j}
––– output –––
––– input –––
stdbuf -oL searchd -c test/clt-tests/base/searchd-with-flexible-ports.conf | grep -v precach
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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 '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (%{NUMBER} chars)...
+ [Wed May 15 11:37:30.285 2024] [54] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [Wed May 15 11:37:30.287 2024] [54] using config file '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (383 chars)...
- listening on all interfaces for mysql, port=%{NUMBER}
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for mysql, port=2306
listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for sphinx and http(s), port=2308
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore-${INSTANCE}/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
export INSTANCE=3
––– output –––
––– input –––
mkdir -p /var/{run,lib,log}/manticore-${INSTANCE}/{a,b,c,d,e,f,g,h,i,j}
––– output –––
––– input –––
stdbuf -oL searchd -c test/clt-tests/base/searchd-with-flexible-ports.conf | grep -v precach
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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 '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (%{NUMBER} chars)...
+ [Wed May 15 11:37:30.412 2024] [87] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [Wed May 15 11:37:30.414 2024] [87] using config file '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (383 chars)...
- listening on all interfaces for mysql, port=%{NUMBER}
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for mysql, port=3306
listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for sphinx and http(s), port=3308
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore-${INSTANCE}/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
export INSTANCE=4
––– output –––
––– input –––
mkdir -p /var/{run,lib,log}/manticore-${INSTANCE}/{a,b,c,d,e,f,g,h,i,j}
––– output –––
––– input –––
stdbuf -oL searchd -c test/clt-tests/base/searchd-with-flexible-ports.conf | grep -v precach
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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 '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (%{NUMBER} chars)...
+ [Wed May 15 11:37:30.538 2024] [120] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [Wed May 15 11:37:30.540 2024] [120] using config file '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (383 chars)...
- listening on all interfaces for mysql, port=%{NUMBER}
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for mysql, port=4306
listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for sphinx and http(s), port=4308
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore-${INSTANCE}/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
export INSTANCE=5
––– output –––
––– input –––
mkdir -p /var/{run,lib,log}/manticore-${INSTANCE}/{a,b,c,d,e,f,g,h,i,j}
––– output –––
––– input –––
stdbuf -oL searchd -c test/clt-tests/base/searchd-with-flexible-ports.conf | grep -v precach
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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 '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (%{NUMBER} chars)...
+ [Wed May 15 11:37:30.665 2024] [153] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [Wed May 15 11:37:30.667 2024] [153] using config file '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (383 chars)...
- listening on all interfaces for mysql, port=%{NUMBER}
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for mysql, port=5306
listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for sphinx and http(s), port=5308
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore-${INSTANCE}/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
export CLUSTER_NAME=replication
––– output –––
––– input –––
mysql -h0 -P1306 -e "create cluster ${CLUSTER_NAME}"
––– output –––
––– input –––
mysql -h0 -P1306 -e "show status like 'cluster_${CLUSTER_NAME}_status'\G"
––– output –––
*************************** 1. row ***************************
Counter: cluster_#!/[a-z]+/!#_status
Value: primary
––– input –––
export CLUSTER_NAME=replication
––– output –––
––– input –––
for n in `seq 2 $INSTANCE`; do mysql -h0 -P${n}306 -e "join cluster ${CLUSTER_NAME} at '127.0.0.1:1312'"; done;
––– output –––
––– input –––
mysql -h0 -P${INSTANCE}306 -e "show status like 'cluster_${CLUSTER_NAME}_status'\G"
––– output –––
*************************** 1. row ***************************
Counter: cluster_#!/[a-z]+/!#_status
Value: primary
––– input –––
mysql -h0 -P1306 -e "CREATE TABLE testrt (title text, content text, gid uint);" && mysql -h0 -P1306 -e "INSERT INTO testrt VALUES(6775836565403860993,'List of HP business laptops','Elitebook Probook',1);" && mysql -h0 -P1306 -e "INSERT INTO testrt VALUES(6775836565403860994,'List of Dell business laptops','Latitude Precision Vostro',2);" && mysql -h0 -P1306 -e "ALTER CLUSTER replication ADD testrt;" && mysql -h0 -P1306 -e "SHOW STATUS LIKE 'cluster_replication_indexes';"
––– output –––
+-----------------------------+--------+
| Counter                     | Value  |
+-----------------------------+--------+
| cluster_replication_indexes | testrt |
+-----------------------------+--------+
––– input –––
mysql -h0 -P1306 -e "SELECT * FROM testrt ORDER BY id ASC\G"
––– output –––
*************************** 1. row ***************************
id: 6775836565403860993
title: List of HP business laptops
content: Elitebook Probook
gid: 1
*************************** 2. row ***************************
id: 6775836565403860994
title: List of Dell business laptops
content: Latitude Precision Vostro
gid: 2
––– input –––
export INSTANCE=5
––– output –––
––– input –––
searchd --stopwait -c test/clt-tests/base/searchd-with-flexible-ports.conf
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
+ [37:34.469] [224] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [37:34.470] [224] using config file '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (383 chars)...
+ [37:34.472] [224] stop: successfully sent SIGTERM to pid 159
––– input –––
mysql -h0 -P1306 -e "INSERT INTO replication:testrt VALUES(6775836565403860995,'List of HP business laptops','Macbook',3);"; echo $?
––– output –––
0
––– input –––
export INSTANCE=5
––– output –––
––– input –––
mkdir -p /var/{run,lib,log}/manticore-${INSTANCE}/{a,b,c,d,e,f,g,h,i,j}
––– output –––
––– input –––
stdbuf -oL searchd -c test/clt-tests/base/searchd-with-flexible-ports.conf | grep -v precach
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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 '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (%{NUMBER} chars)...
+ [Wed May 15 11:37:34.817 2024] [229] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [Wed May 15 11:37:34.819 2024] [229] using config file '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (383 chars)...
- listening on all interfaces for mysql, port=%{NUMBER}
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for mysql, port=5306
listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for sphinx and http(s), port=5308
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore-${INSTANCE}/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
sleep 5; mysql -h0 -P5306 -e "SELECT * FROM testrt ORDER BY id ASC\G"
––– output –––
*************************** 1. row ***************************
id: 6775836565403860993
title: List of HP business laptops
content: Elitebook Probook
gid: 1
*************************** 2. row ***************************
id: 6775836565403860994
title: List of Dell business laptops
content: Latitude Precision Vostro
gid: 2
*************************** 3. row ***************************
id: 6775836565403860995
title: List of HP business laptops
content: Macbook
gid: 3
––– input –––
export INSTANCE=2
––– output –––
––– input –––
searchd --stopwait -c test/clt-tests/base/searchd-with-flexible-ports.conf
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
+ [37:39.948] [270] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [37:39.950] [270] using config file '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (383 chars)...
+ [37:39.952] [270] stop: successfully sent SIGTERM to pid 60
––– input –––
mysql -h0 -P3306 -e "INSERT INTO replication:testrt VALUES(6775836565403860996,'NEW','TABLE',4);"; echo $?
––– output –––
0
––– input –––
mkdir -p /var/{run,lib,log}/manticore-${INSTANCE}/{a,b,c,d,e,f,g,h,i,j}
––– output –––
––– input –––
stdbuf -oL searchd -c test/clt-tests/base/searchd-with-flexible-ports.conf | grep -v precach
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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 '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (%{NUMBER} chars)...
+ [Wed May 15 11:37:40.431 2024] [275] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [Wed May 15 11:37:40.433 2024] [275] using config file '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (383 chars)...
- listening on all interfaces for mysql, port=%{NUMBER}
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for mysql, port=2306
listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for sphinx and http(s), port=2308
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore-${INSTANCE}/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
sleep 5;mysql -h0 -P2306 -e "SELECT * FROM testrt ORDER BY id ASC\G"
––– output –––
*************************** 1. row ***************************
id: 6775836565403860993
title: List of HP business laptops
content: Elitebook Probook
gid: 1
*************************** 2. row ***************************
id: 6775836565403860994
title: List of Dell business laptops
content: Latitude Precision Vostro
gid: 2
*************************** 3. row ***************************
id: 6775836565403860995
title: List of HP business laptops
content: Macbook
gid: 3
*************************** 4. row ***************************
id: 6775836565403860996
title: NEW
content: TABLE
gid: 4
––– input –––
mysql -h0 -P3306 -e "SELECT * FROM testrt ORDER BY id ASC\G"
––– output –––
*************************** 1. row ***************************
id: 6775836565403860993
title: List of HP business laptops
content: Elitebook Probook
gid: 1
*************************** 2. row ***************************
id: 6775836565403860994
title: List of Dell business laptops
content: Latitude Precision Vostro
gid: 2
*************************** 3. row ***************************
id: 6775836565403860995
title: List of HP business laptops
content: Macbook
gid: 3
*************************** 4. row ***************************
id: 6775836565403860996
title: NEW
content: TABLE
gid: 4
––– input –––
mysql -h0 -P4306 -e "SELECT * FROM testrt ORDER BY id ASC\G"
––– output –––
*************************** 1. row ***************************
id: 6775836565403860993
title: List of HP business laptops
content: Elitebook Probook
gid: 1
*************************** 2. row ***************************
id: 6775836565403860994
title: List of Dell business laptops
content: Latitude Precision Vostro
gid: 2
*************************** 3. row ***************************
id: 6775836565403860995
title: List of HP business laptops
content: Macbook
gid: 3
*************************** 4. row ***************************
id: 6775836565403860996
title: NEW
content: TABLE
gid: 4
––– input –––
mysql -h0 -P5306 -e "SELECT * FROM testrt ORDER BY id ASC\G"
––– output –––
*************************** 1. row ***************************
id: 6775836565403860993
title: List of HP business laptops
content: Elitebook Probook
gid: 1
*************************** 2. row ***************************
id: 6775836565403860994
title: List of Dell business laptops
content: Latitude Precision Vostro
gid: 2
*************************** 3. row ***************************
id: 6775836565403860995
title: List of HP business laptops
content: Macbook
gid: 3
*************************** 4. row ***************************
id: 6775836565403860996
title: NEW
content: TABLE
gid: 4
––– input –––
export INSTANCE=4
––– output –––
––– input –––
searchd --stopwait -c test/clt-tests/base/searchd-with-flexible-ports.conf
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
+ [37:45.599] [319] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- [#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
+ [37:45.601] [319] using config file '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (383 chars)...
+ [37:45.603] [319] stop: successfully sent SIGTERM to pid 126
––– input –––
sleep 5;mysql -h0 -P2306 -e "DELETE FROM replication:testrt WHERE id = 6775836565403860994"; echo $?
––– output –––
0
––– input –––
mysql -h0 -P2306 -e "SELECT * FROM testrt ORDER BY id ASC" > /tmp/output_2306.txt;
––– output –––
––– input –––
export INSTANCE=4
––– output –––
––– input –––
mkdir -p /var/{run,lib,log}/manticore-${INSTANCE}/{a,b,c,d,e,f,g,h,i,j}
––– output –––
––– input –––
stdbuf -oL searchd -c test/clt-tests/base/searchd-with-flexible-ports.conf | grep -v precach
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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 '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (%{NUMBER} chars)...
+ [Wed May 15 11:37:51.694 2024] [326] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [Wed May 15 11:37:51.696 2024] [326] using config file '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (383 chars)...
- listening on all interfaces for mysql, port=%{NUMBER}
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for mysql, port=4306
listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for sphinx and http(s), port=4308
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore-${INSTANCE}/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
sleep 5;mysql -h0 -P1306 -e "SELECT * FROM testrt ORDER BY id ASC" > /tmp/output_1306.txt;
––– output –––
––– input –––
mysql -h0 -P3306 -e "SELECT * FROM testrt ORDER BY id ASC" > /tmp/output_3306.txt;
––– output –––
––– input –––
mysql -h0 -P4306 -e "SELECT * FROM testrt ORDER BY id ASC" > /tmp/output_4306.txt;
––– output –––
––– input –––
mysql -h0 -P5306 -e "SELECT * FROM testrt ORDER BY id ASC" > /tmp/output_5306.txt;
––– output –––
––– input –––
diff /tmp/output_1306.txt /tmp/output_2306.txt; echo $?
––– output –––
0
––– input –––
diff /tmp/output_1306.txt /tmp/output_3306.txt; echo $?
––– output –––
0
––– input –––
diff /tmp/output_1306.txt /tmp/output_4306.txt; echo $?
––– output –––
0
––– input –––
diff /tmp/output_1306.txt /tmp/output_5306.txt; echo $?
––– output –––
0

Copy link

clt

👎 CLT tests in test/clt-tests/mysqldump/mysql/ test/clt-tests/mysqldump/maria/
✅ OK: 0
❌ Failed: 14
⏳ Duration: 60s
👉 Check Action Results for commit d41d72c
Failed tests:

test/clt-tests/mysqldump/mysql/random-1m-dump-restore.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [37:47.872] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [37:47.872] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
./test/clt-tests/mysqldump/scripts/generate-records.sh 1000000 | mysql -h0 -P9306
––– output –––
––– input –––
mysql -h0 -P9306 -e 'show tables'
––– output –––
+-------+------+
| Index | Type |
+-------+------+
| t     | rt   |
+-------+------+
––– input –––
mysql -h0 -P9306 -e 'select count(*) from t'
––– output –––
+----------+
| count(*) |
+----------+
|  1000007 |
+----------+
––– input –––
mysql -h0 -P9306 -e "select * from t order by id asc limit 20"
––– output –––
+------+----------------------------------------------------------------------------------------------------+--------+-------------------+----------------------------------------------+----------------------------------+----------------------------------------------------------------------------------------------------+------+------------+------------+-------------------+
| id   | f                                                                                                  | a      | b                 | j                                            | m                                | s                                                                                                  | e    | d          | v          | fv                |
+------+----------------------------------------------------------------------------------------------------+--------+-------------------+----------------------------------------------+----------------------------------+----------------------------------------------------------------------------------------------------+------+------------+------------+-------------------+
|    1 |                                                                                                    |      0 |          0.000000 | NULL                                         |                                  |                                                                                                    |    0 |          0 |            |                   |
|    2 | '                                                                                                  |      0 |          0.000000 | NULL                                         |                                  |                                                                                                    |    0 |          0 |            |                   |
|    3 | "                                                                                                  |      0 |          0.000000 | NULL                                         |                                  |                                                                                                    |    0 |          0 |            |                   |
|    4 |                                                                                                    |      0 |          0.000000 | NULL                                         |                                  | '                                                                                                  |    0 |          0 |            |                   |
|    5 |                                                                                                    |      0 |          0.000000 | NULL                                         |                                  | "                                                                                                  |    0 |          0 |            |                   |
|    6 |                                                                                                    |      0 |          0.000000 | {"a":"'","b":"","c":"'"}                     |                                  |                                                                                                    |    0 |          0 |            |                   |
|    7 |                                                                                                    |      0 |          0.000000 | {"a":"\"","b":"\"","c":"\""}                 |                                  |                                                                                                    |    0 |          0 |            |                   |
|    8 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb | 139090 |  912626112.000000 | {"a":[2140855600,1509344502],"b":1114121522} | 928973100,1245670504,1413286320  | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb |    1 |  538847777 | 1617199777 | 1258482176.000000 |
|    9 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb          | 198907 |    8841452.000000 | {"a":[21374549,321067876],"b":333059460}     | 1274214921,1499886331,1977497504 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb          |    1 |  782785729 | 954464984  | 696490880.000000  |
|   10 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                     |  91421 | 1982302976.000000 | {"a":[1039865880,1000430726],"b":900846479}  | 427690075,1407612830,1714474875  | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                     |    1 | 1649242630 | 308109277  | 27668260.000000   |
|   11 | bbbbbbbbbbbbbbbbbb                                                                                 | 121311 |  121581552.000000 | {"a":[1820436984,1682929863],"b":1502056736} | 1581765396,1654516653,1925375373 | bbbbbbbbbbbbbbbbbb                                                                                 |    1 |  801766056 | 1127147375 | 107321288.000000  |
|   12 | bbbbbbbbbbbbbb                                                                                     | 191122 | 1229779968.000000 | {"a":[372959725,1851192973],"b":1660390017}  | 185371603,608681734,1167859658   | bbbbbbbbbbbbbb                                                                                     |    1 | 1213118476 | 2124217000 | 406914176.000000  |
|   13 | bbbbbbbbbb                                                                                         |  95482 |  898241728.000000 | {"a":[272656722,1663615544],"b":1624186067}  | 116478871,552875970,1092517015   | bbbbbbbbbb                                                                                         |    0 | 1239989597 | 551802408  | 152522160.000000  |
|   14 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                                    |  68119 |  661707200.000000 | {"a":[94304443,2086306634],"b":543066914}    | 578274552,1237733450,2002653905  | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                                    |    1 | 1710306734 | 167580149  | 2017031680.000000 |
|   15 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                     |  32982 | 1377983488.000000 | {"a":[496823143,416865286],"b":91350609}     | 1599607162,1936289567,2053679064 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                     |    0 | 1518500442 | 1228024866 | 1438869760.000000 |
|   16 | bbbb                                                                                               | 127656 |  144601936.000000 | {"a":[407695664,2063437019],"b":917328502}   | 645985148,1065653647,1744659471  | bbbb                                                                                               |    0 |  314320885 | 1525544836 | 219136976.000000  |
|   17 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb              |  42017 | 1793538432.000000 | {"a":[813865368,1069542460],"b":1420434902}  | 1064502376,1165315561,1267507259 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb              |    1 |  284197670 | 454491894  | 202294912.000000  |
|   18 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                              | 187471 | 1981036928.000000 | {"a":[364450401,1780265560],"b":754576639}   | 107468665,411366113,991124073    | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                              |    0 |  245327580 | 1944713760 | 1201735552.000000 |
|   19 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb      |  32712 | 1558907136.000000 | {"a":[1912418574,1670100966],"b":239810528}  | 24970160,1819190943,2021816520   | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb      |    1 | 1341382959 | 283037034  | 1458644736.000000 |
|   20 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                       |  48474 |   62408120.000000 | {"a":[1200217209,500666982],"b":2116623760}  | 328478084,504655829,1689585645   | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                       |    1 |  920211881 | 229395197  | 1011787776.000000 |
+------+----------------------------------------------------------------------------------------------------+--------+-------------------+----------------------------------------------+----------------------------------+----------------------------------------------------------------------------------------------------+------+------------+------------+-------------------+
––– input –––
mysql -h0 -P9306 -e "select * from t where s = 'Psm' order by id asc limit 20"
––– output –––
––– input –––
mysql -h0 -P9306 -e "select * from t where a = 18530 order by id asc limit 20"
––– output –––
+--------+------------------------------------------------------------------------------------------+-------+-------------------+----------------------------------------------+----------------------------------+------------------------------------------------------------------------------------------+------+------------+------------+-------------------+
| id     | f                                                                                        | a     | b                 | j                                            | m                                | s                                                                                        | e    | d          | v          | fv                |
+--------+------------------------------------------------------------------------------------------+-------+-------------------+----------------------------------------------+----------------------------------+------------------------------------------------------------------------------------------+------+------------+------------+-------------------+
| 357155 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                | 18530 | 1850545024.000000 | {"a":[787564513,814788001],"b":363013045}    | 666308965,793633956,1624548711   | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                |    1 |  588151338 | 406821193  | 773609408.000000  |
| 481679 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                   | 18530 |   73274912.000000 | {"a":[816141442,918325205],"b":2062405755}   | 1225288528,1329456945,2097512737 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                   |    1 |  870968417 | 1475821866 | 1640329728.000000 |
| 485741 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                   | 18530 | 1540117760.000000 | {"a":[1951872704,1354733051],"b":1622399792} | 135700385,959852353,1284565718   | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                   |    0 |  854965440 | 592918187  | 285162528.000000  |
| 604791 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb    | 18530 |  145746032.000000 | {"a":[1175180019,908317885],"b":714847903}   | 941943997,1067162740,1657879898  | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb    |    0 | 1621714577 | 1797192220 | 156542576.000000  |
| 750483 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                 | 18530 | 1497546624.000000 | {"a":[1337881463,1230516838],"b":320292270}  | 137916339,235649611,282680287    | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                 |    1 | 1163005682 | 1150206046 | 19527630.000000   |
| 940423 | bbbbbbbbbbb                                                                              | 18530 | 1721428992.000000 | {"a":[1431872459,532079991],"b":1821473421}  | 22419487,1048905278,1803379504   | bbbbbbbbbbb                                                                              |    0 |  236272949 | 1489922324 | 397749184.000000  |
| 957230 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb | 18530 | 1160392192.000000 | {"a":[877572928,1449850277],"b":612177211}   | 322653768,1622545118,1637144759  | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb |    1 |   78946493 | 431047209  | 582783936.000000  |
+--------+------------------------------------------------------------------------------------------+-------+-------------------+----------------------------------------------+----------------------------------+------------------------------------------------------------------------------------------+------+------------+------------+-------------------+
––– input –––
mysqldump -h0 -P9306 Manticore 2>/dev/null 1> /tmp/all-databases.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e "drop table t"
––– output –––
––– input –––
mysql -h0 -P9306 < /tmp/all-databases.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'show tables'
––– output –––
+-------+------+
| Index | Type |
+-------+------+
| t     | rt   |
+-------+------+
––– input –––
mysql -h0 -P9306 -e 'select count(*) from t'
––– output –––
+----------+
| count(*) |
+----------+
|  1000007 |
+----------+
––– input –––
mysql -h0 -P9306 -e "select * from t order by id asc limit 20"
––– output –––
+------+----------------------------------------------------------------------------------------------------+--------+-------------------+----------------------------------------------+----------------------------------+----------------------------------------------------------------------------------------------------+------+------------+------------+-------------------+
| id   | f                                                                                                  | a      | b                 | j                                            | m                                | s                                                                                                  | e    | d          | v          | fv                |
+------+----------------------------------------------------------------------------------------------------+--------+-------------------+----------------------------------------------+----------------------------------+----------------------------------------------------------------------------------------------------+------+------------+------------+-------------------+
|    1 |                                                                                                    |      0 |          0.000000 | NULL                                         |                                  |                                                                                                    |    0 |          0 |            |                   |
|    2 | '                                                                                                  |      0 |          0.000000 | NULL                                         |                                  |                                                                                                    |    0 |          0 |            |                   |
|    3 | "                                                                                                  |      0 |          0.000000 | NULL                                         |                                  |                                                                                                    |    0 |          0 |            |                   |
|    4 |                                                                                                    |      0 |          0.000000 | NULL                                         |                                  | '                                                                                                  |    0 |          0 |            |                   |
|    5 |                                                                                                    |      0 |          0.000000 | NULL                                         |                                  | "                                                                                                  |    0 |          0 |            |                   |
|    6 |                                                                                                    |      0 |          0.000000 | {"a":"'","b":"","c":"'"}                     |                                  |                                                                                                    |    0 |          0 |            |                   |
|    7 |                                                                                                    |      0 |          0.000000 | {"a":"\"","b":"\"","c":"\""}                 |                                  |                                                                                                    |    0 |          0 |            |                   |
|    8 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb | 139090 |  912626112.000000 | {"a":[2140855600,1509344502],"b":1114121522} | 928973100,1245670504,1413286320  | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb |    1 |  538847777 | 1617199777 | 1258482176.000000 |
|    9 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb          | 198907 |    8841452.000000 | {"a":[21374549,321067876],"b":333059460}     | 1274214921,1499886331,1977497504 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb          |    1 |  782785729 | 954464984  | 696490880.000000  |
|   10 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                     |  91421 | 1982302976.000000 | {"a":[1039865880,1000430726],"b":900846479}  | 427690075,1407612830,1714474875  | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                     |    1 | 1649242630 | 308109277  | 27668260.000000   |
|   11 | bbbbbbbbbbbbbbbbbb                                                                                 | 121311 |  121581552.000000 | {"a":[1820436984,1682929863],"b":1502056736} | 1581765396,1654516653,1925375373 | bbbbbbbbbbbbbbbbbb                                                                                 |    1 |  801766056 | 1127147375 | 107321288.000000  |
|   12 | bbbbbbbbbbbbbb                                                                                     | 191122 | 1229779968.000000 | {"a":[372959725,1851192973],"b":1660390017}  | 185371603,608681734,1167859658   | bbbbbbbbbbbbbb                                                                                     |    1 | 1213118476 | 2124217000 | 406914176.000000  |
|   13 | bbbbbbbbbb                                                                                         |  95482 |  898241728.000000 | {"a":[272656722,1663615544],"b":1624186067}  | 116478871,552875970,1092517015   | bbbbbbbbbb                                                                                         |    0 | 1239989597 | 551802408  | 152522160.000000  |
|   14 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                                    |  68119 |  661707200.000000 | {"a":[94304443,2086306634],"b":543066914}    | 578274552,1237733450,2002653905  | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                                    |    1 | 1710306734 | 167580149  | 2017031680.000000 |
|   15 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                     |  32982 | 1377983488.000000 | {"a":[496823143,416865286],"b":91350609}     | 1599607162,1936289567,2053679064 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                     |    0 | 1518500442 | 1228024866 | 1438869760.000000 |
|   16 | bbbb                                                                                               | 127656 |  144601936.000000 | {"a":[407695664,2063437019],"b":917328502}   | 645985148,1065653647,1744659471  | bbbb                                                                                               |    0 |  314320885 | 1525544836 | 219136976.000000  |
|   17 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb              |  42017 | 1793538432.000000 | {"a":[813865368,1069542460],"b":1420434902}  | 1064502376,1165315561,1267507259 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb              |    1 |  284197670 | 454491894  | 202294912.000000  |
|   18 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                              | 187471 | 1981036928.000000 | {"a":[364450401,1780265560],"b":754576639}   | 107468665,411366113,991124073    | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                              |    0 |  245327580 | 1944713760 | 1201735552.000000 |
|   19 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb      |  32712 | 1558907136.000000 | {"a":[1912418574,1670100966],"b":239810528}  | 24970160,1819190943,2021816520   | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb      |    1 | 1341382959 | 283037034  | 1458644736.000000 |
|   20 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                       |  48474 |   62408120.000000 | {"a":[1200217209,500666982],"b":2116623760}  | 328478084,504655829,1689585645   | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                       |    1 |  920211881 | 229395197  | 1011787776.000000 |
+------+----------------------------------------------------------------------------------------------------+--------+-------------------+----------------------------------------------+----------------------------------+----------------------------------------------------------------------------------------------------+------+------------+------------+-------------------+
––– input –––
mysql -h0 -P9306 -e "select * from t where s = 'Psm' order by id asc limit 20"
––– output –––
––– input –––
mysql -h0 -P9306 -e "select * from t where a = 18530 order by id asc limit 20"
––– output –––
+--------+------------------------------------------------------------------------------------------+-------+-------------------+----------------------------------------------+----------------------------------+------------------------------------------------------------------------------------------+------+------------+------------+-------------------+
| id     | f                                                                                        | a     | b                 | j                                            | m                                | s                                                                                        | e    | d          | v          | fv                |
+--------+------------------------------------------------------------------------------------------+-------+-------------------+----------------------------------------------+----------------------------------+------------------------------------------------------------------------------------------+------+------------+------------+-------------------+
| 357155 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                | 18530 | 1850545024.000000 | {"a":[787564513,814788001],"b":363013045}    | 666308965,793633956,1624548711   | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                |    1 |  588151338 | 406821193  | 773609408.000000  |
| 481679 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                   | 18530 |   73274912.000000 | {"a":[816141442,918325205],"b":2062405755}   | 1225288528,1329456945,2097512737 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                                   |    1 |  870968417 | 1475821866 | 1640329728.000000 |
| 485741 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                   | 18530 | 1540117760.000000 | {"a":[1951872704,1354733051],"b":1622399792} | 135700385,959852353,1284565718   | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                                   |    0 |  854965440 | 592918187  | 285162528.000000  |
| 604791 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb    | 18530 |  145746032.000000 | {"a":[1175180019,908317885],"b":714847903}   | 941943997,1067162740,1657879898  | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb    |    0 | 1621714577 | 1797192220 | 156542576.000000  |
| 750483 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                 | 18530 | 1497546624.000000 | {"a":[1337881463,1230516838],"b":320292270}  | 137916339,235649611,282680287    | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb                 |    1 | 1163005682 | 1150206046 | 19527630.000000   |
| 940423 | bbbbbbbbbbb                                                                              | 18530 | 1721428992.000000 | {"a":[1431872459,532079991],"b":1821473421}  | 22419487,1048905278,1803379504   | bbbbbbbbbbb                                                                              |    0 |  236272949 | 1489922324 | 397749184.000000  |
| 957230 | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb | 18530 | 1160392192.000000 | {"a":[877572928,1449850277],"b":612177211}   | 322653768,1622545118,1637144759  | bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb |    1 |   78946493 | 431047209  | 582783936.000000  |
+--------+------------------------------------------------------------------------------------------+-------+-------------------+----------------------------------------------+----------------------------------+------------------------------------------------------------------------------------------+------+------------+------------+-------------------+
test/clt-tests/mysqldump/mysql/mcl-all-multi64.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [37:37.264] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [37:37.264] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-all/multi64.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_all_multi64 limit -1'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-all/multi64-batch-1.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_all_multi64'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-all/multi64-batch-2.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_all_multi64'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-all/multi64-batch-3.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush table mcl_all_multi64'
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_all_multi64 limit 20'
––– output –––
+------+--------------------------------------------------------+
| id   | value                                                  |
+------+--------------------------------------------------------+
|   20 | 1000000096,1000000097,1000000098,1000000099,1000000100 |
|   19 | 1000000091,1000000092,1000000093,1000000094,1000000095 |
|    9 | 1000000041,1000000042,1000000043,1000000044,1000000045 |
|    1 | 1000000001,1000000002,1000000003,1000000004,1000000005 |
|    2 | 1000000006,1000000007,1000000008,1000000009,1000000010 |
|   10 | 1000000046,1000000047,1000000048,1000000049,1000000050 |
|    3 | 1000000011,1000000012,1000000013,1000000014,1000000015 |
|   11 | 1000000051,1000000052,1000000053,1000000054,1000000055 |
|    4 | 1000000016,1000000017,1000000018,1000000019,1000000020 |
|   12 | 1000000056,1000000057,1000000058,1000000059,1000000060 |
|   13 | 1000000061,1000000062,1000000063,1000000064,1000000065 |
|    5 | 1000000021,1000000022,1000000023,1000000024,1000000025 |
|   14 | 1000000066,1000000067,1000000068,1000000069,1000000070 |
|    6 | 1000000026,1000000027,1000000028,1000000029,1000000030 |
|   15 | 1000000071,1000000072,1000000073,1000000074,1000000075 |
|    7 | 1000000031,1000000032,1000000033,1000000034,1000000035 |
|   16 | 1000000076,1000000077,1000000078,1000000079,1000000080 |
|    8 | 1000000036,1000000037,1000000038,1000000039,1000000040 |
|   17 | 1000000081,1000000082,1000000083,1000000084,1000000085 |
|   18 | 1000000086,1000000087,1000000088,1000000089,1000000090 |
+------+--------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_all_multi64 limit -1'
––– output –––
+------+----------------------------------------------------------+
| id   | value                                                    |
+------+----------------------------------------------------------+
| 9    | (1000000041,1000000042,1000000043,1000000044,1000000045) |
| 10   | (1000000046,1000000047,1000000048,1000000049,1000000050) |
| 11   | (1000000051,1000000052,1000000053,1000000054,1000000055) |
| 12   | (1000000056,1000000057,1000000058,1000000059,1000000060) |
| 13   | (1000000061,1000000062,1000000063,1000000064,1000000065) |
| 14   | (1000000066,1000000067,1000000068,1000000069,1000000070) |
| 15   | (1000000071,1000000072,1000000073,1000000074,1000000075) |
| 16   | (1000000076,1000000077,1000000078,1000000079,1000000080) |
| 17   | (1000000081,1000000082,1000000083,1000000084,1000000085) |
| 18   | (1000000086,1000000087,1000000088,1000000089,1000000090) |
| 1    | (1000000001,1000000002,1000000003,1000000004,1000000005) |
| 2    | (1000000006,1000000007,1000000008,1000000009,1000000010) |
| 3    | (1000000011,1000000012,1000000013,1000000014,1000000015) |
| 4    | (1000000016,1000000017,1000000018,1000000019,1000000020) |
| 5    | (1000000021,1000000022,1000000023,1000000024,1000000025) |
| 6    | (1000000026,1000000027,1000000028,1000000029,1000000030) |
| 7    | (1000000031,1000000032,1000000033,1000000034,1000000035) |
| 8    | (1000000036,1000000037,1000000038,1000000039,1000000040) |
| 19   | (1000000091,1000000092,1000000093,1000000094,1000000095) |
| 20   | (1000000096,1000000097,1000000098,1000000099,1000000100) |
+------+----------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select /*!40001 SQL_NO_CACHE */ * from mcl_all_multi64'
––– output –––
+------+----------------------------------------------------------+
| id   | value                                                    |
+------+----------------------------------------------------------+
| 9    | (1000000041,1000000042,1000000043,1000000044,1000000045) |
| 10   | (1000000046,1000000047,1000000048,1000000049,1000000050) |
| 11   | (1000000051,1000000052,1000000053,1000000054,1000000055) |
| 12   | (1000000056,1000000057,1000000058,1000000059,1000000060) |
| 13   | (1000000061,1000000062,1000000063,1000000064,1000000065) |
| 14   | (1000000066,1000000067,1000000068,1000000069,1000000070) |
| 15   | (1000000071,1000000072,1000000073,1000000074,1000000075) |
| 16   | (1000000076,1000000077,1000000078,1000000079,1000000080) |
| 17   | (1000000081,1000000082,1000000083,1000000084,1000000085) |
| 18   | (1000000086,1000000087,1000000088,1000000089,1000000090) |
| 1    | (1000000001,1000000002,1000000003,1000000004,1000000005) |
| 2    | (1000000006,1000000007,1000000008,1000000009,1000000010) |
| 3    | (1000000011,1000000012,1000000013,1000000014,1000000015) |
| 4    | (1000000016,1000000017,1000000018,1000000019,1000000020) |
| 5    | (1000000021,1000000022,1000000023,1000000024,1000000025) |
| 6    | (1000000026,1000000027,1000000028,1000000029,1000000030) |
| 7    | (1000000031,1000000032,1000000033,1000000034,1000000035) |
| 8    | (1000000036,1000000037,1000000038,1000000039,1000000040) |
| 19   | (1000000091,1000000092,1000000093,1000000094,1000000095) |
| 20   | (1000000096,1000000097,1000000098,1000000099,1000000100) |
+------+----------------------------------------------------------+
test/clt-tests/mysqldump/mysql/mcl-only-json.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [37:41.188] [23] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [37:41.188] [23] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-only/json.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_only_json limit -1'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-only/json-batch-1.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_only_json'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-only/json-batch-2.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_only_json'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-only/json-batch-3.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush table mcl_only_json'
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_only_json limit 20'
––– output –––
+------+---------------------------------------------------------------------------------------------+
| id   | value                                                                                       |
+------+---------------------------------------------------------------------------------------------+
|   20 | {"computer":"MacBook Pro","manufacturer":"Apple","year":2021,"OS":"macOS"}                  |
|   19 | {"element":"Hydrogen","symbol":"H","atomic_number":1,"state":"Gas"}                         |
|    9 | {"song":"Bohemian Rhapsody","artist":"Queen","year":1975,"genre":"Rock"}                    |
|    1 | {"key1":"value1","key2":"value2","key3":"value3","key4":"value4"}                           |
|    2 | {"name":"John","age":30,"city":"New York","occupation":"Engineer"}                          |
|   10 | {"company":"OpenAI","founded":2015,"location":"San Francisco","CEO":"Sam Altman"}           |
|    3 | {"animal":"dog","color":"brown","age":5,"breed":"Labrador"}                                 |
|   11 | {"planet":"Mars","distance_from_sun":227.900000,"orbital_period":687,"number_of_moons":2}   |
|    4 | {"subject":"Math","score":95,"passed":true,"comments":"Excellent"}                          |
|   12 | {"country":"Australia","continent":"Australia","capital":"Canberra","population":25.360000} |
|   13 | {"language":"Spanish","speakers":460,"origin":"Spain","script":"Latin"}                     |
|    5 | {"book":"The Great Gatsby","author":"F. Scott Fitzgerald","year":1925,"genre":"Novel"}      |
|   14 | {"dish":"Sushi","origin":"Japan","ingredients":["Rice","Fish","Seaweed"],"type":"Seafood"}  |
|    6 | {"movie":"Inception","director":"Christopher Nolan","year":2010,"genre":"Sci-fi"}           |
|   15 | {"game":"Chess","origin":"India","players":2,"type":"Board game"}                           |
|    7 | {"fruit":"Apple","color":"Red","origin":"USA","taste":"Sweet"}                              |
|   16 | {"painting":"Mona Lisa","artist":"Leonardo da Vinci","year":1503,"museum":"Louvre"}         |
|    8 | {"car":"Tesla Model S","manufacturer":"Tesla","year":2022,"type":"Electric"}                |
|   17 | {"sport":"Soccer","origin":"England","players":11,"ball":"Round"}                           |
|   18 | {"flower":"Rose","color":"Red","symbol":"Love","origin":"Asia"}                             |
+------+---------------------------------------------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_only_json limit -1'
––– output –––
+------+---------------------------------------------------------------------------------------------+
| id   | value                                                                                       |
+------+---------------------------------------------------------------------------------------------+
| 9    |                    {"song":"Bohemian Rhapsody","artist":"Queen","year":1975,"genre":"Rock"} |
| 10   |           {"company":"OpenAI","founded":2015,"location":"San Francisco","CEO":"Sam Altman"} |
| 11   |   {"planet":"Mars","distance_from_sun":227.900000,"orbital_period":687,"number_of_moons":2} |
| 12   | {"country":"Australia","continent":"Australia","capital":"Canberra","population":25.360000} |
| 13   |                     {"language":"Spanish","speakers":460,"origin":"Spain","script":"Latin"} |
| 14   |  {"dish":"Sushi","origin":"Japan","ingredients":["Rice","Fish","Seaweed"],"type":"Seafood"} |
| 15   |                           {"game":"Chess","origin":"India","players":2,"type":"Board game"} |
| 16   |         {"painting":"Mona Lisa","artist":"Leonardo da Vinci","year":1503,"museum":"Louvre"} |
| 17   |                           {"sport":"Soccer","origin":"England","players":11,"ball":"Round"} |
| 18   |                             {"flower":"Rose","color":"Red","symbol":"Love","origin":"Asia"} |
| 1    |                           {"key1":"value1","key2":"value2","key3":"value3","key4":"value4"} |
| 2    |                          {"name":"John","age":30,"city":"New York","occupation":"Engineer"} |
| 3    |                                 {"animal":"dog","color":"brown","age":5,"breed":"Labrador"} |
| 4    |                          {"subject":"Math","score":95,"passed":true,"comments":"Excellent"} |
| 5    |      {"book":"The Great Gatsby","author":"F. Scott Fitzgerald","year":1925,"genre":"Novel"} |
| 6    |           {"movie":"Inception","director":"Christopher Nolan","year":2010,"genre":"Sci-fi"} |
| 7    |                              {"fruit":"Apple","color":"Red","origin":"USA","taste":"Sweet"} |
| 8    |                {"car":"Tesla Model S","manufacturer":"Tesla","year":2022,"type":"Electric"} |
| 19   |                         {"element":"Hydrogen","symbol":"H","atomic_number":1,"state":"Gas"} |
| 20   |                  {"computer":"MacBook Pro","manufacturer":"Apple","year":2021,"OS":"macOS"} |
+------+---------------------------------------------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select /*!40001 SQL_NO_CACHE */ * from mcl_only_json'
––– output –––
+------+---------------------------------------------------------------------------------------------+
| id   | value                                                                                       |
+------+---------------------------------------------------------------------------------------------+
| 9    |                    {"song":"Bohemian Rhapsody","artist":"Queen","year":1975,"genre":"Rock"} |
| 10   |           {"company":"OpenAI","founded":2015,"location":"San Francisco","CEO":"Sam Altman"} |
| 11   |   {"planet":"Mars","distance_from_sun":227.900000,"orbital_period":687,"number_of_moons":2} |
| 12   | {"country":"Australia","continent":"Australia","capital":"Canberra","population":25.360000} |
| 13   |                     {"language":"Spanish","speakers":460,"origin":"Spain","script":"Latin"} |
| 14   |  {"dish":"Sushi","origin":"Japan","ingredients":["Rice","Fish","Seaweed"],"type":"Seafood"} |
| 15   |                           {"game":"Chess","origin":"India","players":2,"type":"Board game"} |
| 16   |         {"painting":"Mona Lisa","artist":"Leonardo da Vinci","year":1503,"museum":"Louvre"} |
| 17   |                           {"sport":"Soccer","origin":"England","players":11,"ball":"Round"} |
| 18   |                             {"flower":"Rose","color":"Red","symbol":"Love","origin":"Asia"} |
| 1    |                           {"key1":"value1","key2":"value2","key3":"value3","key4":"value4"} |
| 2    |                          {"name":"John","age":30,"city":"New York","occupation":"Engineer"} |
| 3    |                                 {"animal":"dog","color":"brown","age":5,"breed":"Labrador"} |
| 4    |                          {"subject":"Math","score":95,"passed":true,"comments":"Excellent"} |
| 5    |      {"book":"The Great Gatsby","author":"F. Scott Fitzgerald","year":1925,"genre":"Novel"} |
| 6    |           {"movie":"Inception","director":"Christopher Nolan","year":2010,"genre":"Sci-fi"} |
| 7    |                              {"fruit":"Apple","color":"Red","origin":"USA","taste":"Sweet"} |
| 8    |                {"car":"Tesla Model S","manufacturer":"Tesla","year":2022,"type":"Electric"} |
| 19   |                         {"element":"Hydrogen","symbol":"H","atomic_number":1,"state":"Gas"} |
| 20   |                  {"computer":"MacBook Pro","manufacturer":"Apple","year":2021,"OS":"macOS"} |
+------+---------------------------------------------------------------------------------------------+
test/clt-tests/mysqldump/mysql/mcl-only-multi.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [37:42.144] [23] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [37:42.144] [23] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-only/multi.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_only_multi limit -1'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-only/multi-batch-1.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_only_multi'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-only/multi-batch-2.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_only_multi'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-only/multi-batch-3.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush table mcl_only_multi'
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_only_multi limit 20'
––– output –––
+------+-----------------+
| id   | value           |
+------+-----------------+
|   20 | 96,97,98,99,100 |
|   19 | 91,92,93,94,95  |
|    9 | 41,42,43,44,45  |
|    1 | 1,2,3,4,5       |
|    2 | 6,7,8,9,10      |
|   10 | 46,47,48,49,50  |
|    3 | 11,12,13,14,15  |
|   11 | 51,52,53,54,55  |
|    4 | 16,17,18,19,20  |
|   12 | 56,57,58,59,60  |
|   13 | 61,62,63,64,65  |
|    5 | 21,22,23,24,25  |
|   14 | 66,67,68,69,70  |
|    6 | 26,27,28,29,30  |
|   15 | 71,72,73,74,75  |
|    7 | 31,32,33,34,35  |
|   16 | 76,77,78,79,80  |
|    8 | 36,37,38,39,40  |
|   17 | 81,82,83,84,85  |
|   18 | 86,87,88,89,90  |
+------+-----------------+
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_only_multi limit -1'
––– output –––
+------+-------------------+
| id   | value             |
+------+-------------------+
| 9    |  (41,42,43,44,45) |
| 10   |  (46,47,48,49,50) |
| 11   |  (51,52,53,54,55) |
| 12   |  (56,57,58,59,60) |
| 13   |  (61,62,63,64,65) |
| 14   |  (66,67,68,69,70) |
| 15   |  (71,72,73,74,75) |
| 16   |  (76,77,78,79,80) |
| 17   |  (81,82,83,84,85) |
| 18   |  (86,87,88,89,90) |
| 1    |       (1,2,3,4,5) |
| 2    |      (6,7,8,9,10) |
| 3    |  (11,12,13,14,15) |
| 4    |  (16,17,18,19,20) |
| 5    |  (21,22,23,24,25) |
| 6    |  (26,27,28,29,30) |
| 7    |  (31,32,33,34,35) |
| 8    |  (36,37,38,39,40) |
| 19   |  (91,92,93,94,95) |
| 20   | (96,97,98,99,100) |
+------+-------------------+
––– input –––
mysql -h0 -P9306 -e 'select /*!40001 SQL_NO_CACHE */ * from mcl_only_multi'
––– output –––
+------+-------------------+
| id   | value             |
+------+-------------------+
| 9    |  (41,42,43,44,45) |
| 10   |  (46,47,48,49,50) |
| 11   |  (51,52,53,54,55) |
| 12   |  (56,57,58,59,60) |
| 13   |  (61,62,63,64,65) |
| 14   |  (66,67,68,69,70) |
| 15   |  (71,72,73,74,75) |
| 16   |  (76,77,78,79,80) |
| 17   |  (81,82,83,84,85) |
| 18   |  (86,87,88,89,90) |
| 1    |       (1,2,3,4,5) |
| 2    |      (6,7,8,9,10) |
| 3    |  (11,12,13,14,15) |
| 4    |  (16,17,18,19,20) |
| 5    |  (21,22,23,24,25) |
| 6    |  (26,27,28,29,30) |
| 7    |  (31,32,33,34,35) |
| 8    |  (36,37,38,39,40) |
| 19   |  (91,92,93,94,95) |
| 20   | (96,97,98,99,100) |
+------+-------------------+
test/clt-tests/mysqldump/mysql/no-mcl-multi.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [37:44.984] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [37:44.984] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/no-mcl/multi.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from no_mcl_multi limit -1'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/no-mcl/multi-batch-1.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk no_mcl_multi'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/no-mcl/multi-batch-2.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk no_mcl_multi'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/no-mcl/multi-batch-3.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush table no_mcl_multi'
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from no_mcl_multi limit 20'
––– output –––
+------+-----------------+
| id   | value           |
+------+-----------------+
|   20 | 96,97,98,99,100 |
|   19 | 91,92,93,94,95  |
|    9 | 41,42,43,44,45  |
|    1 | 1,2,3,4,5       |
|    2 | 6,7,8,9,10      |
|   10 | 46,47,48,49,50  |
|    3 | 11,12,13,14,15  |
|   11 | 51,52,53,54,55  |
|    4 | 16,17,18,19,20  |
|   12 | 56,57,58,59,60  |
|   13 | 61,62,63,64,65  |
|    5 | 21,22,23,24,25  |
|   14 | 66,67,68,69,70  |
|    6 | 26,27,28,29,30  |
|   15 | 71,72,73,74,75  |
|    7 | 31,32,33,34,35  |
|   16 | 76,77,78,79,80  |
|    8 | 36,37,38,39,40  |
|   17 | 81,82,83,84,85  |
|   18 | 86,87,88,89,90  |
+------+-----------------+
––– input –––
mysql -h0 -P9306 -e 'select * from no_mcl_multi limit -1'
––– output –––
+------+-------------------+
| id   | value             |
+------+-------------------+
| 9    |  (41,42,43,44,45) |
| 10   |  (46,47,48,49,50) |
| 11   |  (51,52,53,54,55) |
| 12   |  (56,57,58,59,60) |
| 13   |  (61,62,63,64,65) |
| 14   |  (66,67,68,69,70) |
| 15   |  (71,72,73,74,75) |
| 16   |  (76,77,78,79,80) |
| 17   |  (81,82,83,84,85) |
| 18   |  (86,87,88,89,90) |
| 1    |       (1,2,3,4,5) |
| 2    |      (6,7,8,9,10) |
| 3    |  (11,12,13,14,15) |
| 4    |  (16,17,18,19,20) |
| 5    |  (21,22,23,24,25) |
| 6    |  (26,27,28,29,30) |
| 7    |  (31,32,33,34,35) |
| 8    |  (36,37,38,39,40) |
| 19   |  (91,92,93,94,95) |
| 20   | (96,97,98,99,100) |
+------+-------------------+
––– input –––
mysql -h0 -P9306 -e 'select /*!40001 SQL_NO_CACHE */ * from no_mcl_multi'
––– output –––
+------+-------------------+
| id   | value             |
+------+-------------------+
| 9    |  (41,42,43,44,45) |
| 10   |  (46,47,48,49,50) |
| 11   |  (51,52,53,54,55) |
| 12   |  (56,57,58,59,60) |
| 13   |  (61,62,63,64,65) |
| 14   |  (66,67,68,69,70) |
| 15   |  (71,72,73,74,75) |
| 16   |  (76,77,78,79,80) |
| 17   |  (81,82,83,84,85) |
| 18   |  (86,87,88,89,90) |
| 1    |       (1,2,3,4,5) |
| 2    |      (6,7,8,9,10) |
| 3    |  (11,12,13,14,15) |
| 4    |  (16,17,18,19,20) |
| 5    |  (21,22,23,24,25) |
| 6    |  (26,27,28,29,30) |
| 7    |  (31,32,33,34,35) |
| 8    |  (36,37,38,39,40) |
| 19   |  (91,92,93,94,95) |
| 20   | (96,97,98,99,100) |
+------+-------------------+
test/clt-tests/mysqldump/mysql/mcl-id-multi.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [37:39.324] [23] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [37:39.324] [23] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-id/multi.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_id_multi limit -1'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-id/multi-batch-1.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_id_multi'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-id/multi-batch-2.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_id_multi'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-id/multi-batch-3.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush table mcl_id_multi'
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_id_multi limit 20'
––– output –––
+------+-----------------+
| id   | value           |
+------+-----------------+
|   20 | 96,97,98,99,100 |
|   19 | 91,92,93,94,95  |
|    9 | 41,42,43,44,45  |
|    1 | 1,2,3,4,5       |
|    2 | 6,7,8,9,10      |
|   10 | 46,47,48,49,50  |
|    3 | 11,12,13,14,15  |
|   11 | 51,52,53,54,55  |
|    4 | 16,17,18,19,20  |
|   12 | 56,57,58,59,60  |
|   13 | 61,62,63,64,65  |
|    5 | 21,22,23,24,25  |
|   14 | 66,67,68,69,70  |
|    6 | 26,27,28,29,30  |
|   15 | 71,72,73,74,75  |
|    7 | 31,32,33,34,35  |
|   16 | 76,77,78,79,80  |
|    8 | 36,37,38,39,40  |
|   17 | 81,82,83,84,85  |
|   18 | 86,87,88,89,90  |
+------+-----------------+
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_id_multi limit -1'
––– output –––
+------+-------------------+
| id   | value             |
+------+-------------------+
| 9    |  (41,42,43,44,45) |
| 10   |  (46,47,48,49,50) |
| 11   |  (51,52,53,54,55) |
| 12   |  (56,57,58,59,60) |
| 13   |  (61,62,63,64,65) |
| 14   |  (66,67,68,69,70) |
| 15   |  (71,72,73,74,75) |
| 16   |  (76,77,78,79,80) |
| 17   |  (81,82,83,84,85) |
| 18   |  (86,87,88,89,90) |
| 1    |       (1,2,3,4,5) |
| 2    |      (6,7,8,9,10) |
| 3    |  (11,12,13,14,15) |
| 4    |  (16,17,18,19,20) |
| 5    |  (21,22,23,24,25) |
| 6    |  (26,27,28,29,30) |
| 7    |  (31,32,33,34,35) |
| 8    |  (36,37,38,39,40) |
| 19   |  (91,92,93,94,95) |
| 20   | (96,97,98,99,100) |
+------+-------------------+
––– input –––
mysql -h0 -P9306 -e 'select /*!40001 SQL_NO_CACHE */ * from mcl_id_multi'
––– output –––
+------+-------------------+
| id   | value             |
+------+-------------------+
| 9    |  (41,42,43,44,45) |
| 10   |  (46,47,48,49,50) |
| 11   |  (51,52,53,54,55) |
| 12   |  (56,57,58,59,60) |
| 13   |  (61,62,63,64,65) |
| 14   |  (66,67,68,69,70) |
| 15   |  (71,72,73,74,75) |
| 16   |  (76,77,78,79,80) |
| 17   |  (81,82,83,84,85) |
| 18   |  (86,87,88,89,90) |
| 1    |       (1,2,3,4,5) |
| 2    |      (6,7,8,9,10) |
| 3    |  (11,12,13,14,15) |
| 4    |  (16,17,18,19,20) |
| 5    |  (21,22,23,24,25) |
| 6    |  (26,27,28,29,30) |
| 7    |  (31,32,33,34,35) |
| 8    |  (36,37,38,39,40) |
| 19   |  (91,92,93,94,95) |
| 20   | (96,97,98,99,100) |
+------+-------------------+
test/clt-tests/mysqldump/mysql/mcl-only-multi64.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [37:43.077] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [37:43.077] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-only/multi64.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_only_multi64 limit -1'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-only/multi64-batch-1.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_only_multi64'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-only/multi64-batch-2.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_only_multi64'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-only/multi64-batch-3.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush table mcl_only_multi64'
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_only_multi64 limit 20'
––– output –––
+------+--------------------------------------------------------+
| id   | value                                                  |
+------+--------------------------------------------------------+
|   20 | 1000000096,1000000097,1000000098,1000000099,1000000100 |
|   19 | 1000000091,1000000092,1000000093,1000000094,1000000095 |
|    9 | 1000000041,1000000042,1000000043,1000000044,1000000045 |
|    1 | 1000000001,1000000002,1000000003,1000000004,1000000005 |
|    2 | 1000000006,1000000007,1000000008,1000000009,1000000010 |
|   10 | 1000000046,1000000047,1000000048,1000000049,1000000050 |
|    3 | 1000000011,1000000012,1000000013,1000000014,1000000015 |
|   11 | 1000000051,1000000052,1000000053,1000000054,1000000055 |
|    4 | 1000000016,1000000017,1000000018,1000000019,1000000020 |
|   12 | 1000000056,1000000057,1000000058,1000000059,1000000060 |
|   13 | 1000000061,1000000062,1000000063,1000000064,1000000065 |
|    5 | 1000000021,1000000022,1000000023,1000000024,1000000025 |
|   14 | 1000000066,1000000067,1000000068,1000000069,1000000070 |
|    6 | 1000000026,1000000027,1000000028,1000000029,1000000030 |
|   15 | 1000000071,1000000072,1000000073,1000000074,1000000075 |
|    7 | 1000000031,1000000032,1000000033,1000000034,1000000035 |
|   16 | 1000000076,1000000077,1000000078,1000000079,1000000080 |
|    8 | 1000000036,1000000037,1000000038,1000000039,1000000040 |
|   17 | 1000000081,1000000082,1000000083,1000000084,1000000085 |
|   18 | 1000000086,1000000087,1000000088,1000000089,1000000090 |
+------+--------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_only_multi64 limit -1'
––– output –––
+------+----------------------------------------------------------+
| id   | value                                                    |
+------+----------------------------------------------------------+
| 9    | (1000000041,1000000042,1000000043,1000000044,1000000045) |
| 10   | (1000000046,1000000047,1000000048,1000000049,1000000050) |
| 11   | (1000000051,1000000052,1000000053,1000000054,1000000055) |
| 12   | (1000000056,1000000057,1000000058,1000000059,1000000060) |
| 13   | (1000000061,1000000062,1000000063,1000000064,1000000065) |
| 14   | (1000000066,1000000067,1000000068,1000000069,1000000070) |
| 15   | (1000000071,1000000072,1000000073,1000000074,1000000075) |
| 16   | (1000000076,1000000077,1000000078,1000000079,1000000080) |
| 17   | (1000000081,1000000082,1000000083,1000000084,1000000085) |
| 18   | (1000000086,1000000087,1000000088,1000000089,1000000090) |
| 1    | (1000000001,1000000002,1000000003,1000000004,1000000005) |
| 2    | (1000000006,1000000007,1000000008,1000000009,1000000010) |
| 3    | (1000000011,1000000012,1000000013,1000000014,1000000015) |
| 4    | (1000000016,1000000017,1000000018,1000000019,1000000020) |
| 5    | (1000000021,1000000022,1000000023,1000000024,1000000025) |
| 6    | (1000000026,1000000027,1000000028,1000000029,1000000030) |
| 7    | (1000000031,1000000032,1000000033,1000000034,1000000035) |
| 8    | (1000000036,1000000037,1000000038,1000000039,1000000040) |
| 19   | (1000000091,1000000092,1000000093,1000000094,1000000095) |
| 20   | (1000000096,1000000097,1000000098,1000000099,1000000100) |
+------+----------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select /*!40001 SQL_NO_CACHE */ * from mcl_only_multi64'
––– output –––
+------+----------------------------------------------------------+
| id   | value                                                    |
+------+----------------------------------------------------------+
| 9    | (1000000041,1000000042,1000000043,1000000044,1000000045) |
| 10   | (1000000046,1000000047,1000000048,1000000049,1000000050) |
| 11   | (1000000051,1000000052,1000000053,1000000054,1000000055) |
| 12   | (1000000056,1000000057,1000000058,1000000059,1000000060) |
| 13   | (1000000061,1000000062,1000000063,1000000064,1000000065) |
| 14   | (1000000066,1000000067,1000000068,1000000069,1000000070) |
| 15   | (1000000071,1000000072,1000000073,1000000074,1000000075) |
| 16   | (1000000076,1000000077,1000000078,1000000079,1000000080) |
| 17   | (1000000081,1000000082,1000000083,1000000084,1000000085) |
| 18   | (1000000086,1000000087,1000000088,1000000089,1000000090) |
| 1    | (1000000001,1000000002,1000000003,1000000004,1000000005) |
| 2    | (1000000006,1000000007,1000000008,1000000009,1000000010) |
| 3    | (1000000011,1000000012,1000000013,1000000014,1000000015) |
| 4    | (1000000016,1000000017,1000000018,1000000019,1000000020) |
| 5    | (1000000021,1000000022,1000000023,1000000024,1000000025) |
| 6    | (1000000026,1000000027,1000000028,1000000029,1000000030) |
| 7    | (1000000031,1000000032,1000000033,1000000034,1000000035) |
| 8    | (1000000036,1000000037,1000000038,1000000039,1000000040) |
| 19   | (1000000091,1000000092,1000000093,1000000094,1000000095) |
| 20   | (1000000096,1000000097,1000000098,1000000099,1000000100) |
+------+----------------------------------------------------------+
test/clt-tests/mysqldump/mysql/no-mcl-multi64.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [37:45.968] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [37:45.968] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/no-mcl/multi64.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from no_mcl_multi64 limit -1'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/no-mcl/multi64-batch-1.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk no_mcl_multi64'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/no-mcl/multi64-batch-2.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk no_mcl_multi64'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/no-mcl/multi64-batch-3.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush table no_mcl_multi64'
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from no_mcl_multi64 limit 20'
––– output –––
+------+--------------------------------------------------------+
| id   | value                                                  |
+------+--------------------------------------------------------+
|   20 | 1000000096,1000000097,1000000098,1000000099,1000000100 |
|   19 | 1000000091,1000000092,1000000093,1000000094,1000000095 |
|    9 | 1000000041,1000000042,1000000043,1000000044,1000000045 |
|    1 | 1000000001,1000000002,1000000003,1000000004,1000000005 |
|    2 | 1000000006,1000000007,1000000008,1000000009,1000000010 |
|   10 | 1000000046,1000000047,1000000048,1000000049,1000000050 |
|    3 | 1000000011,1000000012,1000000013,1000000014,1000000015 |
|   11 | 1000000051,1000000052,1000000053,1000000054,1000000055 |
|    4 | 1000000016,1000000017,1000000018,1000000019,1000000020 |
|   12 | 1000000056,1000000057,1000000058,1000000059,1000000060 |
|   13 | 1000000061,1000000062,1000000063,1000000064,1000000065 |
|    5 | 1000000021,1000000022,1000000023,1000000024,1000000025 |
|   14 | 1000000066,1000000067,1000000068,1000000069,1000000070 |
|    6 | 1000000026,1000000027,1000000028,1000000029,1000000030 |
|   15 | 1000000071,1000000072,1000000073,1000000074,1000000075 |
|    7 | 1000000031,1000000032,1000000033,1000000034,1000000035 |
|   16 | 1000000076,1000000077,1000000078,1000000079,1000000080 |
|    8 | 1000000036,1000000037,1000000038,1000000039,1000000040 |
|   17 | 1000000081,1000000082,1000000083,1000000084,1000000085 |
|   18 | 1000000086,1000000087,1000000088,1000000089,1000000090 |
+------+--------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select * from no_mcl_multi64 limit -1'
––– output –––
+------+----------------------------------------------------------+
| id   | value                                                    |
+------+----------------------------------------------------------+
| 9    | (1000000041,1000000042,1000000043,1000000044,1000000045) |
| 10   | (1000000046,1000000047,1000000048,1000000049,1000000050) |
| 11   | (1000000051,1000000052,1000000053,1000000054,1000000055) |
| 12   | (1000000056,1000000057,1000000058,1000000059,1000000060) |
| 13   | (1000000061,1000000062,1000000063,1000000064,1000000065) |
| 14   | (1000000066,1000000067,1000000068,1000000069,1000000070) |
| 15   | (1000000071,1000000072,1000000073,1000000074,1000000075) |
| 16   | (1000000076,1000000077,1000000078,1000000079,1000000080) |
| 17   | (1000000081,1000000082,1000000083,1000000084,1000000085) |
| 18   | (1000000086,1000000087,1000000088,1000000089,1000000090) |
| 1    | (1000000001,1000000002,1000000003,1000000004,1000000005) |
| 2    | (1000000006,1000000007,1000000008,1000000009,1000000010) |
| 3    | (1000000011,1000000012,1000000013,1000000014,1000000015) |
| 4    | (1000000016,1000000017,1000000018,1000000019,1000000020) |
| 5    | (1000000021,1000000022,1000000023,1000000024,1000000025) |
| 6    | (1000000026,1000000027,1000000028,1000000029,1000000030) |
| 7    | (1000000031,1000000032,1000000033,1000000034,1000000035) |
| 8    | (1000000036,1000000037,1000000038,1000000039,1000000040) |
| 19   | (1000000091,1000000092,1000000093,1000000094,1000000095) |
| 20   | (1000000096,1000000097,1000000098,1000000099,1000000100) |
+------+----------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select /*!40001 SQL_NO_CACHE */ * from no_mcl_multi64'
––– output –––
+------+----------------------------------------------------------+
| id   | value                                                    |
+------+----------------------------------------------------------+
| 9    | (1000000041,1000000042,1000000043,1000000044,1000000045) |
| 10   | (1000000046,1000000047,1000000048,1000000049,1000000050) |
| 11   | (1000000051,1000000052,1000000053,1000000054,1000000055) |
| 12   | (1000000056,1000000057,1000000058,1000000059,1000000060) |
| 13   | (1000000061,1000000062,1000000063,1000000064,1000000065) |
| 14   | (1000000066,1000000067,1000000068,1000000069,1000000070) |
| 15   | (1000000071,1000000072,1000000073,1000000074,1000000075) |
| 16   | (1000000076,1000000077,1000000078,1000000079,1000000080) |
| 17   | (1000000081,1000000082,1000000083,1000000084,1000000085) |
| 18   | (1000000086,1000000087,1000000088,1000000089,1000000090) |
| 1    | (1000000001,1000000002,1000000003,1000000004,1000000005) |
| 2    | (1000000006,1000000007,1000000008,1000000009,1000000010) |
| 3    | (1000000011,1000000012,1000000013,1000000014,1000000015) |
| 4    | (1000000016,1000000017,1000000018,1000000019,1000000020) |
| 5    | (1000000021,1000000022,1000000023,1000000024,1000000025) |
| 6    | (1000000026,1000000027,1000000028,1000000029,1000000030) |
| 7    | (1000000031,1000000032,1000000033,1000000034,1000000035) |
| 8    | (1000000036,1000000037,1000000038,1000000039,1000000040) |
| 19   | (1000000091,1000000092,1000000093,1000000094,1000000095) |
| 20   | (1000000096,1000000097,1000000098,1000000099,1000000100) |
+------+----------------------------------------------------------+
test/clt-tests/mysqldump/mysql/mcl-all-multi.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [37:36.301] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [37:36.301] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-all/multi.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_all_multi limit -1'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-all/multi-batch-1.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_all_multi'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-all/multi-batch-2.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_all_multi'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-all/multi-batch-3.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush table mcl_all_multi'
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_all_multi limit 20'
––– output –––
+------+-----------------+
| id   | value           |
+------+-----------------+
|   20 | 96,97,98,99,100 |
|   19 | 91,92,93,94,95  |
|    9 | 41,42,43,44,45  |
|    1 | 1,2,3,4,5       |
|    2 | 6,7,8,9,10      |
|   10 | 46,47,48,49,50  |
|    3 | 11,12,13,14,15  |
|   11 | 51,52,53,54,55  |
|    4 | 16,17,18,19,20  |
|   12 | 56,57,58,59,60  |
|   13 | 61,62,63,64,65  |
|    5 | 21,22,23,24,25  |
|   14 | 66,67,68,69,70  |
|    6 | 26,27,28,29,30  |
|   15 | 71,72,73,74,75  |
|    7 | 31,32,33,34,35  |
|   16 | 76,77,78,79,80  |
|    8 | 36,37,38,39,40  |
|   17 | 81,82,83,84,85  |
|   18 | 86,87,88,89,90  |
+------+-----------------+
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_all_multi limit -1'
––– output –––
+------+-------------------+
| id   | value             |
+------+-------------------+
| 9    |  (41,42,43,44,45) |
| 10   |  (46,47,48,49,50) |
| 11   |  (51,52,53,54,55) |
| 12   |  (56,57,58,59,60) |
| 13   |  (61,62,63,64,65) |
| 14   |  (66,67,68,69,70) |
| 15   |  (71,72,73,74,75) |
| 16   |  (76,77,78,79,80) |
| 17   |  (81,82,83,84,85) |
| 18   |  (86,87,88,89,90) |
| 1    |       (1,2,3,4,5) |
| 2    |      (6,7,8,9,10) |
| 3    |  (11,12,13,14,15) |
| 4    |  (16,17,18,19,20) |
| 5    |  (21,22,23,24,25) |
| 6    |  (26,27,28,29,30) |
| 7    |  (31,32,33,34,35) |
| 8    |  (36,37,38,39,40) |
| 19   |  (91,92,93,94,95) |
| 20   | (96,97,98,99,100) |
+------+-------------------+
––– input –––
mysql -h0 -P9306 -e 'select /*!40001 SQL_NO_CACHE */ * from mcl_all_multi'
––– output –––
+------+-------------------+
| id   | value             |
+------+-------------------+
| 9    |  (41,42,43,44,45) |
| 10   |  (46,47,48,49,50) |
| 11   |  (51,52,53,54,55) |
| 12   |  (56,57,58,59,60) |
| 13   |  (61,62,63,64,65) |
| 14   |  (66,67,68,69,70) |
| 15   |  (71,72,73,74,75) |
| 16   |  (76,77,78,79,80) |
| 17   |  (81,82,83,84,85) |
| 18   |  (86,87,88,89,90) |
| 1    |       (1,2,3,4,5) |
| 2    |      (6,7,8,9,10) |
| 3    |  (11,12,13,14,15) |
| 4    |  (16,17,18,19,20) |
| 5    |  (21,22,23,24,25) |
| 6    |  (26,27,28,29,30) |
| 7    |  (31,32,33,34,35) |
| 8    |  (36,37,38,39,40) |
| 19   |  (91,92,93,94,95) |
| 20   | (96,97,98,99,100) |
+------+-------------------+
test/clt-tests/mysqldump/mysql/pq-table-mysqldump.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [37:46.952] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [37:46.952] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -P9306 -h0 -e "create table pq(f text) type='percolate'"
––– output –––
––– input –––
mysql -P9306 -h0 -e "insert into pq(id, query) values(1, '@f abc'),(2, 'def')"
––– output –––
––– input –––
mysql -P9306 -h0 -e "select * from pq"
––– output –––
+------+--------+------+---------+
| id   | query  | tags | filters |
+------+--------+------+---------+
|    2 | def    |      |         |
|    1 | @f abc |      |         |
+------+--------+------+---------+
––– input –––
mysqldump -h0 -P9306 manticore 2>/dev/null 1> /tmp/pq-dump.sql
––– output –––
––– input –––
mysql -P9306 -h0 -e 'drop table pq'
––– output –––
––– input –––
mysql -P9306 -h0 -e 'show tables'
––– output –––
––– input –––
mysql -h0 -P9306 manticore < /tmp/pq-dump.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from pq;'
––– output –––
+------+--------+------+---------+
| id   | query  | tags | filters |
+------+--------+------+---------+
|    2 | def    |      |         |
|    1 | @f abc |      |         |
+------+--------+------+---------+
test/clt-tests/mysqldump/mysql/mcl-id-multi64.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [37:40.244] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [37:40.245] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-id/multi64.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_id_multi64 limit -1'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-id/multi64-batch-1.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_id_multi64'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-id/multi64-batch-2.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_id_multi64'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-id/multi64-batch-3.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush table mcl_id_multi64'
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_id_multi64 limit 20'
––– output –––
+------+--------------------------------------------------------+
| id   | value                                                  |
+------+--------------------------------------------------------+
|   20 | 1000000096,1000000097,1000000098,1000000099,1000000100 |
|   19 | 1000000091,1000000092,1000000093,1000000094,1000000095 |
|    9 | 1000000041,1000000042,1000000043,1000000044,1000000045 |
|    1 | 1000000001,1000000002,1000000003,1000000004,1000000005 |
|    2 | 1000000006,1000000007,1000000008,1000000009,1000000010 |
|   10 | 1000000046,1000000047,1000000048,1000000049,1000000050 |
|    3 | 1000000011,1000000012,1000000013,1000000014,1000000015 |
|   11 | 1000000051,1000000052,1000000053,1000000054,1000000055 |
|    4 | 1000000016,1000000017,1000000018,1000000019,1000000020 |
|   12 | 1000000056,1000000057,1000000058,1000000059,1000000060 |
|   13 | 1000000061,1000000062,1000000063,1000000064,1000000065 |
|    5 | 1000000021,1000000022,1000000023,1000000024,1000000025 |
|   14 | 1000000066,1000000067,1000000068,1000000069,1000000070 |
|    6 | 1000000026,1000000027,1000000028,1000000029,1000000030 |
|   15 | 1000000071,1000000072,1000000073,1000000074,1000000075 |
|    7 | 1000000031,1000000032,1000000033,1000000034,1000000035 |
|   16 | 1000000076,1000000077,1000000078,1000000079,1000000080 |
|    8 | 1000000036,1000000037,1000000038,1000000039,1000000040 |
|   17 | 1000000081,1000000082,1000000083,1000000084,1000000085 |
|   18 | 1000000086,1000000087,1000000088,1000000089,1000000090 |
+------+--------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_id_multi64 limit -1'
––– output –––
+------+----------------------------------------------------------+
| id   | value                                                    |
+------+----------------------------------------------------------+
| 9    | (1000000041,1000000042,1000000043,1000000044,1000000045) |
| 10   | (1000000046,1000000047,1000000048,1000000049,1000000050) |
| 11   | (1000000051,1000000052,1000000053,1000000054,1000000055) |
| 12   | (1000000056,1000000057,1000000058,1000000059,1000000060) |
| 13   | (1000000061,1000000062,1000000063,1000000064,1000000065) |
| 14   | (1000000066,1000000067,1000000068,1000000069,1000000070) |
| 15   | (1000000071,1000000072,1000000073,1000000074,1000000075) |
| 16   | (1000000076,1000000077,1000000078,1000000079,1000000080) |
| 17   | (1000000081,1000000082,1000000083,1000000084,1000000085) |
| 18   | (1000000086,1000000087,1000000088,1000000089,1000000090) |
| 1    | (1000000001,1000000002,1000000003,1000000004,1000000005) |
| 2    | (1000000006,1000000007,1000000008,1000000009,1000000010) |
| 3    | (1000000011,1000000012,1000000013,1000000014,1000000015) |
| 4    | (1000000016,1000000017,1000000018,1000000019,1000000020) |
| 5    | (1000000021,1000000022,1000000023,1000000024,1000000025) |
| 6    | (1000000026,1000000027,1000000028,1000000029,1000000030) |
| 7    | (1000000031,1000000032,1000000033,1000000034,1000000035) |
| 8    | (1000000036,1000000037,1000000038,1000000039,1000000040) |
| 19   | (1000000091,1000000092,1000000093,1000000094,1000000095) |
| 20   | (1000000096,1000000097,1000000098,1000000099,1000000100) |
+------+----------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select /*!40001 SQL_NO_CACHE */ * from mcl_id_multi64'
––– output –––
+------+----------------------------------------------------------+
| id   | value                                                    |
+------+----------------------------------------------------------+
| 9    | (1000000041,1000000042,1000000043,1000000044,1000000045) |
| 10   | (1000000046,1000000047,1000000048,1000000049,1000000050) |
| 11   | (1000000051,1000000052,1000000053,1000000054,1000000055) |
| 12   | (1000000056,1000000057,1000000058,1000000059,1000000060) |
| 13   | (1000000061,1000000062,1000000063,1000000064,1000000065) |
| 14   | (1000000066,1000000067,1000000068,1000000069,1000000070) |
| 15   | (1000000071,1000000072,1000000073,1000000074,1000000075) |
| 16   | (1000000076,1000000077,1000000078,1000000079,1000000080) |
| 17   | (1000000081,1000000082,1000000083,1000000084,1000000085) |
| 18   | (1000000086,1000000087,1000000088,1000000089,1000000090) |
| 1    | (1000000001,1000000002,1000000003,1000000004,1000000005) |
| 2    | (1000000006,1000000007,1000000008,1000000009,1000000010) |
| 3    | (1000000011,1000000012,1000000013,1000000014,1000000015) |
| 4    | (1000000016,1000000017,1000000018,1000000019,1000000020) |
| 5    | (1000000021,1000000022,1000000023,1000000024,1000000025) |
| 6    | (1000000026,1000000027,1000000028,1000000029,1000000030) |
| 7    | (1000000031,1000000032,1000000033,1000000034,1000000035) |
| 8    | (1000000036,1000000037,1000000038,1000000039,1000000040) |
| 19   | (1000000091,1000000092,1000000093,1000000094,1000000095) |
| 20   | (1000000096,1000000097,1000000098,1000000099,1000000100) |
+------+----------------------------------------------------------+
test/clt-tests/mysqldump/mysql/mcl-id-json.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [37:38.297] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [37:38.297] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-id/json.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_id_json limit -1'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-id/json-batch-1.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_id_json'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-id/json-batch-2.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_id_json'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-id/json-batch-3.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush table mcl_id_json'
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_id_json limit 20'
––– output –––
+------+---------------------------------------------------------------------------------------------+
| id   | value                                                                                       |
+------+---------------------------------------------------------------------------------------------+
|   20 | {"computer":"MacBook Pro","manufacturer":"Apple","year":2021,"OS":"macOS"}                  |
|   19 | {"element":"Hydrogen","symbol":"H","atomic_number":1,"state":"Gas"}                         |
|    9 | {"song":"Bohemian Rhapsody","artist":"Queen","year":1975,"genre":"Rock"}                    |
|    1 | {"key1":"value1","key2":"value2","key3":"value3","key4":"value4"}                           |
|    2 | {"name":"John","age":30,"city":"New York","occupation":"Engineer"}                          |
|   10 | {"company":"OpenAI","founded":2015,"location":"San Francisco","CEO":"Sam Altman"}           |
|    3 | {"animal":"dog","color":"brown","age":5,"breed":"Labrador"}                                 |
|   11 | {"planet":"Mars","distance_from_sun":227.900000,"orbital_period":687,"number_of_moons":2}   |
|    4 | {"subject":"Math","score":95,"passed":true,"comments":"Excellent"}                          |
|   12 | {"country":"Australia","continent":"Australia","capital":"Canberra","population":25.360000} |
|   13 | {"language":"Spanish","speakers":460,"origin":"Spain","script":"Latin"}                     |
|    5 | {"book":"The Great Gatsby","author":"F. Scott Fitzgerald","year":1925,"genre":"Novel"}      |
|   14 | {"dish":"Sushi","origin":"Japan","ingredients":["Rice","Fish","Seaweed"],"type":"Seafood"}  |
|    6 | {"movie":"Inception","director":"Christopher Nolan","year":2010,"genre":"Sci-fi"}           |
|   15 | {"game":"Chess","origin":"India","players":2,"type":"Board game"}                           |
|    7 | {"fruit":"Apple","color":"Red","origin":"USA","taste":"Sweet"}                              |
|   16 | {"painting":"Mona Lisa","artist":"Leonardo da Vinci","year":1503,"museum":"Louvre"}         |
|    8 | {"car":"Tesla Model S","manufacturer":"Tesla","year":2022,"type":"Electric"}                |
|   17 | {"sport":"Soccer","origin":"England","players":11,"ball":"Round"}                           |
|   18 | {"flower":"Rose","color":"Red","symbol":"Love","origin":"Asia"}                             |
+------+---------------------------------------------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_id_json limit -1'
––– output –––
+------+---------------------------------------------------------------------------------------------+
| id   | value                                                                                       |
+------+---------------------------------------------------------------------------------------------+
| 9    |                    {"song":"Bohemian Rhapsody","artist":"Queen","year":1975,"genre":"Rock"} |
| 10   |           {"company":"OpenAI","founded":2015,"location":"San Francisco","CEO":"Sam Altman"} |
| 11   |   {"planet":"Mars","distance_from_sun":227.900000,"orbital_period":687,"number_of_moons":2} |
| 12   | {"country":"Australia","continent":"Australia","capital":"Canberra","population":25.360000} |
| 13   |                     {"language":"Spanish","speakers":460,"origin":"Spain","script":"Latin"} |
| 14   |  {"dish":"Sushi","origin":"Japan","ingredients":["Rice","Fish","Seaweed"],"type":"Seafood"} |
| 15   |                           {"game":"Chess","origin":"India","players":2,"type":"Board game"} |
| 16   |         {"painting":"Mona Lisa","artist":"Leonardo da Vinci","year":1503,"museum":"Louvre"} |
| 17   |                           {"sport":"Soccer","origin":"England","players":11,"ball":"Round"} |
| 18   |                             {"flower":"Rose","color":"Red","symbol":"Love","origin":"Asia"} |
| 1    |                           {"key1":"value1","key2":"value2","key3":"value3","key4":"value4"} |
| 2    |                          {"name":"John","age":30,"city":"New York","occupation":"Engineer"} |
| 3    |                                 {"animal":"dog","color":"brown","age":5,"breed":"Labrador"} |
| 4    |                          {"subject":"Math","score":95,"passed":true,"comments":"Excellent"} |
| 5    |      {"book":"The Great Gatsby","author":"F. Scott Fitzgerald","year":1925,"genre":"Novel"} |
| 6    |           {"movie":"Inception","director":"Christopher Nolan","year":2010,"genre":"Sci-fi"} |
| 7    |                              {"fruit":"Apple","color":"Red","origin":"USA","taste":"Sweet"} |
| 8    |                {"car":"Tesla Model S","manufacturer":"Tesla","year":2022,"type":"Electric"} |
| 19   |                         {"element":"Hydrogen","symbol":"H","atomic_number":1,"state":"Gas"} |
| 20   |                  {"computer":"MacBook Pro","manufacturer":"Apple","year":2021,"OS":"macOS"} |
+------+---------------------------------------------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select /*!40001 SQL_NO_CACHE */ * from mcl_id_json'
––– output –––
+------+---------------------------------------------------------------------------------------------+
| id   | value                                                                                       |
+------+---------------------------------------------------------------------------------------------+
| 9    |                    {"song":"Bohemian Rhapsody","artist":"Queen","year":1975,"genre":"Rock"} |
| 10   |           {"company":"OpenAI","founded":2015,"location":"San Francisco","CEO":"Sam Altman"} |
| 11   |   {"planet":"Mars","distance_from_sun":227.900000,"orbital_period":687,"number_of_moons":2} |
| 12   | {"country":"Australia","continent":"Australia","capital":"Canberra","population":25.360000} |
| 13   |                     {"language":"Spanish","speakers":460,"origin":"Spain","script":"Latin"} |
| 14   |  {"dish":"Sushi","origin":"Japan","ingredients":["Rice","Fish","Seaweed"],"type":"Seafood"} |
| 15   |                           {"game":"Chess","origin":"India","players":2,"type":"Board game"} |
| 16   |         {"painting":"Mona Lisa","artist":"Leonardo da Vinci","year":1503,"museum":"Louvre"} |
| 17   |                           {"sport":"Soccer","origin":"England","players":11,"ball":"Round"} |
| 18   |                             {"flower":"Rose","color":"Red","symbol":"Love","origin":"Asia"} |
| 1    |                           {"key1":"value1","key2":"value2","key3":"value3","key4":"value4"} |
| 2    |                          {"name":"John","age":30,"city":"New York","occupation":"Engineer"} |
| 3    |                                 {"animal":"dog","color":"brown","age":5,"breed":"Labrador"} |
| 4    |                          {"subject":"Math","score":95,"passed":true,"comments":"Excellent"} |
| 5    |      {"book":"The Great Gatsby","author":"F. Scott Fitzgerald","year":1925,"genre":"Novel"} |
| 6    |           {"movie":"Inception","director":"Christopher Nolan","year":2010,"genre":"Sci-fi"} |
| 7    |                              {"fruit":"Apple","color":"Red","origin":"USA","taste":"Sweet"} |
| 8    |                {"car":"Tesla Model S","manufacturer":"Tesla","year":2022,"type":"Electric"} |
| 19   |                         {"element":"Hydrogen","symbol":"H","atomic_number":1,"state":"Gas"} |
| 20   |                  {"computer":"MacBook Pro","manufacturer":"Apple","year":2021,"OS":"macOS"} |
+------+---------------------------------------------------------------------------------------------+
test/clt-tests/mysqldump/mysql/no-mcl-json.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [37:44.032] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [37:44.032] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/no-mcl/json.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from no_mcl_json limit -1'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/no-mcl/json-batch-1.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk no_mcl_json'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/no-mcl/json-batch-2.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk no_mcl_json'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/no-mcl/json-batch-3.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush table no_mcl_json'
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from no_mcl_json limit 20'
––– output –––
+------+---------------------------------------------------------------------------------------------+
| id   | value                                                                                       |
+------+---------------------------------------------------------------------------------------------+
|   20 | {"computer":"MacBook Pro","manufacturer":"Apple","year":2021,"OS":"macOS"}                  |
|   19 | {"element":"Hydrogen","symbol":"H","atomic_number":1,"state":"Gas"}                         |
|    9 | {"song":"Bohemian Rhapsody","artist":"Queen","year":1975,"genre":"Rock"}                    |
|    1 | {"key1":"value1","key2":"value2","key3":"value3","key4":"value4"}                           |
|    2 | {"name":"John","age":30,"city":"New York","occupation":"Engineer"}                          |
|   10 | {"company":"OpenAI","founded":2015,"location":"San Francisco","CEO":"Sam Altman"}           |
|    3 | {"animal":"dog","color":"brown","age":5,"breed":"Labrador"}                                 |
|   11 | {"planet":"Mars","distance_from_sun":227.900000,"orbital_period":687,"number_of_moons":2}   |
|    4 | {"subject":"Math","score":95,"passed":true,"comments":"Excellent"}                          |
|   12 | {"country":"Australia","continent":"Australia","capital":"Canberra","population":25.360000} |
|   13 | {"language":"Spanish","speakers":460,"origin":"Spain","script":"Latin"}                     |
|    5 | {"book":"The Great Gatsby","author":"F. Scott Fitzgerald","year":1925,"genre":"Novel"}      |
|   14 | {"dish":"Sushi","origin":"Japan","ingredients":["Rice","Fish","Seaweed"],"type":"Seafood"}  |
|    6 | {"movie":"Inception","director":"Christopher Nolan","year":2010,"genre":"Sci-fi"}           |
|   15 | {"game":"Chess","origin":"India","players":2,"type":"Board game"}                           |
|    7 | {"fruit":"Apple","color":"Red","origin":"USA","taste":"Sweet"}                              |
|   16 | {"painting":"Mona Lisa","artist":"Leonardo da Vinci","year":1503,"museum":"Louvre"}         |
|    8 | {"car":"Tesla Model S","manufacturer":"Tesla","year":2022,"type":"Electric"}                |
|   17 | {"sport":"Soccer","origin":"England","players":11,"ball":"Round"}                           |
|   18 | {"flower":"Rose","color":"Red","symbol":"Love","origin":"Asia"}                             |
+------+---------------------------------------------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select * from no_mcl_json limit -1'
––– output –––
+------+---------------------------------------------------------------------------------------------+
| id   | value                                                                                       |
+------+---------------------------------------------------------------------------------------------+
| 9    |                    {"song":"Bohemian Rhapsody","artist":"Queen","year":1975,"genre":"Rock"} |
| 10   |           {"company":"OpenAI","founded":2015,"location":"San Francisco","CEO":"Sam Altman"} |
| 11   |   {"planet":"Mars","distance_from_sun":227.900000,"orbital_period":687,"number_of_moons":2} |
| 12   | {"country":"Australia","continent":"Australia","capital":"Canberra","population":25.360000} |
| 13   |                     {"language":"Spanish","speakers":460,"origin":"Spain","script":"Latin"} |
| 14   |  {"dish":"Sushi","origin":"Japan","ingredients":["Rice","Fish","Seaweed"],"type":"Seafood"} |
| 15   |                           {"game":"Chess","origin":"India","players":2,"type":"Board game"} |
| 16   |         {"painting":"Mona Lisa","artist":"Leonardo da Vinci","year":1503,"museum":"Louvre"} |
| 17   |                           {"sport":"Soccer","origin":"England","players":11,"ball":"Round"} |
| 18   |                             {"flower":"Rose","color":"Red","symbol":"Love","origin":"Asia"} |
| 1    |                           {"key1":"value1","key2":"value2","key3":"value3","key4":"value4"} |
| 2    |                          {"name":"John","age":30,"city":"New York","occupation":"Engineer"} |
| 3    |                                 {"animal":"dog","color":"brown","age":5,"breed":"Labrador"} |
| 4    |                          {"subject":"Math","score":95,"passed":true,"comments":"Excellent"} |
| 5    |      {"book":"The Great Gatsby","author":"F. Scott Fitzgerald","year":1925,"genre":"Novel"} |
| 6    |           {"movie":"Inception","director":"Christopher Nolan","year":2010,"genre":"Sci-fi"} |
| 7    |                              {"fruit":"Apple","color":"Red","origin":"USA","taste":"Sweet"} |
| 8    |                {"car":"Tesla Model S","manufacturer":"Tesla","year":2022,"type":"Electric"} |
| 19   |                         {"element":"Hydrogen","symbol":"H","atomic_number":1,"state":"Gas"} |
| 20   |                  {"computer":"MacBook Pro","manufacturer":"Apple","year":2021,"OS":"macOS"} |
+------+---------------------------------------------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select /*!40001 SQL_NO_CACHE */ * from no_mcl_json'
––– output –––
+------+---------------------------------------------------------------------------------------------+
| id   | value                                                                                       |
+------+---------------------------------------------------------------------------------------------+
| 9    |                    {"song":"Bohemian Rhapsody","artist":"Queen","year":1975,"genre":"Rock"} |
| 10   |           {"company":"OpenAI","founded":2015,"location":"San Francisco","CEO":"Sam Altman"} |
| 11   |   {"planet":"Mars","distance_from_sun":227.900000,"orbital_period":687,"number_of_moons":2} |
| 12   | {"country":"Australia","continent":"Australia","capital":"Canberra","population":25.360000} |
| 13   |                     {"language":"Spanish","speakers":460,"origin":"Spain","script":"Latin"} |
| 14   |  {"dish":"Sushi","origin":"Japan","ingredients":["Rice","Fish","Seaweed"],"type":"Seafood"} |
| 15   |                           {"game":"Chess","origin":"India","players":2,"type":"Board game"} |
| 16   |         {"painting":"Mona Lisa","artist":"Leonardo da Vinci","year":1503,"museum":"Louvre"} |
| 17   |                           {"sport":"Soccer","origin":"England","players":11,"ball":"Round"} |
| 18   |                             {"flower":"Rose","color":"Red","symbol":"Love","origin":"Asia"} |
| 1    |                           {"key1":"value1","key2":"value2","key3":"value3","key4":"value4"} |
| 2    |                          {"name":"John","age":30,"city":"New York","occupation":"Engineer"} |
| 3    |                                 {"animal":"dog","color":"brown","age":5,"breed":"Labrador"} |
| 4    |                          {"subject":"Math","score":95,"passed":true,"comments":"Excellent"} |
| 5    |      {"book":"The Great Gatsby","author":"F. Scott Fitzgerald","year":1925,"genre":"Novel"} |
| 6    |           {"movie":"Inception","director":"Christopher Nolan","year":2010,"genre":"Sci-fi"} |
| 7    |                              {"fruit":"Apple","color":"Red","origin":"USA","taste":"Sweet"} |
| 8    |                {"car":"Tesla Model S","manufacturer":"Tesla","year":2022,"type":"Electric"} |
| 19   |                         {"element":"Hydrogen","symbol":"H","atomic_number":1,"state":"Gas"} |
| 20   |                  {"computer":"MacBook Pro","manufacturer":"Apple","year":2021,"OS":"macOS"} |
+------+---------------------------------------------------------------------------------------------+
test/clt-tests/mysqldump/mysql/mcl-all-json.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [37:35.325] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [37:35.325] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-all/json.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_all_json limit -1'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-all/json-batch-1.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_all_json'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-all/json-batch-2.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush ramchunk mcl_all_json'
––– output –––
––– input –––
mysql -h0 -P9306 < test/clt-tests/mysqldump/dumps/mcl-all/json-batch-3.sql
––– output –––
––– input –––
mysql -h0 -P9306 -e 'flush table mcl_all_json'
––– output –––
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_all_json limit 20'
––– output –––
+------+---------------------------------------------------------------------------------------------+
| id   | value                                                                                       |
+------+---------------------------------------------------------------------------------------------+
|   20 | {"computer":"MacBook Pro","manufacturer":"Apple","year":2021,"OS":"macOS"}                  |
|   19 | {"element":"Hydrogen","symbol":"H","atomic_number":1,"state":"Gas"}                         |
|    9 | {"song":"Bohemian Rhapsody","artist":"Queen","year":1975,"genre":"Rock"}                    |
|    1 | {"key1":"value1","key2":"value2","key3":"value3","key4":"value4"}                           |
|    2 | {"name":"John","age":30,"city":"New York","occupation":"Engineer"}                          |
|   10 | {"company":"OpenAI","founded":2015,"location":"San Francisco","CEO":"Sam Altman"}           |
|    3 | {"animal":"dog","color":"brown","age":5,"breed":"Labrador"}                                 |
|   11 | {"planet":"Mars","distance_from_sun":227.900000,"orbital_period":687,"number_of_moons":2}   |
|    4 | {"subject":"Math","score":95,"passed":true,"comments":"Excellent"}                          |
|   12 | {"country":"Australia","continent":"Australia","capital":"Canberra","population":25.360000} |
|   13 | {"language":"Spanish","speakers":460,"origin":"Spain","script":"Latin"}                     |
|    5 | {"book":"The Great Gatsby","author":"F. Scott Fitzgerald","year":1925,"genre":"Novel"}      |
|   14 | {"dish":"Sushi","origin":"Japan","ingredients":["Rice","Fish","Seaweed"],"type":"Seafood"}  |
|    6 | {"movie":"Inception","director":"Christopher Nolan","year":2010,"genre":"Sci-fi"}           |
|   15 | {"game":"Chess","origin":"India","players":2,"type":"Board game"}                           |
|    7 | {"fruit":"Apple","color":"Red","origin":"USA","taste":"Sweet"}                              |
|   16 | {"painting":"Mona Lisa","artist":"Leonardo da Vinci","year":1503,"museum":"Louvre"}         |
|    8 | {"car":"Tesla Model S","manufacturer":"Tesla","year":2022,"type":"Electric"}                |
|   17 | {"sport":"Soccer","origin":"England","players":11,"ball":"Round"}                           |
|   18 | {"flower":"Rose","color":"Red","symbol":"Love","origin":"Asia"}                             |
+------+---------------------------------------------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select * from mcl_all_json limit -1'
––– output –––
+------+---------------------------------------------------------------------------------------------+
| id   | value                                                                                       |
+------+---------------------------------------------------------------------------------------------+
| 9    |                    {"song":"Bohemian Rhapsody","artist":"Queen","year":1975,"genre":"Rock"} |
| 10   |           {"company":"OpenAI","founded":2015,"location":"San Francisco","CEO":"Sam Altman"} |
| 11   |   {"planet":"Mars","distance_from_sun":227.900000,"orbital_period":687,"number_of_moons":2} |
| 12   | {"country":"Australia","continent":"Australia","capital":"Canberra","population":25.360000} |
| 13   |                     {"language":"Spanish","speakers":460,"origin":"Spain","script":"Latin"} |
| 14   |  {"dish":"Sushi","origin":"Japan","ingredients":["Rice","Fish","Seaweed"],"type":"Seafood"} |
| 15   |                           {"game":"Chess","origin":"India","players":2,"type":"Board game"} |
| 16   |         {"painting":"Mona Lisa","artist":"Leonardo da Vinci","year":1503,"museum":"Louvre"} |
| 17   |                           {"sport":"Soccer","origin":"England","players":11,"ball":"Round"} |
| 18   |                             {"flower":"Rose","color":"Red","symbol":"Love","origin":"Asia"} |
| 1    |                           {"key1":"value1","key2":"value2","key3":"value3","key4":"value4"} |
| 2    |                          {"name":"John","age":30,"city":"New York","occupation":"Engineer"} |
| 3    |                                 {"animal":"dog","color":"brown","age":5,"breed":"Labrador"} |
| 4    |                          {"subject":"Math","score":95,"passed":true,"comments":"Excellent"} |
| 5    |      {"book":"The Great Gatsby","author":"F. Scott Fitzgerald","year":1925,"genre":"Novel"} |
| 6    |           {"movie":"Inception","director":"Christopher Nolan","year":2010,"genre":"Sci-fi"} |
| 7    |                              {"fruit":"Apple","color":"Red","origin":"USA","taste":"Sweet"} |
| 8    |                {"car":"Tesla Model S","manufacturer":"Tesla","year":2022,"type":"Electric"} |
| 19   |                         {"element":"Hydrogen","symbol":"H","atomic_number":1,"state":"Gas"} |
| 20   |                  {"computer":"MacBook Pro","manufacturer":"Apple","year":2021,"OS":"macOS"} |
+------+---------------------------------------------------------------------------------------------+
––– input –––
mysql -h0 -P9306 -e 'select /*!40001 SQL_NO_CACHE */ * from mcl_all_json'
––– output –––
+------+---------------------------------------------------------------------------------------------+
| id   | value                                                                                       |
+------+---------------------------------------------------------------------------------------------+
| 9    |                    {"song":"Bohemian Rhapsody","artist":"Queen","year":1975,"genre":"Rock"} |
| 10   |           {"company":"OpenAI","founded":2015,"location":"San Francisco","CEO":"Sam Altman"} |
| 11   |   {"planet":"Mars","distance_from_sun":227.900000,"orbital_period":687,"number_of_moons":2} |
| 12   | {"country":"Australia","continent":"Australia","capital":"Canberra","population":25.360000} |
| 13   |                     {"language":"Spanish","speakers":460,"origin":"Spain","script":"Latin"} |
| 14   |  {"dish":"Sushi","origin":"Japan","ingredients":["Rice","Fish","Seaweed"],"type":"Seafood"} |
| 15   |                           {"game":"Chess","origin":"India","players":2,"type":"Board game"} |
| 16   |         {"painting":"Mona Lisa","artist":"Leonardo da Vinci","year":1503,"museum":"Louvre"} |
| 17   |                           {"sport":"Soccer","origin":"England","players":11,"ball":"Round"} |
| 18   |                             {"flower":"Rose","color":"Red","symbol":"Love","origin":"Asia"} |
| 1    |                           {"key1":"value1","key2":"value2","key3":"value3","key4":"value4"} |
| 2    |                          {"name":"John","age":30,"city":"New York","occupation":"Engineer"} |
| 3    |                                 {"animal":"dog","color":"brown","age":5,"breed":"Labrador"} |
| 4    |                          {"subject":"Math","score":95,"passed":true,"comments":"Excellent"} |
| 5    |      {"book":"The Great Gatsby","author":"F. Scott Fitzgerald","year":1925,"genre":"Novel"} |
| 6    |           {"movie":"Inception","director":"Christopher Nolan","year":2010,"genre":"Sci-fi"} |
| 7    |                              {"fruit":"Apple","color":"Red","origin":"USA","taste":"Sweet"} |
| 8    |                {"car":"Tesla Model S","manufacturer":"Tesla","year":2022,"type":"Electric"} |
| 19   |                         {"element":"Hydrogen","symbol":"H","atomic_number":1,"state":"Gas"} |
| 20   |                  {"computer":"MacBook Pro","manufacturer":"Apple","year":2021,"OS":"macOS"} |
+------+---------------------------------------------------------------------------------------------+

Copy link

clt

👎 CLT tests in test/clt-tests/logstash/logstash-
✅ OK: 0
❌ Failed: 1
⏳ Duration: 90s
👉 Check Action Results for commit d41d72c
Failed tests:

test/clt-tests/logstash/logstash-dev.rec
––– input –––
set -b
––– output –––
––– input –––
export PATH=/usr/bin:/usr/local/bin:/usr/sbin:/sbin:/bin
––– output –––
––– input –––
apt-get update > /dev/null; echo $?
––– output –––
0
––– input –––
apt-get -y install gnupg2 openjdk-8-jre-headless curl jq > /dev/null; echo $?
––– output –––
debconf: delaying package configuration, since apt-utils is not installed
0
––– input –––
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | gpg --dearmor -o /usr/share/keyrings/elastic-keyring.gpg
––– output –––
––– input –––
echo "deb [signed-by=/usr/share/keyrings/elastic-keyring.gpg] https://artifacts.elastic.co/packages/8.x/apt stable main" | tee -a /etc/apt/sources.list.d/elastic-8.x.list
––– output –––
deb [signed-by=/usr/share/keyrings/elastic-keyring.gpg] https://artifacts.elastic.co/packages/8.x/apt stable main
––– input –––
mkdir /usr/share/logstash && cd $_
––– output –––
––– input –––
wget -q https://artifacts.elastic.co/downloads/logstash/logstash-7.10.0-linux-x86_64.tar.gz
––– output –––
––– input –––
tar -xvzf logstash-7.10.0-linux-x86_64.tar.gz > /dev/null; echo $?
––– output –––
0
––– input –––
mkdir /usr/share/filebeat && cd /usr/share/filebeat
––– output –––
––– input –––
wget -q https://artifacts.elastic.co/downloads/beats/filebeat/filebeat-8.11.0-linux-x86_64.tar.gz
––– output –––
––– input –––
tar -xvzf filebeat-8.11.0-linux-x86_64.tar.gz > /dev/null; echo $?
––– output –––
0
––– input –––
cd /usr/local/src
––– output –––
––– input –––
ln -s /usr/share/logstash/logstash-7.10.0/bin/logstash /usr/bin/logstash
––– output –––
––– input –––
ln -s /usr/share/filebeat/filebeat-8.11.0-linux-x86_64/filebeat /usr/bin/filebeat
––– output –––
––– input –––
manticore-executor -v
––– output –––
PHP %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} #!/[0-9]{2}:[0-9]{2}:[0-9]{2}/!#) (#!/[NZ]/!#TS)
Copyright (c) The PHP Group
Zend Engine #!/v[0-9]+\.[0-9]+\.[0-9]+/!#, Copyright (c) Zend Technologies
––– input –––
searchd
––– output –––
- Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [37:57.894] [1953] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} #!/[a-z0-9]{7,9}@[0-9]{8}/!# dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [37:57.894] [1953] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
+ listening on 127.0.0.1:9308 for sphinx and http(s)
––– input –––
printf 'input {\n    file {\n        path => ["/var/log/dpkg.log"]\n        start_position => "beginning"\n        sincedb_path => "/dev/null"\n        mode => "read"\n        exit_after_read => "true"\n        file_completed_action => "log"\n        file_completed_log_path => "/dev/null"\n    }\n}\n\noutput {\n    elasticsearch {\n        index => "testlog_1"\n        hosts => ["http://localhost:9308"]\n        ilm_enabled => false\n        manage_template => false\n    }\n}\n' > logstash.conf
––– output –––
––– input –––
timeout 60 logstash -f logstash.conf 2>/dev/null 1>/var/log/logstash.log && echo 'Done' || echo 'Timeout or failed'
––– output –––
Done
––– input –––
curl -s localhost:9308/cli_json -d 'describe testlog_1' | jq -cM '.[].data | sort_by(.Field)'
––– output –––
[{"Field":"@timestamp","Type":"timestamp","Properties":""},{"Field":"@version","Type":"text","Properties":"indexed stored"},{"Field":"host","Type":"text","Properties":"indexed stored"},{"Field":"id","Type":"bigint","Properties":""},{"Field":"message","Type":"text","Properties":"indexed stored"},{"Field":"path","Type":"text","Properties":"indexed stored"}]
––– input –––
printf 'filebeat.inputs:\n- type: filestream\n  id: testlog\n  paths:\n    - /var/log/dpkg.log\n\noutput.elasticsearch:\n  hosts: ["http://localhost:9308"]\n  index:  "testlog_2"\n  allow_older_versions: true\n  compression_level: 0\n\nsetup.ilm:\n  enabled: false\n\nsetup.template:\n  name: "testlog_2"\n  pattern: "testlog_2"\n\nseccomp:\n  default_action: allow\n  syscalls:\n  - action: allow\n    names:\n    - rseq' > filebeat.yml
––– output –––
––– input –––
filebeat -c filebeat.yml -strict.perms=false -e 2>/var/log/filebeat.log & pid=$!
––– output –––
[1] #!/[0-9]+/!#
––– input –––
if timeout 60 grep -qm1 'Non-zero metrics in the last 30s' <(tail -n 0 -f /var/log/filebeat.log); then echo 'Done'; else echo 'Timeout or failed'; cat /var/log/filebeat.log; cat /var/log/manticore/searchd.log; fi
––– output –––
Done
––– input –––
kill ${pid}
––– output –––
––– input –––
wait 2>&1 >/dev/null
––– output –––
[1]+  Done                    filebeat -c filebeat.yml -strict.perms=false -e 2> /var/log/filebeat.log
––– input –––
curl -s localhost:9308/cli_json -d 'describe testlog_2' | jq -cM '.[].data | sort_by(.Field)'
––– output –––
[{"Field":"@timestamp","Type":"timestamp","Properties":""},{"Field":"agent","Type":"json","Properties":""},{"Field":"ecs","Type":"json","Properties":""},{"Field":"host","Type":"json","Properties":""},{"Field":"id","Type":"bigint","Properties":""},{"Field":"input","Type":"json","Properties":""},{"Field":"log","Type":"json","Properties":""},{"Field":"message","Type":"text","Properties":"indexed stored"}]

Copy link

clt

👎 CLT tests in test/clt-tests/core/ test/clt-tests/expected-errors/
✅ OK: 1
❌ Failed: 7
⏳ Duration: 218s
👉 Check Action Results for commit d41d72c
Failed tests:

test/clt-tests/core/test-unfreeze-defrosts.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [40:10.893] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [40:10.893] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
set -b +m
––– output –––
––– input –––
mysql -h0 -P9306 -e "drop table if exists t; create table t(f text, s string) rt_mem_limit='128k'; insert into t values(0,'abc','string'); freeze t;" > /dev/null 2>&1
––– output –––
––– input –––
for n in `seq 1 100`; do mysql -h0 -P9306 -e "insert into t values(0, 'abc', 'string string string stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring string');"; done &
––– output –––
[1] %{NUMBER}
––– input –––
sleep 10; mysql -h0 -P9306 -e "select count(*) from t\G"
––– output –––
*************************** 1. row ***************************
count(*): #!/55|56|57|58|59/!#
––– input –––
mysql -h0 -P9306 -e "unfreeze t;"
––– output –––
––– input –––
sleep 10; mysql -h0 -P9306 -e "select count(*) from t\G"
––– output –––
*************************** 1. row ***************************
count(*): 101
––– input –––
mysql -h0 -P9306 -e "drop table if exists t; create table t(f text, s string) rt_mem_limit='128k'; insert into t values(0,'abc','string'); freeze t; freeze t; freeze t;" > /dev/null 2>&1
––– output –––
––– input –––
for n in `seq 1 100`; do mysql -h0 -P9306 -e "insert into t values(0, 'abc', 'string string string stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring string');"; done &
––– output –––
[1] %{NUMBER}
––– input –––
sleep 10; mysql -h0 -P9306 -e "select count(*) from t\G"
––– output –––
*************************** 1. row ***************************
count(*): #!/55|56|57|58|59/!#
––– input –––
mysql -h0 -P9306 -e "unfreeze t; unfreeze t; unfreeze t;"
––– output –––
––– input –––
sleep 10; mysql -h0 -P9306 -e "select count(*) from t\G"
––– output –––
*************************** 1. row ***************************
count(*): 101
––– input –––
mysql -h0 -P9306 -e "DROP TABLE IF EXISTS orders; CREATE TABLE orders (id bigint, user_id bigint, name text, description text, price float, order_date timestamp, attr json, region_id int, confirm bool, analogs multi); INSERT INTO orders (id, user_id, name, description, price, order_date, attr, region_id, confirm, analogs) VALUES (0, 1, 'Macbook', '16', 3500.99, 1614258732, '{\"color\":\"titan\",\"size\":16}', 22, 'TRUE', (8,4,16)) rt_mem_limit='64k'; freeze orders;" > /dev/null 2>&1
––– output –––
––– input –––
for n in `seq 1 500`; do mysql -h0 -P9306 -e "INSERT INTO orders (id, user_id, name, description, price, order_date, attr, region_id, confirm, analogs) VALUES (0, 1, 'iPhone', '14Pro', 1500.50, 1708866233, '{\"color\":\"black\",\"size\":14}', 178, 'TRUE', (9,11,15)), (0, 2, 'Macbook', '16', 3500.99, 1614258732, '{\"color\":\"titan\",\"size\":16}', 22, 'TRUE', (8,4,16)), (0, 3, 'iPad', '15Pro', 2600, 1708866234, '{\"color\":\"gold\",\"size\":15}', 178, 'TRUE', (9,11,15)), (0, 4, 'iPhone', '12Mini', 900.50, 1708866235, '{\"color\":\"blue\",\"size\":12}', 179, 'TRUE', (1,5,17)), (0, 5, 'Samsung Galaxy', 'S21', 1000, 1708866236, '{\"color\":\"white\",\"size\":14}', 180, 'FALSE', (13,19,21)), (0, 6, 'Dell Laptop', 'Latitude', 2000, 1708866237, '{\"color\":\"silver\",\"size\":15}', 181, 'TRUE', (4,6,23)), (0, 7, 'Headphones', 'Bluetooth', 100, 1708866238, '{\"color\":\"black\",\"size\":\"M\"}', 182, 'TRUE', (5,7,25)), (0, 8, 'Desk', 'Wooden', 400, 1708866239, '{\"color\":\"brown\",\"size\":\"XL\"}', 183, 'TRUE', (8,9,27)), (0, 9, 'Refrigerator', 'Samsung', 1500, 1708866240, '{\"color\":\"white\",\"size\":60}', 184, 'FALSE', (10,11,29)), (0, 10, 'Smartwatch', 'Fitbit', 300, 1708866241, '{\"color\":\"black\",\"size\":\"S\"}', 185, 'TRUE', (12,13,31)), (0, 11, 'Printer', 'Epson', 250, 1708866242, '{\"color\":\"grey\",\"size\":\"L\"}', 186, 'TRUE', (14,15,33)), (0, 12, 'Chair', 'Office', 150, 1708866243, '{\"color\":\"black\",\"size\":\"M\"}', 187, 'FALSE', (16,17,35)), (0, 13, 'Smartphone', 'Xiaomi', 700, 1708866244, '{\"color\":\"blue\",\"size\":6}', 188, 'TRUE', (18,19,37)), (0, 14, 'Camera', 'Canon', 800, 1708866245, '{\"color\":\"black\",\"size\":\"M\"}', 189, 'TRUE', (20,21,39)), (0, 15, 'Backpack', 'Hiking', 100, 1708866246, '{\"color\":\"green\",\"size\":\"S\"}', 190, 'TRUE', (22,23,41)), (0, 16, 'Table', 'Coffee', 250, 1708866247, '{\"color\":\"brown\",\"size\":\"L\"}', 191, 'FALSE', (24,25,43)), (0, 17, 'Smart TV', 'LG', 1200, 1708866248, '{\"color\":\"silver\",\"size\":55}', 192, 'TRUE', (26,27,45)), (0, 18, 'Blender', 'Kitchen', 80, 1708866249, '{\"color\":\"white\",\"size\":\"M\"}', 193, 'TRUE', (28,29,47)), (0, 19, 'Keyboard', 'Logitech', 50, 1708866250, '{\"color\":\"black\",\"size\":\"L\"}', 194, 'TRUE', (30,31,49)), (0, 20, 'Monitor', 'Samsung', 400, 1708866251, '{\"color\":\"black\",\"size\":24}', 195, 'TRUE', (32,33,51));"; done &
––– output –––
[1] %{NUMBER}
––– input –––
sleep 1; mysql -h0 -P9306 -e "select count(*) from orders\G"
––– output –––
*************************** 1. row ***************************
count(*): #!/3\d{3}|4\d{3}/!#
––– input –––
sleep 5; mysql -h0 -P9306 -e "unfreeze orders;"
––– output –––
––– input –––
sleep 5; mysql -h0 -P9306 -e "select count(*) from orders\G"
––– output –––
*************************** 1. row ***************************
count(*): 10000
test/clt-tests/core/show-threads.rec
––– input –––
searchd --cpustats
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
+ [37:35.368] [20] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [37:35.368] [20] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
+ listening on 127.0.0.1:9308 for sphinx and http(s)
––– input –––
mysql -h0 -P9306 -e "SHOW THREADS\G;"
––– output –––
*************************** 1. row ***************************
TID: %{NUMBER}
Name: work_%{NUMBER}
Proto: mysql
State: query
Connection from: 127.0.0.1:%{NUMBER}
ConnID: %{NUMBER}
This/prev job time: %{NUMBER}#!/(s|ms|us)/!#
CPU activity: %{NUMBER}.%{NUMBER}%
Jobs done: %{NUMBER}
Thread status: working
Info: SHOW THREADS
test/clt-tests/core/show-settings.rec
––– input –––
export INSTANCE=1
––– output –––
––– input –––
mkdir -p /var/{run,lib,log}/manticore-${INSTANCE}/{a,b,c,d,e,f,g,h,i,j}
––– output –––
––– input –––
stdbuf -oL searchd -c test/clt-tests/base/searchd-with-flexible-ports.conf | grep -v precach
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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 '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (%{NUMBER} chars)...
+ [Wed May 15 11:37:34.126 2024] [21] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [Wed May 15 11:37:34.128 2024] [21] using config file '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (383 chars)...
- listening on all interfaces for mysql, port=%{NUMBER}
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for mysql, port=1306
listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for sphinx and http(s), port=1308
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore-${INSTANCE}/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
mysql -h0 -P1306 -e "SHOW SETTINGS;"
––– output –––
+----------------------------+------------------------------------------------------------+
| Setting_name               | Value                                                      |
+----------------------------+------------------------------------------------------------+
| configuration_file         | /.clt/test/clt-tests/base/searchd-with-flexible-ports.conf |
| worker_pid                 | %{NUMBER}                                                         |
| searchd.listen             | 1306:mysql41                                               |
| searchd.listen             | 1312                                                       |
| searchd.listen             | 1308:http                                                  |
| searchd.log                | /var/log/manticore-1/searchd.log                           |
| searchd.query_log          | /var/log/manticore-1/query.log                             |
| searchd.pid_file           | /var/log/manticore-1/searchd.pid                           |
| searchd.data_dir           | /var/log/manticore-1                                       |
| searchd.query_log_format   | sphinxql                                                   |
| searchd.query_log_commands | 1                                                          |
| searchd.binlog_path        | /var/log/manticore-1/binlog                                |
| common.plugin_dir          | /usr/local/lib/manticore                                   |
| common.lemmatizer_base     | /usr/share/manticore/morph/                                |
+----------------------------+------------------------------------------------------------+
test/clt-tests/core/test-from-issue-1335.rec
––– input –––
searchd
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
+ [37:38.771] [20] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} #!/[a-z0-9]{7,9}@[0-9]{8}/!# dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [37:38.771] [20] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
+ listening on 127.0.0.1:9308 for sphinx and http(s)
––– input –––
php ./test/clt-tests/core/issue-1335-dump.php 10000 30 800000
––– output –––
finished inserting
%{NUMBER} docs per sec
––– input –––
mysql -h0 -P9306 -e "SELECT COUNT(*) FROM test\G;"
––– output –––
*************************** 1. row ***************************
count(*): %{NUMBER}
––– input –––
timeout 10 mysql -h0 -P9306 -e "select * from test where MATCH('@street walnut blvd') and country='US'\G;"
––– output –––
*************************** 1. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 2. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 3. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 4. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 5. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 6. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 7. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 8. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 9. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 10. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 11. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 12. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 13. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 14. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 15. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 16. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 17. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 18. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 19. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 20. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
test/clt-tests/core/test-alter-table.rec
––– input –––
rm -rf /var/lib/manticore
––– output –––
––– input –––
mkdir /tmp/test-alter/
––– output –––
––– input –––
ln -s /tmp/test-alter/ /var/lib/manticore
––– output –––
––– input –––
echo "a > b" > /tmp/test-alter/wordforms1.txt; echo "c > d" > /tmp/test-alter/exc.txt; echo "abcstop" > /tmp/test-alter/stop.txt
––– output –––
––– input –––
ls -1 /var/lib/manticore/
––– output –––
exc.txt
stop.txt
wordforms1.txt
––– input –––
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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [37:37.123] [24] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [37:37.123] [24] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Started
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Started
––– input –––
mysql -h0 -P9306 -e "CREATE TABLE test3 (title TEXT, tag INTEGER) exceptions='/var/lib/manticore/exc.txt' wordforms='/var/lib/manticore/wordforms1.txt' stopwords='/var/lib/manticore/stop.txt';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE test3 SETTINGS\G"
––– output –––
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /tmp/test-alter/test3/exc.txt
stopwords = /tmp/test-alter/test3/stop.txt
wordforms = /tmp/test-alter/test3/wordforms1.txt
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE test3 exceptions = ''"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE test3 SETTINGS\G"
––– output –––
*************************** 1. row ***************************
Variable_name: settings
Value: stopwords = /tmp/test-alter/test3/stop.txt
wordforms = /tmp/test-alter/test3/wordforms1.txt
test/clt-tests/core/test-replace-into.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [37:42.521] [23] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [37:42.521] [23] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– 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/core/generate-1mln-records.sh
––– output –––
––– input –––
./test/clt-tests/core/generate-1mln-records.sh
––– output –––
+-------+------+
| Index | 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 -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 –––
#!/[1-9]|1[0-2]/!#
––– 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
--------------
+-------+------+
| Index | 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
--------------
+-------+------+
| Index | 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/core/generate-1mln-records.sh
––– output –––
––– input –––
./test/clt-tests/core/generate-1mln-records.sh
––– output –––
+-------+------+
| Index | 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 -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 –––
#!/[1-9]|1[0-2]/!#
––– 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
--------------
+-------+------+
| Index | 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 |
+------+-----------------+------------------+--------------+--------------+------------+------------------+------+------------+---------------+-----------------------------------------+--------------------------------------------------------------------+-------------------------------------+
test/clt-tests/core/show-version.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [37:36.238] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [37:36.238] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 -e "show version\G;"
––– output –––
*************************** 1. row ***************************
Component: Daemon
Version: %{SEMVER} %{COMMITDATE} dev
*************************** 2. row ***************************
Component: Columnar
Version: columnar %{SEMVER} %{COMMITDATE}
*************************** 3. row ***************************
- Component: Secondary
+ Component: KNN
- Version: secondary %{SEMVER} %{COMMITDATE}
+ Version: knn 2.2.5 478fff2@240417
*************************** 4. row ***************************
- Component: KNN
+ Component: Buddy
- Version: knn %{SEMVER} %{COMMITDATE}
+ Version: buddy v2.3.7
- *************************** 5. row ***************************
+
- Component: Buddy
- Version: buddy v%{SEMVER}
-

Copy link

clt

👎 CLT tests in test/clt-tests/core/ test/clt-tests/expected-errors/
✅ OK: 1
❌ Failed: 7
⏳ Duration: 216s
👉 Check Action Results for commit d41d72c
Failed tests:

test/clt-tests/core/test-unfreeze-defrosts.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [57:02.572] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [57:02.572] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
set -b +m
––– output –––
––– input –––
mysql -h0 -P9306 -e "drop table if exists t; create table t(f text, s string) rt_mem_limit='128k'; insert into t values(0,'abc','string'); freeze t;" > /dev/null 2>&1
––– output –––
––– input –––
for n in `seq 1 100`; do mysql -h0 -P9306 -e "insert into t values(0, 'abc', 'string string string stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring string');"; done &
––– output –––
[1] %{NUMBER}
––– input –––
sleep 10; mysql -h0 -P9306 -e "select count(*) from t\G"
––– output –––
*************************** 1. row ***************************
count(*): #!/55|56|57|58|59/!#
––– input –––
mysql -h0 -P9306 -e "unfreeze t;"
––– output –––
––– input –––
sleep 10; mysql -h0 -P9306 -e "select count(*) from t\G"
––– output –––
*************************** 1. row ***************************
count(*): 101
––– input –––
mysql -h0 -P9306 -e "drop table if exists t; create table t(f text, s string) rt_mem_limit='128k'; insert into t values(0,'abc','string'); freeze t; freeze t; freeze t;" > /dev/null 2>&1
––– output –––
––– input –––
for n in `seq 1 100`; do mysql -h0 -P9306 -e "insert into t values(0, 'abc', 'string string string stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring stringstring string');"; done &
––– output –––
[1] %{NUMBER}
––– input –––
sleep 10; mysql -h0 -P9306 -e "select count(*) from t\G"
––– output –––
*************************** 1. row ***************************
count(*): #!/55|56|57|58|59/!#
––– input –––
mysql -h0 -P9306 -e "unfreeze t; unfreeze t; unfreeze t;"
––– output –––
––– input –––
sleep 10; mysql -h0 -P9306 -e "select count(*) from t\G"
––– output –––
*************************** 1. row ***************************
count(*): 101
––– input –––
mysql -h0 -P9306 -e "DROP TABLE IF EXISTS orders; CREATE TABLE orders (id bigint, user_id bigint, name text, description text, price float, order_date timestamp, attr json, region_id int, confirm bool, analogs multi); INSERT INTO orders (id, user_id, name, description, price, order_date, attr, region_id, confirm, analogs) VALUES (0, 1, 'Macbook', '16', 3500.99, 1614258732, '{\"color\":\"titan\",\"size\":16}', 22, 'TRUE', (8,4,16)) rt_mem_limit='64k'; freeze orders;" > /dev/null 2>&1
––– output –––
––– input –––
for n in `seq 1 500`; do mysql -h0 -P9306 -e "INSERT INTO orders (id, user_id, name, description, price, order_date, attr, region_id, confirm, analogs) VALUES (0, 1, 'iPhone', '14Pro', 1500.50, 1708866233, '{\"color\":\"black\",\"size\":14}', 178, 'TRUE', (9,11,15)), (0, 2, 'Macbook', '16', 3500.99, 1614258732, '{\"color\":\"titan\",\"size\":16}', 22, 'TRUE', (8,4,16)), (0, 3, 'iPad', '15Pro', 2600, 1708866234, '{\"color\":\"gold\",\"size\":15}', 178, 'TRUE', (9,11,15)), (0, 4, 'iPhone', '12Mini', 900.50, 1708866235, '{\"color\":\"blue\",\"size\":12}', 179, 'TRUE', (1,5,17)), (0, 5, 'Samsung Galaxy', 'S21', 1000, 1708866236, '{\"color\":\"white\",\"size\":14}', 180, 'FALSE', (13,19,21)), (0, 6, 'Dell Laptop', 'Latitude', 2000, 1708866237, '{\"color\":\"silver\",\"size\":15}', 181, 'TRUE', (4,6,23)), (0, 7, 'Headphones', 'Bluetooth', 100, 1708866238, '{\"color\":\"black\",\"size\":\"M\"}', 182, 'TRUE', (5,7,25)), (0, 8, 'Desk', 'Wooden', 400, 1708866239, '{\"color\":\"brown\",\"size\":\"XL\"}', 183, 'TRUE', (8,9,27)), (0, 9, 'Refrigerator', 'Samsung', 1500, 1708866240, '{\"color\":\"white\",\"size\":60}', 184, 'FALSE', (10,11,29)), (0, 10, 'Smartwatch', 'Fitbit', 300, 1708866241, '{\"color\":\"black\",\"size\":\"S\"}', 185, 'TRUE', (12,13,31)), (0, 11, 'Printer', 'Epson', 250, 1708866242, '{\"color\":\"grey\",\"size\":\"L\"}', 186, 'TRUE', (14,15,33)), (0, 12, 'Chair', 'Office', 150, 1708866243, '{\"color\":\"black\",\"size\":\"M\"}', 187, 'FALSE', (16,17,35)), (0, 13, 'Smartphone', 'Xiaomi', 700, 1708866244, '{\"color\":\"blue\",\"size\":6}', 188, 'TRUE', (18,19,37)), (0, 14, 'Camera', 'Canon', 800, 1708866245, '{\"color\":\"black\",\"size\":\"M\"}', 189, 'TRUE', (20,21,39)), (0, 15, 'Backpack', 'Hiking', 100, 1708866246, '{\"color\":\"green\",\"size\":\"S\"}', 190, 'TRUE', (22,23,41)), (0, 16, 'Table', 'Coffee', 250, 1708866247, '{\"color\":\"brown\",\"size\":\"L\"}', 191, 'FALSE', (24,25,43)), (0, 17, 'Smart TV', 'LG', 1200, 1708866248, '{\"color\":\"silver\",\"size\":55}', 192, 'TRUE', (26,27,45)), (0, 18, 'Blender', 'Kitchen', 80, 1708866249, '{\"color\":\"white\",\"size\":\"M\"}', 193, 'TRUE', (28,29,47)), (0, 19, 'Keyboard', 'Logitech', 50, 1708866250, '{\"color\":\"black\",\"size\":\"L\"}', 194, 'TRUE', (30,31,49)), (0, 20, 'Monitor', 'Samsung', 400, 1708866251, '{\"color\":\"black\",\"size\":24}', 195, 'TRUE', (32,33,51));"; done &
––– output –––
[1] %{NUMBER}
––– input –––
sleep 1; mysql -h0 -P9306 -e "select count(*) from orders\G"
––– output –––
*************************** 1. row ***************************
count(*): #!/3\d{3}|4\d{3}/!#
––– input –––
sleep 5; mysql -h0 -P9306 -e "unfreeze orders;"
––– output –––
––– input –––
sleep 5; mysql -h0 -P9306 -e "select count(*) from orders\G"
––– output –––
*************************** 1. row ***************************
count(*): 10000
test/clt-tests/core/show-threads.rec
––– input –––
searchd --cpustats
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
+ [54:29.055] [20] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [54:29.055] [20] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
+ listening on 127.0.0.1:9308 for sphinx and http(s)
––– input –––
mysql -h0 -P9306 -e "SHOW THREADS\G;"
––– output –––
*************************** 1. row ***************************
TID: %{NUMBER}
Name: work_%{NUMBER}
Proto: mysql
State: query
Connection from: 127.0.0.1:%{NUMBER}
ConnID: %{NUMBER}
This/prev job time: %{NUMBER}#!/(s|ms|us)/!#
CPU activity: %{NUMBER}.%{NUMBER}%
Jobs done: %{NUMBER}
Thread status: working
Info: SHOW THREADS
test/clt-tests/core/show-settings.rec
––– input –––
export INSTANCE=1
––– output –––
––– input –––
mkdir -p /var/{run,lib,log}/manticore-${INSTANCE}/{a,b,c,d,e,f,g,h,i,j}
––– output –––
––– input –––
stdbuf -oL searchd -c test/clt-tests/base/searchd-with-flexible-ports.conf | grep -v precach
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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 '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (%{NUMBER} chars)...
+ [Thu May 16 09:54:28.064 2024] [21] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [Thu May 16 09:54:28.066 2024] [21] using config file '/.clt/test/clt-tests/base/searchd-with-flexible-ports.conf' (383 chars)...
- listening on all interfaces for mysql, port=%{NUMBER}
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for mysql, port=1306
listening on all interfaces for sphinx and http(s), port=%{NUMBER}
+ listening on all interfaces for sphinx and http(s), port=1308
––– input –––
if timeout 10 grep -qm1 'accepting connections' <(tail -n 1000 -f /var/log/manticore-${INSTANCE}/searchd.log); then echo 'Accepting connections!'; else echo 'Timeout or failed!'; fi
––– output –––
Accepting connections!
––– input –––
mysql -h0 -P1306 -e "SHOW SETTINGS;"
––– output –––
+----------------------------+------------------------------------------------------------+
| Setting_name               | Value                                                      |
+----------------------------+------------------------------------------------------------+
| configuration_file         | /.clt/test/clt-tests/base/searchd-with-flexible-ports.conf |
| worker_pid                 | %{NUMBER}                                                         |
| searchd.listen             | 1306:mysql41                                               |
| searchd.listen             | 1312                                                       |
| searchd.listen             | 1308:http                                                  |
| searchd.log                | /var/log/manticore-1/searchd.log                           |
| searchd.query_log          | /var/log/manticore-1/query.log                             |
| searchd.pid_file           | /var/log/manticore-1/searchd.pid                           |
| searchd.data_dir           | /var/log/manticore-1                                       |
| searchd.query_log_format   | sphinxql                                                   |
| searchd.query_log_commands | 1                                                          |
| searchd.binlog_path        | /var/log/manticore-1/binlog                                |
| common.plugin_dir          | /usr/local/lib/manticore                                   |
| common.lemmatizer_base     | /usr/share/manticore/morph/                                |
+----------------------------+------------------------------------------------------------+
test/clt-tests/core/test-from-issue-1335.rec
––– input –––
searchd
––– output –––
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
+ [54:32.399] [20] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} #!/[a-z0-9]{7,9}@[0-9]{8}/!# dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [54:32.399] [20] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
+ listening on 127.0.0.1:9308 for sphinx and http(s)
––– input –––
php ./test/clt-tests/core/issue-1335-dump.php 10000 30 800000
––– output –––
finished inserting
%{NUMBER} docs per sec
––– input –––
mysql -h0 -P9306 -e "SELECT COUNT(*) FROM test\G;"
––– output –––
*************************** 1. row ***************************
count(*): %{NUMBER}
––– input –––
timeout 10 mysql -h0 -P9306 -e "select * from test where MATCH('@street walnut blvd') and country='US'\G;"
––– output –––
*************************** 1. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 2. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 3. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 4. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 5. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 6. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 7. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 8. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 9. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 10. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 11. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 12. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 13. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 14. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 15. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 16. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 17. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 18. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 19. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
*************************** 20. row ***************************
id: %{NUMBER}
street: %{NUMBER} Walnut Blvd
country: US
test/clt-tests/core/test-alter-table.rec
––– input –––
rm -rf /var/lib/manticore
––– output –––
––– input –––
mkdir /tmp/test-alter/
––– output –––
––– input –––
ln -s /tmp/test-alter/ /var/lib/manticore
––– output –––
––– input –––
echo "a > b" > /tmp/test-alter/wordforms1.txt; echo "c > d" > /tmp/test-alter/exc.txt; echo "abcstop" > /tmp/test-alter/stop.txt
––– output –––
––– input –––
ls -1 /var/lib/manticore/
––– output –––
exc.txt
stop.txt
wordforms1.txt
––– input –––
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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [54:30.817] [25] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [54:30.818] [25] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Started
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Started
––– input –––
mysql -h0 -P9306 -e "CREATE TABLE test3 (title TEXT, tag INTEGER) exceptions='/var/lib/manticore/exc.txt' wordforms='/var/lib/manticore/wordforms1.txt' stopwords='/var/lib/manticore/stop.txt';"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE test3 SETTINGS\G"
––– output –––
*************************** 1. row ***************************
Variable_name: settings
Value: exceptions = /tmp/test-alter/test3/exc.txt
stopwords = /tmp/test-alter/test3/stop.txt
wordforms = /tmp/test-alter/test3/wordforms1.txt
––– input –––
mysql -h0 -P9306 -e "ALTER TABLE test3 exceptions = ''"
––– output –––
––– input –––
mysql -h0 -P9306 -e "SHOW TABLE test3 SETTINGS\G"
––– output –––
*************************** 1. row ***************************
Variable_name: settings
Value: stopwords = /tmp/test-alter/test3/stop.txt
wordforms = /tmp/test-alter/test3/wordforms1.txt
test/clt-tests/core/test-replace-into.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [54:36.068] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [54:36.068] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– 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/core/generate-1mln-records.sh
––– output –––
––– input –––
./test/clt-tests/core/generate-1mln-records.sh
––– output –––
+-------+------+
| Index | 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 -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 –––
#!/[1-9]|1[0-2]/!#
––– 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
--------------
+-------+------+
| Index | 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
--------------
+-------+------+
| Index | 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/core/generate-1mln-records.sh
––– output –––
––– input –––
./test/clt-tests/core/generate-1mln-records.sh
––– output –––
+-------+------+
| Index | 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 -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 –––
#!/[1-9]|1[0-2]/!#
––– 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
--------------
+-------+------+
| Index | 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 |
+------+-----------------+------------------+--------------+--------------+------------+------------------+------+------------+---------------+-----------------------------------------+--------------------------------------------------------------------+-------------------------------------+
test/clt-tests/core/show-version.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [54:29.938] [23] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [54:29.938] [23] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– input –––
mysql -h0 -P9306 -e "show version\G;"
––– output –––
*************************** 1. row ***************************
Component: Daemon
Version: %{SEMVER} %{COMMITDATE} dev
*************************** 2. row ***************************
Component: Columnar
Version: columnar %{SEMVER} %{COMMITDATE}
*************************** 3. row ***************************
- Component: Secondary
+ Component: KNN
- Version: secondary %{SEMVER} %{COMMITDATE}
+ Version: knn 2.2.5 478fff2@240417
*************************** 4. row ***************************
- Component: KNN
+ Component: Buddy
- Version: knn %{SEMVER} %{COMMITDATE}
+ Version: buddy v2.3.7
- *************************** 5. row ***************************
+
- Component: Buddy
- Version: buddy v%{SEMVER}
-

Copy link

clt

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

test/clt-tests/plugins/test-enable-disable-buddy-plugin.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [06:07.604] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [06:07.605] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– 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 –––
––– input –––
mysql -h0 -P9306 -e "select id, knn_dist() from t where knn ( image_vector, 5, 1 );"
––– output –––
––– 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 –––

Copy link

clt

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

test/clt-tests/plugins/test-enable-disable-buddy-plugin.rec
––– input –––
rm -f /var/log/manticore/searchd.log; searchd --stopwait > /dev/null; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
+ [19:48.234] [22] WARNING: Error initializing secondary index: daemon requires secondary library v15 (trying to load v14)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ [19:48.234] [22] using config file '/etc/manticoresearch/manticore.conf' (273 chars)...
- listening on %{IPADDR}:9312 for sphinx and http(s)
+ starting daemon version '6.2.13 d41d72cd8@24051511 dev (columnar 2.2.5 478fff2@240417) (knn 2.2.5 478fff2@240417)' ...
- listening on %{IPADDR}:9306 for mysql
+ listening on 127.0.0.1:9312 for sphinx and http(s)
- listening on %{IPADDR}:9308 for sphinx and http(s)
+ listening on 127.0.0.1:9306 for mysql
- Buddy started!
+ listening on 127.0.0.1:9308 for sphinx and http(s)
+ Buddy started!
––– 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 –––
––– input –––
mysql -h0 -P9306 -e "select id, knn_dist() from t where knn ( image_vector, 5, 1 );"
––– output –––
––– 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 –––

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/deb-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 58s
👉 Check Action Results for commit 56569d7
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 <support@manticoresearch.com>" 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 –––
searchd --version
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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 %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
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 –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– 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 –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– 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 <support@manticoresearch.com>" 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_buster_dev/dists/buster/main/binary-amd64/./manticore-common_6.2.13-24051609-c132a6fdd_all.deb  File has unexpected size (47950 != 47958). Mirror sync in progress? [IP: 49.12.119.254 80]
- perl: warning: Please check that your locale settings:
+ Hashes of expected file:
- LANGUAGE = (unset),
+ - SHA256:94b9462ddeceae3a99e814336923caa577661a361c3b1581a790cefdfa9951af
- LC_ALL = (unset),
+ - SHA1:562f67d4537b28d15091268f87d22f578c6f866c [weak]
- LANG = "en_US.UTF-8"
+ - MD5Sum:335a4fd6c1c45b7dfbe9cb5e944e85fb [weak]
- are supported and installed on your system.
+ - Filesize:47958 [weak]
- perl: warning: Falling back to the standard locale ("C").
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_buster_dev/dists/buster/main/binary-amd64/./manticore-dev_6.2.13-24051609-c132a6fdd_all.deb  File has unexpected size (4464 != 4462). 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:19199a07a3054b15184b67c69ed8fb9eb59489e3e1caf29cccd79594348360f9
+ - SHA1:090d660cd6eb7df229fb1e55ea7e473f30fd9b8e [weak]
+ - MD5Sum:61c1c844e1729714f49b259b9dd6cd88 [weak]
+ - Filesize:4462 [weak]
+ E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
––– input –––
searchd --stop
––– output –––
- Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.12 dc5144d35@230822 (columnar 2.2.4 5aec342@230822) (secondary 2.2.4 5aec342@230822)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
––– input –––
sleep 5; searchd | head -n 9
––– 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}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.12 dc5144d35@230822 (columnar 2.2.4 5aec342@230822) (secondary 2.2.4 5aec342@230822)
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)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ starting daemon version '6.2.12 dc5144d35@230822 (columnar 2.2.4 5aec342@230822) (secondary 2.2.4 5aec342@230822)' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.12 dc5144d35@230822 (columnar 2.2.4 5aec342@230822) (secondary 2.2.4 5aec342@230822)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
[#!/[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)...
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.12 dc5144d35@230822 (columnar 2.2.4 5aec342@230822) (secondary 2.2.4 5aec342@230822)
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)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ starting daemon version '6.2.12 dc5144d35@230822 (columnar 2.2.4 5aec342@230822) (secondary 2.2.4 5aec342@230822)' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.12 dc5144d35@230822 (columnar 2.2.4 5aec342@230822) (secondary 2.2.4 5aec342@230822)
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)
Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
%{SEMVER}
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
- %{SEMVER}
+ 5aec342@230822)
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
- %{SEMVER}
+ 5aec342@230822)
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- %{SEMVER}
––– 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" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– 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: %{SEMVER}
+ Upgrade failed. Current version searchd: 6.2.12, new version: 6.2.12
––– 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: %{SEMVER}
+ Upgrade successful. New version columnar: 5aec342@230822)
––– 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: %{SEMVER}
+ Upgrade successful. New version secondary: 5aec342@230822)
––– 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: %{SEMVER}
+ Upgrade failed. Current version knn: , new version:
––– 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}/!#
+ Upgrade failed. Current version buddy: , new version:

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/deb-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 42s
👉 Check Action Results for commit 56569d7
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 <support@manticoresearch.com>" 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 –––
searchd --version
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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 %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
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 –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– 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 –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– 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 <support@manticoresearch.com>" 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: Unable to correct problems, you have held broken packages.
- perl: warning: Please check that your locale settings:
- LANGUAGE = (unset),
- LC_ALL = (unset),
- LANG = "en_US.UTF-8"
- are supported and installed on your system.
- perl: warning: Falling back to the standard locale ("C").
- debconf: delaying package configuration, since apt-utils is not installed
––– input –––
searchd --stop
––– output –––
- Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.12 dc5144d35@230822 (columnar 2.2.4 5aec342@230822) (secondary 2.2.4 5aec342@230822)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
––– input –––
sleep 5; searchd | head -n 9
––– 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}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.12 dc5144d35@230822 (columnar 2.2.4 5aec342@230822) (secondary 2.2.4 5aec342@230822)
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)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ starting daemon version '6.2.12 dc5144d35@230822 (columnar 2.2.4 5aec342@230822) (secondary 2.2.4 5aec342@230822)' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.12 dc5144d35@230822 (columnar 2.2.4 5aec342@230822) (secondary 2.2.4 5aec342@230822)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
[#!/[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)...
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.12 dc5144d35@230822 (columnar 2.2.4 5aec342@230822) (secondary 2.2.4 5aec342@230822)
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)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ starting daemon version '6.2.12 dc5144d35@230822 (columnar 2.2.4 5aec342@230822) (secondary 2.2.4 5aec342@230822)' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.12 dc5144d35@230822 (columnar 2.2.4 5aec342@230822) (secondary 2.2.4 5aec342@230822)
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)
Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
%{SEMVER}
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
- %{SEMVER}
+ 5aec342@230822)
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
- %{SEMVER}
+ 5aec342@230822)
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- %{SEMVER}
––– 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" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– 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: %{SEMVER}
+ Upgrade failed. Current version searchd: 6.2.12, new version: 6.2.12
––– 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: %{SEMVER}
+ Upgrade successful. New version columnar: 5aec342@230822)
––– 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: %{SEMVER}
+ Upgrade successful. New version secondary: 5aec342@230822)
––– 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: %{SEMVER}
+ Upgrade failed. Current version knn: , new version:
––– 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}/!#
+ Upgrade failed. Current version buddy: , new version:

Copy link

clt-amd64

👎 CLT tests in test/clt-tests/installation/deb-dev-u
✅ OK: 0
❌ Failed: 1
⏳ Duration: 72s
👉 Check Action Results for commit 56569d7
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 <support@manticoresearch.com>" 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 –––
searchd --version
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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 %{SEMVER} (cli) (built: #!/[a-zA-Z]{3}/!# #!/[0-9]+/!# %{YEAR} %{TIME}) (ZTS)
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 –––
searchd
––– output –––
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] stop: successfully sent SIGTERM to pid %{NUMBER}
Manticore %{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [#!/[0-9]+/!#] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
starting daemon version '%{SEMVER} %{COMMITDATE} (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE})' ...
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: %{SEMVER}
––– input –––
export current_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $current_version_searchd
––– output –––
%{SEMVER}
––– input –––
export current_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f5); echo $current_version_columnar
––– output –––
%{SEMVER}
––– input –––
export current_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f8); echo $current_version_secondary
––– output –––
%{SEMVER}
––– input –––
export current_version_knn=$(searchd --version | head -n 1 | cut -d" " -f11); echo $current_version_knn
––– output –––
––– 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 –––
mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | grep -q "buddy" && export current_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}') || export current_version_buddy=''
––– output –––
––– 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 <support@manticoresearch.com>" 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-common_6.2.13-24051609-c132a6fdd_all.deb  Hash Sum mismatch
- perl: warning: Please check that your locale settings:
+ Hashes of expected file:
- LANGUAGE = (unset),
+ - SHA256:ac695a4fdb02aa8b03b614b3e89ba3ad9a68246ae4bfff075642bdf7b4d0b7a0
- LC_ALL = (unset),
+ - SHA1:bbb9875b193271f8bd299104b4e769c58b9caf42 [weak]
- LANG = "en_US.UTF-8"
+ - MD5Sum:28ef592142cb2b09162d397d24f0886f [weak]
- are supported and installed on your system.
+ - Filesize:47956 [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:6c8dcf98a6bb3620aa2cad34925cc949d1e75ca5ec2d391ecccbc3e4cd542020
+ - SHA1:1e553007f7d823c7f54e6942f1ab82fed35078d0 [weak]
+ - MD5Sum:554bd39b371cf684f18b5c64422b6000 [weak]
+ - Filesize:47956 [weak]
+ Last modification reported: Thu, 16 May 2024 10:27:57 +0000
+ E: Failed to fetch http://repo.manticoresearch.com/repository/manticoresearch_bionic_dev/dists/bionic/main/binary-amd64/./manticore-dev_6.2.13-24051609-c132a6fdd_all.deb  Hash Sum mismatch
+ Hashes of expected file:
+ - SHA256:573a261967bf722c74a210f163119a4ab5ca70d9b1823e657d6f9b6687c50757
+ - SHA1:f415bd00e55fbf45678cb9ec1119bc7effa9519f [weak]
+ - MD5Sum:bbf3a904b5c74bd4d4f7fd16c95a11dc [weak]
+ - Filesize:4466 [weak]
+ Hashes of received file:
+ - SHA256:55013a0e8e769c4670e18208eff11d4e345ac2bfe2fe4e4077bc72d23e388c70
+ - SHA1:9b8a8f8e86c60a50fee5484ef6bbda0049bd1d25 [weak]
+ - MD5Sum:6c33a67645cde6f5d871c7008e37e4e4 [weak]
+ - Filesize:4466 [weak]
+ Last modification reported: Thu, 16 May 2024 10:28:07 +0000
+ E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
––– input –––
searchd --stop
––– output –––
- Manticore %{SEMVER} %{COMMITDATE} dev (columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.12 dc5144d35@230822 (columnar 2.2.4 5aec342@230822) (secondary 2.2.4 5aec342@230822)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '%{PATH}' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
––– input –––
sleep 5; searchd | head -n 9
––– 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}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.12 dc5144d35@230822 (columnar 2.2.4 5aec342@230822) (secondary 2.2.4 5aec342@230822)
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)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ starting daemon version '6.2.12 dc5144d35@230822 (columnar 2.2.4 5aec342@230822) (secondary 2.2.4 5aec342@230822)' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
––– input –––
rm /var/log/manticore/searchd.log; searchd --stopwait; 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 %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.12 dc5144d35@230822 (columnar 2.2.4 5aec342@230822) (secondary 2.2.4 5aec342@230822)
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-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] using config file '/etc/manticoresearch/manticore.conf' (%{NUMBER} chars)...
[#!/[0-9]{2}:[0-9]{2}.[0-9]{3}/!#] [%{NUMBER}] stop: successfully sent SIGTERM to pid %{NUMBER}
[#!/[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)...
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.12 dc5144d35@230822 (columnar 2.2.4 5aec342@230822) (secondary 2.2.4 5aec342@230822)
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)
- starting daemon version '%{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})' ...
+ starting daemon version '6.2.12 dc5144d35@230822 (columnar 2.2.4 5aec342@230822) (secondary 2.2.4 5aec342@230822)' ...
listening on %{IPADDR}:9312 for sphinx and http(s)
listening on %{IPADDR}:9306 for mysql
listening on %{IPADDR}:9308 for sphinx and http(s)
- Manticore %{SEMVER} %{COMMITDATE}#!/(\sdev)?\s/!#(columnar %{SEMVER} %{COMMITDATE}) (secondary %{SEMVER} %{COMMITDATE}) (knn %{SEMVER} %{COMMITDATE})
+ Manticore 6.2.12 dc5144d35@230822 (columnar 2.2.4 5aec342@230822) (secondary 2.2.4 5aec342@230822)
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)
Buddy started!
––– input –––
export new_version_buddy=$(mysql -h0 -P9306 -e "SHOW STATUS LIKE 'version'\G" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– input –––
export new_version_searchd=$(searchd --version | head -n 1 | cut -d" " -f2); echo $new_version_searchd
––– output –––
%{SEMVER}
––– input –––
export new_version_columnar=$(searchd --version | head -n 1 | cut -d" " -f6); echo $new_version_columnar
––– output –––
- %{SEMVER}
+ 5aec342@230822)
––– input –––
export new_version_secondary=$(searchd --version | head -n 1 | cut -d" " -f9); echo $new_version_secondary
––– output –––
- %{SEMVER}
+ 5aec342@230822)
––– input –––
export new_version_knn=$(searchd --version | head -n 1 | cut -d" " -f12); echo $new_version_knn
––– output –––
- %{SEMVER}
––– 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" | awk -F'[ v()]+' '/buddy v/{print $(NF-1)}'); echo $new_version_buddy
––– output –––
- #!/[0-9]{1,2}\.[0-9]{1,2}\.[0-9]{1,2}/!#
––– 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: %{SEMVER}
+ Upgrade failed. Current version searchd: 6.2.12, new version: 6.2.12
––– 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: %{SEMVER}
+ Upgrade successful. New version columnar: 5aec342@230822)
––– 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: %{SEMVER}
+ Upgrade successful. New version secondary: 5aec342@230822)
––– 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: %{SEMVER}
+ Upgrade failed. Current version knn: , new version:
––– 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}/!#
+ Upgrade failed. Current version buddy: , new version:

@PavelShilin89 PavelShilin89 requested review from sanikolaev and removed request for djklim87 May 16, 2024 10:55
@PavelShilin89 PavelShilin89 merged commit c70b8ab into master May 16, 2024
111 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error: GPG check FAILED when installing in platform linux/arm64 image almalinux:9
2 participants