presence.beings looking for "" documents

Bug #1718340 reported by John A Meinel on 2017-09-20
This bug affects 1 person
Affects Status Importance Assigned to Milestone
John A Meinel
John A Meinel

Bug Description

Turns out we had a bug in building the list of IDs to search for. We were allocating a list, and then appending to it, rather than filling in the part we just allocated.

                docIds := make([]string, len(batch))
- for _, seq := range batch {
- docIds = append(docIds, docIDInt64(w.modelUUID, seq))
+ for i, seq := range batch {
+ docIds[i] = docIDInt64(w.modelUUID, seq)

John A Meinel (jameinel) on 2017-09-20
Changed in juju:
assignee: nobody → John A Meinel (jameinel)
Changed in juju:
milestone: 2.3-beta1 → 2.3-beta2
Changed in juju:
milestone: 2.3-beta2 → none
Anastasia (anastasia-macmood) wrote :

@John A Meinel,

Are you currently actively working on this?

John A Meinel (jameinel) wrote :

The fix was landed in juju 2.2.5 and 2.3.0.
The PR was

Changed in juju:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers