Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Forgetting a room doesn't clear sync cache #15147

Open
turt2live opened this issue Feb 23, 2023 · 1 comment
Open

Forgetting a room doesn't clear sync cache #15147

turt2live opened this issue Feb 23, 2023 · 1 comment
Labels
A-Sync defects related to /sync O-Occasional Affects or can be seen by some users regularly or most users rarely S-Tolerable Minor significance, cosmetic issues, low or no impact to users. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.

Comments

@turt2live
Copy link
Member

turt2live commented Feb 23, 2023

Description

I left a room, /forget it, and it was still appearing under "historical" after refreshing my client. In another client, the room was still appearing in the initial sync.

Steps to reproduce

  1. Create a room
  2. Initial sync a device
  3. Leave the room
  4. Forget the room
  5. Re-initial sync the device from step 2

Homeserver

localhost

Synapse Version

1.77.0

Installation Method

Docker (matrixdotorg/synapse)

Database

postgres 13

Workers

Single process

Platform

docker

Configuration

No response

Relevant log output

element-dev-stack-eledev-synapse-1      | 2023-02-23 22:07:54,122 - synapse.util.caches.response_cache - 260 - INFO - GET-212 - [sync]: using completed cached result for [(@demo:localhost, 10000, None, '2', False, 'WMHLYEWEDG')]
element-dev-stack-eledev-synapse-1      | 2023-02-23 22:07:54,123 - synapse.access.http.8008 - 460 - INFO - GET-212 - 172.26.0.5 - 8008 - {@demo:localhost} Processed request: 0.001sec/0.000sec (0.001sec, 0.000sec) (0.000sec/0.000sec/0) 3129B 200 "GET /_matrix/client/v3/sync?filter=2&timeout=10000& HTTP/1.0" "okhttp/4.10.0" [0 dbevts]

Anything else that would be useful to know?

restarting synapse works

@turt2live
Copy link
Member Author

related: #13262

@reivilibre reivilibre added A-Sync defects related to /sync S-Tolerable Minor significance, cosmetic issues, low or no impact to users. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. O-Occasional Affects or can be seen by some users regularly or most users rarely labels Feb 24, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Sync defects related to /sync O-Occasional Affects or can be seen by some users regularly or most users rarely S-Tolerable Minor significance, cosmetic issues, low or no impact to users. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Projects
None yet
Development

No branches or pull requests

2 participants