You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by "HHoflittlefish777 (via GitHub)" <gi...@apache.org> on 2023/03/24 11:01:42 UTC

[GitHub] [skywalking-banyandb] HHoflittlefish777 commented on a diff in pull request #261: Implement Write-ahead Logging

HHoflittlefish777 commented on code in PR #261:
URL: https://github.com/apache/skywalking-banyandb/pull/261#discussion_r1147426826


##########
pkg/wal/wal.go:
##########
@@ -43,18 +118,364 @@ type WAL interface {
 	// Write a logging entity.
 	// It will return immediately when the data is written in the buffer,
 	// The returned function will be called when the entity is flushed on the persistent storage.
-	Write(seriesID common.SeriesID, timestamp time.Time, data []byte) (func(), error)
+	Write(seriesID common.SeriesID, timestamp time.Time, data []byte) error

Review Comment:
   I solve this problem, please review again.



-- 
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: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org