Skip to content

Client Loses Sync After Fork and Stops Receiving Updates #414

@shmulikza

Description

@shmulikza

Is this a support request?
No

Describe the bug
The client does not properly handle process forking. After a fork, it loses synchronization and fails to receive updated values from the remote service.

To reproduce

  1. Use the SDK within a forked process (e.g., a Celery worker).
  2. After the fork, update a flag remotely.

Expected behavior
The client should continue to receive and reflect the latest flag updates after the fork.

Logs
N/A

SDK version
9.1.0

Language version, developer tools
python 3.9.*

OS/platform
Various Linux distributionsץ

Additional context
The issue appears specifically in forked environments, suggesting the client may not reinitialize or resubscribe correctly after the fork.

Metadata

Metadata

Assignees

No one assigned

    Labels

    waiting for feedbackIndicates LaunchDarkly is waiting for customer feedback before issue is closed due to staleness.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions