nextcloud / nextcloud/mail

Deleting emails makes webpage unresponsive or slow

Open
#9,763 3 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. to triage bug
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

Steps to reproduce
  1. delete some emails
Expected behavior

webpage should continue responding

Actual behavior

After emails have been deleted, the page becomes slow to respond. Refreshing the page usually doesn't help. The browser needs to be closed and reopened to work properly. This behavior does not happen with other nextcloud apps on this server. Just mail.
I'm seeing a ton of "dirty table reads" and "partial sync" in the error log.

nextcloud (1).log

Mail app version

3.7.1

Mailserver or service

Direcnic Mail

Operating system

Ubuntu 22.04

PHP engine version

PHP 8.3

Web server

Apache (supported)

Database

MariaDB

Additional info

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the attached nextcloud.1.log, focusing on the reported “dirty table reads” and “partial sync” entries, then reproduce the issue by deleting emails in Mail 3.7.1. Done means the webpage remains responsive after deletion and the reported error behavior is addressed.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, mariadb, php
Domain
backend, databases, frontend, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.