hanahmily commented on code in PR #799:
URL: 
https://github.com/apache/skywalking-banyandb/pull/799#discussion_r2393542307


##########
banyand/internal/sidx/part_wrapper.go:
##########
@@ -168,11 +168,7 @@ func (pw *partWrapper) markForRemoval() {
 }
 
 // ID returns the unique identifier of the part.
-// Returns 0 if the part is nil.
 func (pw *partWrapper) ID() uint64 {

Review Comment:
   I prefer panic. This bug is from a default 0



-- 
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