Skip to content

fix(Scanner): Use time based limit for the transaction#56290

Open
artonge wants to merge 2 commits intomasterfrom
artonge/fix/use_time_limit_in_scanner
Open

fix(Scanner): Use time based limit for the transaction#56290
artonge wants to merge 2 commits intomasterfrom
artonge/fix/use_time_limit_in_scanner

Conversation

@artonge
Copy link
Contributor

@artonge artonge commented Nov 7, 2025

Using the node count does not help if handling a node is slow.

This prevent locking the database for unknown amount of time.

10 seconds is arbitrary, but I don't see any reason to no go even lower.

@artonge artonge requested a review from a team as a code owner November 7, 2025 15:27
@artonge artonge requested review from CarlSchwan, icewind1991, leftybournes and yemkareems and removed request for a team November 7, 2025 15:27
@artonge artonge force-pushed the artonge/fix/use_time_limit_in_scanner branch from 3f93896 to ca2607d Compare November 7, 2025 15:42
@artonge artonge self-assigned this Nov 7, 2025
@artonge artonge added bug feature: files php Pull requests that update Php code 3. to review Waiting for reviews labels Nov 7, 2025
@artonge artonge added this to the Nextcloud 33 milestone Nov 7, 2025
@artonge
Copy link
Contributor Author

artonge commented Nov 7, 2025

/backport to stable32

@artonge
Copy link
Contributor Author

artonge commented Nov 7, 2025

/backport to stable31

@artonge artonge force-pushed the artonge/fix/use_time_limit_in_scanner branch 2 times, most recently from cfafeeb to 7c8f80a Compare November 7, 2025 15:53
Signed-off-by: Louis Chmn <louis@chmn.me>
@artonge artonge force-pushed the artonge/fix/use_time_limit_in_scanner branch 7 times, most recently from d0b1ab7 to 618bd87 Compare November 8, 2025 10:16
Using the node count does not help if handling a node is slow.

Signed-off-by: Louis Chmn <louis@chmn.me>
@artonge artonge force-pushed the artonge/fix/use_time_limit_in_scanner branch from 618bd87 to d63a245 Compare November 8, 2025 10:27
This was referenced Jan 7, 2026
This was referenced Jan 14, 2026
@artonge
Copy link
Contributor Author

artonge commented Jan 22, 2026

/backport! to stable30

@backportbot
Copy link

backportbot bot commented Jan 22, 2026

The backport to stable30 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable30
git pull origin stable30

# Create the new backport branch
git checkout -b backport/56290/stable30

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick 8dd6e002 d63a2454

# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/56290/stable30

Error: Failed to push branch backport/56290/stable30: remote: Invalid username or token. Password authentication is not supported for Git operations.
fatal: Authentication failed for 'https://github.com/nextcloud/server.git/'


Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

This was referenced Jan 29, 2026
@AndyScherzinger
Copy link
Member

/backport to stable33

@artonge
Copy link
Contributor Author

artonge commented Feb 5, 2026

I think we should keep the max entry to commit limit, so that we have two limits instead of one. I'll try to look into it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews backport-request bug feature: files php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants