Skip to content

Commit

Permalink
fix dstore metering when reading output cache on tier2
Browse files Browse the repository at this point in the history
  • Loading branch information
sduchesneau committed Mar 19, 2024
1 parent 7292ff8 commit 077f980
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions service/tier2.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,10 +284,8 @@ func (s *Tier2Service) processRange(ctx context.Context, request *pbssinternal.P
return fmt.Errorf("cloning store: %w", err)
}
cloned.SetMeter(dmetering.GetBytesMeter(ctx))
cacheStore = cloned
}
// gs://substreams.streamingfast.store.google/cache/v2/{modulehash}/outputs/00001000-00002000.outputs.zstd

// gs://substreams.streamingfast.store.google/cache/v2/ {modulehash}/state

execOutputConfigs, err := execout.NewConfigs(cacheStore, outputGraph.UsedModulesUpToStage(int(request.Stage)), outputGraph.ModuleHashes(), s.runtimeConfig.StateBundleSize, logger)
if err != nil {
Expand Down

0 comments on commit 077f980

Please sign in to comment.