mrproliu commented on code in PR #992:
URL: 
https://github.com/apache/skywalking-banyandb/pull/992#discussion_r2895915838


##########
banyand/measure/svc_data.go:
##########
@@ -384,7 +384,7 @@ func (s *dataSVC) takeGroupSnapshot(dstDir string, 
groupName string) error {
                return errors.Errorf("group %s has no tsdb", 
group.GetSchema().Metadata.Name)
        }
        tsdb := db.(storage.TSDB[*tsTable, option])
-       if err := tsdb.TakeFileSnapshot(dstDir); err != nil {
+       if _, err := tsdb.TakeFileSnapshot(dstDir); err != nil {
                return errors.WithMessagef(err, "snapshot %s fail to take file 
snapshot for group %s", dstDir, group.GetSchema().Metadata.Name)
        }

Review Comment:
   Changed to added a new Info log if the segment not created. 



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to