mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-02 18:22:40 +01:00
incrementally update master ec shards state
This commit is contained in:
1 parent
db94a41f9e
commit
af67d99ca4
4 files changed
+77
No files matched your search
@@ -91,3 +91,7 @@ func (b ShardBits) ShardIdCount() (count int) {
|
||||
func (b ShardBits) Minus(other ShardBits) (ShardBits) {
|
||||
return b &^ other
|
||||
}
|
||||
|
||||
func (b ShardBits) Plus(other ShardBits) (ShardBits) {
|
||||
return b | other
|
||||
}
|
||||
Reference in new issue
Block a user