Skip to content

Lazy propagate etags to all users except current one #15910

Closed

Description

@PVince81

This PR #14764 introduces lazy etag propagation.
But in some cases it still updates the etag of other users who are not the current one (ex: owner).

To reduce the number of cache updates, we should make sure that the etag propagation is only done for the currently logged in user (the one who performed an action), and lazily do it for other users.

This came to mind after getting feedback from @butonic regarding excessive PostgreSQL cache updates.

@icewind1991

Activity

  1. PVince81 commented on Apr 28, 2015

    @PVince81
    ContributorAuthor

    There is a test plan here: #14764 (comment)
    If you monitor the DB changes, you can notice that in some cases the etag is changed directly (non-lazily) for more than a user.

  2. guruz commented on Oct 29, 2015

    @guruz
    Contributor

    Sounds smart!

  3. added this to the backlog milestone on Mar 2, 2016
  4. PVince81 commented on Mar 2, 2016

    @PVince81
    ContributorAuthor

    @icewind1991 I guess this is obsolete thanks to the new "storage-only etag propagation" + "compute etag of all mounted storages" logic ?

  5. icewind1991 commented on Mar 2, 2016

    @icewind1991
    Contributor

    Yes

  6. lock commented on Aug 5, 2019

    @lock

    This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

  7. locked as resolved and limited conversation to collaborators on Aug 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions