Voting-Based Consensus of Data Partitions