-
Notifications
You must be signed in to change notification settings - Fork 2
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
Buddy processes falling down on unserialization step #421
Comments
There was a core logic issue in the way we read data in Process due to how Swoole handles large data execution. We should validate whether the fix resolves the issue or not. |
@djklim87 I was unable to reproduce it locally because:
We should consider adding tests to cover this case since it only occurs in specific scenarios and doesn't work like this in most cases. |
No, it doesn’t require Kafka. The issue was related to worker creation. If it successfully creates workers, there’s no need to write additional tests, except for the tests addressing the fixes you mentioned in the previous comment |
I have fixed the issue but need confirmation since I cannot reproduce it without access to your specific data. The following tests must be performed with your data set, as the issue is not reproducible with other data. The problem was specifically related to custom data and cannot be replicated using different data sets. I did not observe any issues with worker creation; the problem was only with data submitted within the channel, which has now been fixed and merged (awaiting confirmation and testing). |
Can you reproduce it with latest master? |
Again, you don’t need Kafka for this. No datasets, no Kafka. Just use the command below:
And yes, everything works fine now. However, you didn’t write tests for your fixes If you add these tests, it will be enough to close this issue |
@djklim87 please provide your data to create tests for @PavelShilin89 The issue occurs due to specific data transfers that you experienced, so it doesn't affect 100% of cases. To address this, we should write CLT tests. |
To clarify, the issue is not related to worker creation. The cause was data transfer between processes. In some cases, when the data is big enough, it gets chunked by Swoole. That's why we should write CLT tests with custom data that you used in your local environment. |
Ok so @PavelShilin89 write tests for this issue: Just run 5 times queries below (Without Kafka, just Buddy)
And check that logs doesn't have errors with text Full error text:
|
@djklim87 testing done in PR manticoresoftware/manticoresearch#2905, please give feedback or approval to merge. |
Bug Description:
Reproducible in master
It seems the file is being written twice with different serialized code instead of the expected single record per file
Manticore Search Version:
Manticore 6.3.9 74f607887@24121214 dev (columnar 2.3.1 edadc69@24112219) (secondary 2.3.1 edadc69@24112219) (knn 2.3.1 edadc69@24112219)
Operating System Version:
Test kit
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.
The text was updated successfully, but these errors were encountered: