Oversized facet datasets can cause ejabberd to fall over

Bug #1218035 reported by Mike Rylander
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Evergreen
Fix Released
Undecided
Unassigned
2.3
Fix Released
Undecided
Unassigned
2.4
Fix Released
Undecided
Unassigned

Bug Description

For certain shapes of facet datasets, the .atomic version of the json_query call can produce an XMPP message large enough to cause ejabberd to fall over unceremoniously. Switch to a streaming CStoreEditor-based call instead to avoid this.

Ideally, this would use message bundling (aka, chunking) as well, but the C parts of OpenSRF don't seem to support that yet.

http://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/miker/stream-facet-data

Dan Wells (dbw2)
tags: added: 2.5-beta-blocker
Dan Wells (dbw2)
Changed in evergreen:
assignee: nobody → Dan Wells (dbw2)
Revision history for this message
Dan Wells (dbw2) wrote :

Haven't seen ejabberd fall over in this case, but have seen it enough in other cases to believe this to be a reasonable bug and fix. Pushed to master through rel_2_3. Thanks, Mike!

Changed in evergreen:
assignee: Dan Wells (dbw2) → nobody
status: New → Fix Committed
Dan Wells (dbw2)
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.