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

Replication Issue with empty strings when using Inverted Indices #50522

Open
Sh4yy opened this issue Jun 2, 2023 · 0 comments
Open

Replication Issue with empty strings when using Inverted Indices #50522

Sh4yy opened this issue Jun 2, 2023 · 0 comments
Assignees
Labels
experimental feature Bug in the feature that should not be used in production

Comments

@Sh4yy
Copy link

Sh4yy commented Jun 2, 2023

Hey folks! I’ve been trying to debug a problem that I see with my replicated cluster when using inverted indices.

I have an inverted index on a string field:

...
description String
INDEX desc_fts(description) TYPE inverted(0) GRANULARITY 1,
...

I have noticed if I insert an empty string value '' when the table is empty, replication starts failing because of the following exception:

<Error> InterserverIOHTTPHandler: std::exception. Code: 1001, type: std::__1::__fs::filesystem::filesystem_error, e.what() = filesystem error: in file_size: No such file or directory ["/var/lib/clickhouse/store/197/197b87b4-bc51-4c9a-951b-c63241f0d7bb/2_0_0_0/skp_idx_desc_fts.gin_sid"]

I have tested this on both 23.3 and 23.4 and got a similar result.

@Sh4yy Sh4yy added the potential bug To be reviewed by developers and confirmed/rejected. label Jun 2, 2023
@alexey-milovidov alexey-milovidov added experimental feature Bug in the feature that should not be used in production and removed potential bug To be reviewed by developers and confirmed/rejected. labels Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
experimental feature Bug in the feature that should not be used in production
Projects
None yet
Development

No branches or pull requests

3 participants