Some Server/Data Center builds keep returning _links.next from
/rest/api/space/{key}/content/page after the last page, with empty
results (#3596). The connector followed it until the 10000-hop cap, so a
sync ran for hours, imported nothing and then failed.
Stop after three consecutive empty pages that still link onward. A
single empty page is not taken as the end, since permission filtering
can empty one window mid-listing. A listing cut short this way is
reported as incomplete: its pages are imported, pages it did not reach
stay in the cursor, and deletion reconciliation is skipped for that run
so an early stop cannot mirror-delete documents.
|
||
|---|---|---|
| .. | ||
| client.go | ||
| client_behavior_test.go | ||
| client_pages_test.go | ||
| client_resolve_test.go | ||
| client_test.go | ||
| connector.go | ||
| connector_stream_test.go | ||
| types.go | ||
| types_test.go | ||