Unique key status is inefficient

Bug #1097982 reported by Keyur
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gearman
Fix Released
Medium
Brian Aker

Bug Description

Gearmand is not currently using the "unique_hash" hash table on the gearman_server_st object when looking up job status by unique key. It is doing a linear search through every bucket in the hash table.

The patch is based off of the patch submitted for https://bugs.launchpad.net/gearmand/+bug/1094372 (it depends on server->hashtable_buckets)

Revision history for this message
Keyur (keyurdg) wrote :
Brian Aker (brianaker)
Changed in gearmand:
assignee: nobody → Brian Aker (brianaker)
importance: Undecided → Medium
milestone: none → 1.0.3
Brian Aker (brianaker)
Changed in gearmand:
status: New → In Progress
Brian Aker (brianaker)
Changed in gearmand:
status: In Progress → 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.