Skip to content

fix(documents): choose an export's node after it gets a place - #159

Merged
tharropoulos merged 3 commits into
typesense:masterfrom
tharropoulos:fix/export-stream-places
Nov 25, 2026
Merged

tharropoulos merged 3 commits into
typesense:masterfrom
tharropoulos:fix/export-stream-places

Conversation

@tharropoulos

@tharropoulos tharropoulos commented Nov 23, 2026 •

Copy link
Copy Markdown
Collaborator

Change Summary

  • skip the export limit when max_concurrent_requests leaves no spare connection, instead of allowing one export, which made a nested export hang
  • take an export's place before choosing a node, so a node marked unhealthy during the wait is not used and failover keeps the place
  • close a failed attempt's response before retrying another node
  • note in the readme that a sync close from another thread does not interrupt a read in progress
  • type max_connections as int | None, since None already meant no limit
  • follows up feat(documents): add a streaming document export #158

PR Checklist

@tharropoulos
tharropoulos force-pushed the fix/export-stream-places branch from a85576b to 038ef8d Compare November 23, 2026 17:08
@tharropoulos
tharropoulos marked this pull request as ready for review November 23, 2026 17:08
@tharropoulos
tharropoulos merged commit 36f845e into typesense:master Nov 25, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants