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

Unified Diff: logdog/common/storage/bigtable/storage.go

Issue 2575383002: Add server/cache support to gaeconfig. (Closed)
Patch Set: Un-collapse. Created 3 years, 11 months 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
« no previous file with comments | « logdog/common/storage/bigtable/bigtable_test.go ('k') | logdog/common/storage/bigtable/storage_test.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: logdog/common/storage/bigtable/storage.go
diff --git a/logdog/common/storage/bigtable/storage.go b/logdog/common/storage/bigtable/storage.go
index 00dd18344fa78a726a4ce2c11a58313563ec4373..5357baa8f563c6237417f40ab2ef3fa7882d5870 100644
--- a/logdog/common/storage/bigtable/storage.go
+++ b/logdog/common/storage/bigtable/storage.go
@@ -411,6 +411,7 @@ func (w *rowWriter) append(d []byte) (appended bool) {
func (w *rowWriter) flush(ctx context.Context, raw btTable, index types.MessageIndex,
project cfgtypes.ProjectName, path types.StreamPath) (int, error) {
+
flushCount := w.count
if flushCount == 0 {
return 0, nil
« no previous file with comments | « logdog/common/storage/bigtable/bigtable_test.go ('k') | logdog/common/storage/bigtable/storage_test.go » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698