hanahmily commented on code in PR #801:
URL:
https://github.com/apache/skywalking-banyandb/pull/801#discussion_r2416508784
##########
banyand/trace/write_data.go:
##########
@@ -35,11 +34,41 @@ type syncPartContext struct {
l *logger.Logger
writers *writers
memPart *memPart
- sidxPartContext *sidx.SyncPartContext
+ sidxPartContexts map[string]*sidx.SyncPartContext
traceIDFilterBuffer []byte
tagTypeBuffer []byte
}
+func (s *syncPartContext) NewPartType(ctx *queue.ChunkedSyncPartContext) error
{
+ if ctx.PartType != PartTypeCore {
Review Comment:
It is already a constant.
--
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]