WanT0011

Results 4 issues of WanT0011

### What version of nacos-sdk-go are you using? [email protected] ### What version of nacos-sever are you using? 2.x ### What version of Go are you using (`go version`)? go 1.20...

version: v7.2.1 问题:github.com/andeya/erpc/[email protected]/socket/socket.go:35 的socket接口说是并发安全的;但是在一个协程执行close操作,另一个协程执行WriteMessage方法时可能会出现panic;具体是 在protocol.Pack(message)的时候 protocol为空,因为它已经在close中置为了nil; ``` func (s *socket) WriteMessage(message Message) error { s.mu.RLock() protocol := s.protocol s.mu.RUnlock() err := protocol.Pack(message) if err != nil && s.isActiveClosed() { err...

#72 When we use tail to collect logs (starting from the beginning of the new file), during file renaming (when flush and rename events occur very close to each other),...

1. Loss situation: When the file flush and file renaming occur very close to each other, part of the content of the old file may be lost. 2. Duplication situation:...

bug