cvictory edited a comment on issue #1214:
URL: https://github.com/apache/dubbo-go/issues/1214#issuecomment-848411896


   增加一个待解决:
   ```
   WARNING: DATA RACE
   Read at 0x00c000173b78 by goroutine 105:
     github.com/RoaringBitmap/roaring.(*runContainer16).cardinality()
         
/Users/cvictory/go/pkg/mod/github.com/!roaring!bitmap/[email protected]/runcontainer.go:989
 +0x64
     github.com/RoaringBitmap/roaring.(*runContainer16).getCardinality()
         
/Users/cvictory/go/pkg/mod/github.com/!roaring!bitmap/[email protected]/runcontainer.go:2353
 +0x265
     github.com/RoaringBitmap/roaring.(*runContainer16).equals()
         
/Users/cvictory/go/pkg/mod/github.com/!roaring!bitmap/[email protected]/runcontainer.go:2124
 +0x23c
     github.com/RoaringBitmap/roaring.(*roaringArray).equals()
         
/Users/cvictory/go/pkg/mod/github.com/!roaring!bitmap/[email protected]/roaringarray.go:451
 +0x2fa
     github.com/RoaringBitmap/roaring.(*Bitmap).Equals()
         
/Users/cvictory/go/pkg/mod/github.com/!roaring!bitmap/[email protected]/roaring.go:524
 +0xbb
     github.com/apache/dubbo-go/cluster/router/utils.JoinIfNotEqual()
         
/Users/cvictory/go/pkg/mod/gitlab.alibaba-inc.com/middleware-go/[email protected]/cluster/router/utils/bitmap_util.go:31
 +0xc1
     
github.com/apache/dubbo-go/cluster/router/conncheck.(*ConnCheckRouter).Route()
         
/Users/cvictory/go/pkg/mod/gitlab.alibaba-inc.com/middleware-go/[email protected]/cluster/router/conncheck/conn_check_route.go:63
 +0xb5
     github.com/apache/dubbo-go/cluster/router/chain.(*RouterChain).Route()
         
/Users/cvictory/go/pkg/mod/gitlab.alibaba-inc.com/middleware-go/[email protected]/cluster/router/chain/chain.go:87
 +0x1a1
     github.com/apache/dubbo-go/registry/directory.(*RegistryDirectory).List()
         
/Users/cvictory/go/pkg/mod/gitlab.alibaba-inc.com/middleware-go/[email protected]/registry/directory/directory.go:407
 +0xe8
     
github.com/apache/dubbo-go/cluster/cluster_impl.(*failoverClusterInvoker).Invoke()
         
/Users/cvictory/go/pkg/mod/gitlab.alibaba-inc.com/middleware-go/[email protected]/cluster/cluster_impl/failover_cluster_invoker.go:57
 +0x8a
     github.com/apache/dubbo-go/common/proxy.DefaultProxyImplementFunc.func1.1()
         
/Users/cvictory/go/pkg/mod/gitlab.alibaba-inc.com/middleware-go/[email protected]/common/proxy/proxy.go:207
 +0x7ca
     reflect.callReflect()
         /usr/local/go/src/reflect/value.go:565 +0x5c5
     reflect.makeFuncStub()
         /usr/local/go/src/reflect/asm_amd64.s:20 +0x41
   
   Previous write at 0x00c000173b78 by goroutine 104:
     github.com/RoaringBitmap/roaring.(*runContainer16).cardinality()
         
/Users/cvictory/go/pkg/mod/github.com/!roaring!bitmap/[email protected]/runcontainer.go:997
 +0xfc
     github.com/RoaringBitmap/roaring.(*runContainer16).getCardinality()
         
/Users/cvictory/go/pkg/mod/github.com/!roaring!bitmap/[email protected]/runcontainer.go:2353
 +0x265
     github.com/RoaringBitmap/roaring.(*runContainer16).equals()
         
/Users/cvictory/go/pkg/mod/github.com/!roaring!bitmap/[email protected]/runcontainer.go:2124
 +0x23c
     github.com/RoaringBitmap/roaring.(*roaringArray).equals()
         
/Users/cvictory/go/pkg/mod/github.com/!roaring!bitmap/[email protected]/roaringarray.go:451
 +0x2fa
     github.com/RoaringBitmap/roaring.(*Bitmap).Equals()
         
/Users/cvictory/go/pkg/mod/github.com/!roaring!bitmap/[email protected]/roaring.go:524
 +0xbb
     github.com/apache/dubbo-go/cluster/router/utils.JoinIfNotEqual()
         
/Users/cvictory/go/pkg/mod/gitlab.alibaba-inc.com/middleware-go/[email protected]/cluster/router/utils/bitmap_util.go:31
 +0xc1
     
github.com/apache/dubbo-go/cluster/router/conncheck.(*ConnCheckRouter).Route()
         
/Users/cvictory/go/pkg/mod/gitlab.alibaba-inc.com/middleware-go/[email protected]/cluster/router/conncheck/conn_check_route.go:63
 +0xb5
     github.com/apache/dubbo-go/cluster/router/chain.(*RouterChain).Route()
         
/Users/cvictory/go/pkg/mod/gitlab.alibaba-inc.com/middleware-go/[email protected]/cluster/router/chain/chain.go:87
 +0x1a1
     github.com/apache/dubbo-go/registry/directory.(*RegistryDirectory).List()
         
/Users/cvictory/go/pkg/mod/gitlab.alibaba-inc.com/middleware-go/[email protected]/registry/directory/directory.go:407
 +0xe8
     
github.com/apache/dubbo-go/cluster/cluster_impl.(*failoverClusterInvoker).Invoke()
         
/Users/cvictory/go/pkg/mod/gitlab.alibaba-inc.com/middleware-go/[email protected]/cluster/cluster_impl/failover_cluster_invoker.go:57
 +0x8a
     github.com/apache/dubbo-go/common/proxy.DefaultProxyImplementFunc.func1.1()
         
/Users/cvictory/go/pkg/mod/gitlab.alibaba-inc.com/middleware-go/[email protected]/common/proxy/proxy.go:207
 +0x7ca
     reflect.callReflect()
         /usr/local/go/src/reflect/value.go:565 +0x5c5
     reflect.makeFuncStub()
         /usr/local/go/src/reflect/asm_amd64.s:20 +0x41
   
   ```


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

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



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to