Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(462)

Unified Diff: logdog/appengine/coordinator/endpoints/services/terminateStream.go

Issue 2592753002: Create unbuffered Tumble entry point for LogDog. (Closed)
Patch Set: Add bench, update. Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: logdog/appengine/coordinator/endpoints/services/terminateStream.go
diff --git a/logdog/appengine/coordinator/endpoints/services/terminateStream.go b/logdog/appengine/coordinator/endpoints/services/terminateStream.go
index feeed01102a7354f561b6d2766f95ca38179448b..22e18e1eabb2feb4b1ac2dc45f0c2944d743e421 100644
--- a/logdog/appengine/coordinator/endpoints/services/terminateStream.go
+++ b/logdog/appengine/coordinator/endpoints/services/terminateStream.go
@@ -117,7 +117,8 @@ func (s *server) TerminateStream(c context.Context, req *logdog.TerminateStreamR
// Schedule this mutation to execute after our settle delay.
Expiration: now.Add(params.SettleDelay),
}
- aeParent, aeName := cat.TaskName(c)
+
+ aeParent, aeName := ds.KeyForObj(c, lst), cat.TaskName(c)
if err := tumble.PutNamedMutations(c, aeParent, map[string]tumble.Mutation{aeName: &cat}); err != nil {
log.WithError(err).Errorf(c, "Failed to replace archive expiration mutation.")
return grpcutil.Internal

Powered by Google App Engine
This is Rietveld 408576698