wait for data to get replicated
compare sets instead of arrays