[asterisk-bugs] [Asterisk 0017277]: [patch] The heap data structure can't cope with a removal and reinsert
Asterisk Bug Tracker
noreply at bugs.digium.com
Mon May 3 12:53:01 CDT 2010
The following issue has been UPDATED.
======================================================================
https://issues.asterisk.org/view.php?id=17277
======================================================================
Reported By: cappucinoking
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 17277
Category: Tests/General
Reproducibility: always
Severity: major
Priority: normal
Status: new
Asterisk Version: SVN
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.2
SVN Revision (number only!):
Request Review:
======================================================================
Date Submitted: 2010-05-03 12:42 CDT
Last Modified: 2010-05-03 12:53 CDT
======================================================================
Summary: [patch] The heap data structure can't cope with a
removal and reinsert
Description:
Whilst looking into why qualify events are being scheduled out of sequence
I started looking into why items on the maxheap weren't in the correct
order.
The qualify code is a different use case then the current tests allow
for.
When a response to a qualify request is made, the event is rescheduled via
a remove and re-add to the maxheap structure.
I have written a test to demonstrate the failure of the heap to keep the
items in order when removing and re-inserting items.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2010-05-03 12:53 cappucinoking Summary The heap data structure
can't cope with a removal and reinsert => [patch] The heap data structure can't
cope with a removal and reinsert
======================================================================
More information about the asterisk-bugs
mailing list