-
Notifications
You must be signed in to change notification settings - Fork 855
Bug fix 3.5/internal issue #651 #10388
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
Conversation
8000 | } | |
arangodb::Result res; | ||
for (auto const& coord : coords) { | ||
res = {}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like there is no need to reinit res on each iteration. It will be overwritten by timeout error or by resultVisitor without current res value check.
for (auto& request: requests) { | ||
if (TRI_ERROR_ARANGO_DATA_SOURCE_NOT_FOUND == request.result.errorCode) { | ||
continue; // treat missing collection as if there are no analyzers | ||
if (TRI_ERROR_CLUSTER_TIMEOUT == request.result.errorCode) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we check for TRI_ERROR_ARANGO_DATA_SOURCE_NOT_FOUND here same way as in non DBServer branch below ?
/// @param defaultVocbase fallback vocbase for analyzer name normalization | ||
/// nullptr == do not normalize | ||
/// @param usedAnalyzers add to this map analyzers used in meta, | ||
/// @param values to ignore always |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/// @param values to ignore always | |
/// @param mask values to ignore always |
Tests blue. |
* extract recursive part of IResearchLinkMeta * avoid saving analyzer definition during link meta initialization * add tests to check cluster deadlock * cleanup * code cleanup * add moar tests * mooooaaar checks * make jslint happy * backport fix for cluster startup from 3.5.2 branch * backport changes from 3.5.2 * fix tests * fix tests * moar fixes * refactor analyzer definitions tracking * add some tests * extend dump tests * add tests for replication * fix tests * more fixes * address jslint errors * address review comments * address test failures * reflect changes in changelog # Conflicts: # arangod/IResearch/IResearchAnalyzerFeature.cpp # arangod/IResearch/IResearchFilterFactory.cpp # arangod/IResearch/IResearchLink.cpp # arangod/IResearch/IResearchLinkMeta.cpp # tests/IResearch/IResearchAnalyzerFeature-test.cpp # tests/IResearch/IResearchDocument-test.cpp # tests/IResearch/IResearchFilterBoolean-test.cpp # tests/IResearch/IResearchFilterCompare-test.cpp # tests/IResearch/IResearchFilterFunction-test.cpp # tests/IResearch/IResearchFilterIn-test.cpp # tests/IResearch/IResearchLinkHelper-test.cpp # tests/IResearch/IResearchLinkMeta-test.cpp # tests/IResearch/IResearchView-test.cpp # tests/V8Server/v8-analyzers-test.cpp
* Bug fix 3.5/internal issue #651 (#10388) * extract recursive part of IResearchLinkMeta * avoid saving analyzer definition during link meta initialization * add tests to check cluster deadlock * cleanup * code cleanup * add moar tests * mooooaaar checks * make jslint happy * backport fix for cluster startup from 3.5.2 branch * backport changes from 3.5.2 * fix tests * fix tests * moar fixes * refactor analyzer definitions tracking * add some tests * extend dump tests * add tests for replication * fix tests * more fixes * address jslint errors * address review comments * address test failures * reflect changes in changelog # Conflicts: # arangod/IResearch/IResearchAnalyzerFeature.cpp # arangod/IResearch/IResearchFilterFactory.cpp # arangod/IResearch/IResearchLink.cpp # arangod/IResearch/IResearchLinkMeta.cpp # tests/IResearch/IResearchAnalyzerFeature-test.cpp # tests/IResearch/IResearchDocument-test.cpp # tests/IResearch/IResearchFilterBoolean-test.cpp # tests/IResearch/IResearchFilterCompare-test.cpp # tests/IResearch/IResearchFilterFunction-test.cpp # tests/IResearch/IResearchFilterIn-test.cpp # tests/IResearch/IResearchLinkHelper-test.cpp # tests/IResearch/IResearchLinkMeta-test.cpp # tests/IResearch/IResearchView-test.cpp # tests/V8Server/v8-analyzers-test.cpp * fix tests * fix tests * Fix tests * fix replication tests
PR fixes issues with custom analyzers in a cluster environment