use UTC for all time related folders

This commit is contained in:
Chris Lu
2020-08-29 21:01:14 -07:00
parent b69cb74c03
commit ef75ce8a34
3 changed files with 5 additions and 0 deletions

View File

@@ -56,6 +56,7 @@ func (tm *TopicManager) buildLogBuffer(tl *TopicControl, tp TopicPartition, topi
// fmt.Printf("flushing with topic config %+v\n", topicConfig)
startTime, stopTime = startTime.UTC(), stopTime.UTC()
targetFile := fmt.Sprintf(
"%s/%s/%s/%04d-%02d-%02d/%02d-%02d.part%02d",
filer2.TopicsDir, tp.Namespace, tp.Topic,