Skip to content

refactor(storages)!: Remove had_multiple_clients from request queue metadata - #2566

Merged
vdusek merged 2 commits into
apify:v2from
Mantisus:drop-had-multiple-clients
Dec 2, 2026
Merged

vdusek merged 2 commits into
apify:v2from
Mantisus:drop-had-multiple-clients

Conversation

@Mantisus

@Mantisus Mantisus commented Dec 2, 2026

Copy link
Copy Markdown
Collaborator

Description

RequestQueueMetadata no longer has the had_multiple_clients field, which only the Apify platform uses. A custom request queue backend no longer needs to set it, and the Apify storage client can add it to its own metadata model.

SqlStorageBackend no longer creates the had_multiple_clients column of the request_queues table and the client_id column of the request_queue_metadata_buffer table.

Testing

  • Existing unit tests for the request queue backends.

✍️ Drafted by Claude Code

@github-actions github-actions Bot added the t-tooling Issues with this label are in the ownership of the tooling team. label Dec 2, 2026
@Mantisus Mantisus self-assigned this Dec 2, 2026
@Mantisus
Mantisus requested a review from vdusek December 2, 2026 12:03
Comment thread docs/06_upgrading/upgrading_to_v2.md Resolved
Comment thread docs/06_upgrading/upgrading_to_v2.md Resolved
Comment thread src/crawlee/storage_backends/models.py Resolved
@Mantisus
Mantisus requested a review from vdusek December 2, 2026 12:59

@vdusek vdusek left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vdusek
vdusek merged commit 6419a72 into apify:v2 Dec 2, 2026
41 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-tooling Issues with this label are in the ownership of the tooling team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants