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

WARNING: wordlist size mismatch (size=18, checkpoints=0) #2120

Closed
7 of 8 tasks
klirichek opened this issue May 1, 2024 · 3 comments · Fixed by #2218
Closed
7 of 8 tasks

WARNING: wordlist size mismatch (size=18, checkpoints=0) #2120

klirichek opened this issue May 1, 2024 · 3 comments · Fixed by #2218
Assignees

Comments

@klirichek
Copy link
Contributor

klirichek commented May 1, 2024

Bug Description:

It looks like we have wrong processing of an empty dictionary loading/writing

CREATE TABLE x ( id bigint, tag bigint );
insert into x values (1,1),(2,2),(3,3);
flush ramchunk x;
insert into x values (4,1),(5,2),(6,3);
flush ramchunk x;

Notice: table contains no ft.

Bug 1. .spi file (when flushing to disk chunk) has size 1. That is wrong, since it should include 'dict-header'
Bug 2. (unrelated) total_bytes in .meta is 0. Looks strange.

optimize table x option cutoff=1;
  • .spi file after merging 2 chunks has right size 18.

Bug 3. WARNING: wordlist size mismatch (size=18, checkpoints=0)

UPD: 913b35a is relevant (seems need to revert it, then fix the warning)

Manticore Search Version:

checked on b24a908

Operating System Version:

not depends from system

Have you tried the latest development version?

  • Yes

Internal Checklist:

To be completed by the assignee. Check off tasks that have been completed or are not applicable.

  • Task estimated
  • Specification created, reviewed, and approved
  • Implementation completed
  • Tests developed
  • Documentation updated
  • Documentation proofread
  • Changelog updated
@sanikolaev
Copy link
Collaborator

UPD: 913b35a is relevant (seems need to revert it, then fix the warning)

I can reproduce the warning WARNING: wordlist size mismatch (size=18, checkpoints=0) in the latest dev, but not in 6.2.12.

klirichek added a commit that referenced this issue May 15, 2024
eliminate WARNING: wordlist size mismatch (size=18, checkpoints=0)

That is related to #2120
@sanikolaev
Copy link
Collaborator

@PavelShilin89 pls proceed with CLT tests

@donhardman
Copy link
Contributor

Please, try to use latest CLT version from the master.

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

Successfully merging a pull request may close this issue.

4 participants