File tree Expand file tree Collapse file tree
driver-core/src/main/java/com/datastax/driver/core/policies Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -253,9 +253,10 @@ protected Host computeNext() {
253253 * in the order provided by cluster metadata (preserving primary replica order).
254254 * <li><strong>Remote replicas:</strong> Returns UP replicas marked as REMOTE by the child
255255 * policy.
256- * <li><strong>Child policy fallback:</strong> If no suitable replicas are available (all DOWN
257- * or IGNORED), falls back to the child policy's query plan, filtering out already-returned
258- * replicas to avoid duplicates.
256+ * <li><strong>Child policy fallback:</strong> If no suitable replicas are available (for
257+ * example, all are DOWN or IGNORED and thus none are returned), falls back to the child
258+ * policy's query plan for the remaining hosts. The child policy's plan is used as-is and
259+ * may include hosts that were already considered by this iterator.
259260 * </ol>
260261 */
261262 private class LWTHostIterator extends AbstractIterator <Host > {
You can’t perform that action at this time.
0 commit comments