Cluster: new field in cluster node structure, "numslots".
Before a relatively slow popcount() operation was needed every time we needed to get the number of slots served by a given cluster node. Now we just need to check an integer that is taken in sync with the bitmap.
Please register or sign in to comment