From 83ee4d3ebf739f8aad67cf8faea093fc71d24d01 Mon Sep 17 00:00:00 2001 From: Tom Clegg Date: Mon, 22 Jul 2019 13:05:35 -0400 Subject: [PATCH] 14287: Comment multi-dimensional map. Arvados-DCO-1.1-Signed-off-by: Tom Clegg --- lib/controller/federation/list.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/controller/federation/list.go b/lib/controller/federation/list.go index 43ed2cdbaa..124946de0e 100644 --- a/lib/controller/federation/list.go +++ b/lib/controller/federation/list.go @@ -140,6 +140,11 @@ func (conn *Conn) splitListRequest(ctx context.Context, opts arvados.ListOptions } } + // Collate UUIDs in matchAllFilters by remote cluster ID -- + // e.g., todoByRemote["aaaaa"]["aaaaa-4zz18-000000000000000"] + // will be true -- and count the total number of UUIDs we're + // filtering on, so we can compare it to our max page size + // limit. nUUIDs := 0 todoByRemote := map[string]map[string]bool{} for uuid := range matchAllFilters { -- 2.30.2