Skip to content

Align use_state with JS implementation #856

Closed

Description

@Pijukatel

This is pre-requisite for adaptive crawler : #249

use_state should ensure access to global state without race conditions. Currently there can be race conditions when two parallel handlers try to access same value at the same time. Both can get it from kvs and that results in two separate references. Instead both should always get the same reference. So there should be lock that ensures no race conditions.

use_state in JS implementation has hard-coded key.

Activity

  1. self-assigned this
    on Jan 3, 2025
  2. added
    t-toolingIssues with this label are in the ownership of the tooling team.
    on Jan 3, 2025
  3. changed the title [-]Handle use_state RequestHandlerRunResult[/-] [+]Align use_state with JS implementation[/+] on Jan 6, 2025
  4. added a commit that references this issue on Jan 14, 2025
    000b976
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request.t-toolingIssues with this label are in the ownership of the tooling team.

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions