*
* @param bucket the updated bucket configuration.
*/
@Override
public void reconfigure(final Bucket bucket) {
CouchbaseConfig config = (CouchbaseConfig) bucket.getConfig();
int sizeBeforeReconfigure = viewNodes.size();
List<HttpHost> currentViewServers = new ArrayList<HttpHost>();
for (URL server : bucket.getConfig().getCouchServers()) {
HttpHost host = createHttpHost(server.getHost(), server.getPort());