Skip to content

Registry read methods should not go through the lock #3090

Closed

Description

@jerive

Expected Behavior

During the refresh of the registry cache using the refresh_registry method, concurrent accesses to the registry should not be locked but return immediately the old version of the registry.

Current Behavior

Registry accesses are locked during refresh, which augments the max latency of any service depending on the registry.

Steps to reproduce

call (1) store.refresh_registry() and just after, call (2) store.get_feature_view().
(2) waits for (1) to finish.

Specifications

  • Version: 0.23.1
  • Platform: Linux
  • Subsystem:

Possible Solution

Read registry methods should not access the registry through the lock.

Activity

  1. changed the title [-]Registry lock is [/-] [+]Registry read methods should not go through the lock[/+] on Aug 16, 2022
  2. self-assigned this
    on Aug 19, 2022
  3. stale commented on Dec 20, 2022

    @stale

    This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

  4. added
    wontfix
    on Dec 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

kind/bugpriority/p2wontfix

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions