Re: [infinispan-dev] IgnoreExtraResponsesValidityFilter

2012-01-14 Thread Bela Ban
Another implementation could take the current view, and create a BitSet with the size being the length of the view, and every bit corresponds to the position of a member in the view, e.g.: V1={A,B,C,D,E,F}, bitset={0,0,1,0,1,1} means that responses have been received from C, E and F. On

Re: [infinispan-dev] IgnoreExtraResponsesValidityFilter

2012-01-14 Thread Dan Berindei
Good catch Manik! I just copied the approach from ClusteredGetResponseFilter and I didn't think too much about performance issues. Bela, the BitSet approach sounds a little better than a simple counter from a debugging perspective. But I think we're also missing some synchronization at the