+ var (
+ readCollections collection.ReadCollections
+ keepServerInfo keep.ReadServers
+ )
+
+ if !summary.MaybeReadData(arvLogger, &readCollections, &keepServerInfo) {
+ collectionChannel := make(chan collection.ReadCollections)
+
+ go func() {
+ collectionChannel <- collection.GetCollectionsAndSummarize(
+ collection.GetCollectionsParams{
+ Client: arv,
+ Logger: arvLogger,
+ BatchSize: 50})
+ }()
+
+ keepServerInfo = keep.GetKeepServersAndSummarize(
+ keep.GetKeepServersParams{
+ Client: arv,
+ Logger: arvLogger,
+ Limit: 1000})
+
+ readCollections = <-collectionChannel