mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 21:39:55 +08:00
incrementally update master ec shards state
This commit is contained in:
@@ -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