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

Indextool changes rt index during check #756

Closed
githubmanticore opened this issue Apr 14, 2022 · 1 comment
Closed

Indextool changes rt index during check #756

githubmanticore opened this issue Apr 14, 2022 · 1 comment
Labels

Comments

@githubmanticore
Copy link
Contributor

It is allowed only to change .lock file (which contains no data, and just manages access to the index)
However on checking rt index it also re-save .ram and .meta, which is not appropriate by bunch of reasons:

  1. If index is read-only (i.e., access rights to the files is ro, or even filesystem is ro by nature, say, placed on cd/dvd, it is NOT alowed and even NOT possible to change any files.
  2. If I want just to check an index - I namely want just to check it, NOT rewrite any files
  3. (since moving to json sph/meta) - binary meta got rewritten by json variant. That is - file not just overwritten, but made unusable by searchd build which can't yet work with json headers.
  4. etc.
@githubmanticore
Copy link
Contributor Author

➤ Aleksey N. Vinogradov commented:

Fixed in 8fa9956

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

No branches or pull requests

1 participant