if (flushResponse.isDone()) {
return Observable.just(true);
}
while (true) {
GetResponse res = core.<GetResponse>send(new GetRequest(markerKey, bucket)).toBlocking().single();
if (res.status() == ResponseStatus.NOT_EXISTS) {
return Observable.just(true);
}
}
}
});