-
Notifications
You must be signed in to change notification settings - Fork 6
MON-157180-v2-gorgone-cloud-poller-disconnect-when-gorgone-log-are-to-big-to-be-sent #2307
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
base: develop
Are you sure you want to change the base?
Conversation
Important Review skippedAuto reviews are limited to specific labels. 🏷️ Labels to auto review (1)
Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
29dce0f
to
23b071d
Compare
23b071d
to
493503a
Compare
…wss connexion mode Refs:MON-157180
…ther host if needed. - getlog() always order select query by id. - pullwss module split any GETLOG message to stay bellow the websocket message size limit and transform them in SETLOGS. For now if a message is lost in transmission it will never be asked again for. An error message will be present in the central log file. The split is made in the pullwss and not in send_internal_action because the http api use the same GETLOG message locally, which would be broken if messages are split. the new behaviour allow the api to send back as many logs as needed, and to split log only for pullwss connexion method. The other connexion method use zmq that don't have a size limit. MON-157180
…ral. Refs:MON-157180
Refs:MON-157180
Refs:MON-157180
493503a
to
9f78c07
Compare
Refs:MON-157180
Refs:MON-157180
Refs:MON-157180
Refs:MON-157180
… fix a condition in the code Refs:MON-157180
Description
fix pullwss and core gorgone module to spilt the log sync message to stay under the websocket message size.
Add a sequence diagram of the log retrieval.
Fixes # MON-157180
Type of change
Target serie
How this pull request can be tested ?
See automated tests, run 2 gorgone and create many log in the poller database. Then wait for a log synchronization (around 5 secs? ) and check the data are correctly added in the central sqlite database.
select count(*) , token from gorgone_history group by token;
Checklist