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

Avoid doing twice sql calls to chaos. Reduce transaction lifetime. Use read-only transaction #4374

Merged
merged 2 commits into from
Apr 8, 2025

Conversation

vgeof-hove
Copy link
Contributor

@vgeof-hove vgeof-hove commented Apr 3, 2025

Copy link

sonarqubecloud bot commented Apr 3, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
59.5% Coverage on New Code (required ≥ 60%)

See analysis details on SonarQube Cloud


offset += result.size();
LOG4CPLUS_TRACE(log4cplus::Logger::getInstance("sql"), request);
} while (!result.empty() && result.size() >= items_per_request);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

result.size() >= items_per_request
result could have more items than items_per_request?

@vgeof-hove vgeof-hove merged commit b80ac85 into dev Apr 8, 2025
8 of 10 checks passed
@vgeof-hove vgeof-hove deleted the fix branch April 8, 2025 08:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants