manticoresoftware / manticoresoftware/manticoresearch

can't alter access_* settings

Open
#348 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
12k
Forks
642
Avg merge
3d 12h
Merged PRs (30d)
47

Description

In version `Manticore 3.4.3 d74eea9@200601 dev` I cannot alter index settings access_* :

```
mysql> show index t3 settings;
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| settings | |
+---------------+-------+
1 row in set (0.00 sec)

mysql> alter table t3 access_plain_attrs='mlock' access_blob_attrs='mlock';
Query OK, 0 rows affected (0.00 sec)

mysql> show index t3 settings;
+---------------+-------+
| Variable_name | Value |
+---------------+-------+
| settings | |
+---------------+-------+
1 row in set (0.00 sec)

mysql> show create table t3;
+-------+----------------------------+
| Table | Create Table |
+-------+----------------------------+
| t3 | CREATE TABLE t3 (
f text
) |
+-------+----------------------------+
1 row in set (0.00 sec)
```

It's not convenient as requires full RT index rebuild if I just want to mlock it in memory.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the reported SHOW INDEX, ALTER TABLE, and SHOW CREATE TABLE commands on an RT index using the referenced Manticore version or current behavior. Trace the ALTER TABLE handling for access_plain_attrs and access_blob_attrs. Done means these settings persist and are visible without requiring a full RT index rebuild.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, sql
Domain
databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.