manticoresoftware / manticoresearch-buddy

Manticore Buddy is a Manticore Search's sidecar which helps it with various tasks
GNU General Public License v3.0
20 stars 2 forks source link

Handling of incompatible plugins #211

Open sanikolaev opened 6 months ago

sanikolaev commented 6 months ago

Think what we can do with things like this:

mysql> show version;
+-----------+--------------------------------+
| Component | Version                        |
+-----------+--------------------------------+
| Daemon    | 6.2.13 7e1e4f312@24021217 dev  |
| Columnar  | columnar 2.2.5 214ce90@240115  |
| Secondary | secondary 2.2.5 214ce90@240115 |
| KNN       | knn 2.2.5 214ce90@240115       |
| Buddy     | buddy v2.1.5                   |
+-----------+--------------------------------+
5 rows in set (0.00 sec)

mysql> show buddy plugins;
ERROR 1064 (42000): Class "UpdateText\Payload" not found
donhardman commented 6 months ago

While investigating the issue, I discovered a problem with the local plugin detection, which I've now resolved and pushed to the main branch. It's working fine for the show buddy plugins command, but we still need to think about how to implement versioning for older plugins and what steps to take. As of now, the show buddy plugins command should work perfectly.

Image

sanikolaev commented 6 months ago

we still need to think about how to implement versioning for older plugins and what steps to take

OK, let's think. Since the main issue is solved, let's postpone this issue for a while.