Lokasi ngalangkungan proxy:   [ UP ]  
[Ngawartoskeun bug]   [Panyetelan cookie]                
Skip to content

Federation - add logging, update the server status if sync fails - #33104

Merged
blizzz merged 1 commit into
masterfrom
enhancement/add-logging-federation
Oct 1, 2022
Merged

blizzz merged 1 commit into
masterfrom
enhancement/add-logging-federation

Conversation

@miaulalala

@miaulalala miaulalala commented Jul 4, 2022 •

Copy link
Copy Markdown
Contributor

Add some more logging and logging at the appropriate level. Also, the sync status was only updated for a specific error case when the server revoked access but not on general failure. This has been added too.

Manually backported #33103

Comment thread apps/dav/lib/CardDAV/SyncService.php Resolved
@github-actions

github-actions Bot commented Jul 5, 2022

Copy link
Copy Markdown
Contributor

Possible performance regression detected

Show Output
1 queries added

≠ /remote.php/dav/files/test with 1 queries added
  + UPDATE "oc_preferences" SET "configvalue" = :dcValue1 WHERE ("userid" = :dcValue2) AND ("appid" = :dcValue3) AND ("configkey" = :dcValue4)
≠ /remote.php/dav/files/test/test.txt with 1 queries removed
  - UPDATE "oc_preferences" SET "configvalue" = :dcValue1 WHERE ("userid" = :dcValue2) AND ("appid" = :dcValue3) AND ("configkey" = :dcValue4)
≠ /remote.php/dav/files/test/many_files with 1 queries added
  + UPDATE "oc_preferences" SET "configvalue" = :dcValue1 WHERE ("userid" = :dcValue2) AND ("appid" = :dcValue3) AND ("configkey" = :dcValue4)
= /remote.php/dav/files/test/new_file.txt
= /remote.php/dav/files/test/new_file.txt

@miaulalala
miaulalala requested a review from ChristophWurst July 5, 2022 14:03
@miaulalala miaulalala changed the title Add logging to federation Federation - add logging, update the server status if sync fails Jul 6, 2022
@miaulalala
miaulalala force-pushed the enhancement/add-logging-federation branch 2 times, most recently from 6371f1a to 9bc6c51 Compare July 11, 2022 10:48
@github-actions

Copy link
Copy Markdown
Contributor

Possible performance regression detected

Show Output
1 queries added

≠ /remote.php/dav/files/test with 1 queries removed
  - UPDATE "oc_preferences" SET "configvalue" = :dcValue1 WHERE ("userid" = :dcValue2) AND ("appid" = :dcValue3) AND ("configkey" = :dcValue4)
≠ /remote.php/dav/files/test/test.txt with 1 queries added
  + UPDATE "oc_preferences" SET "configvalue" = :dcValue1 WHERE ("userid" = :dcValue2) AND ("appid" = :dcValue3) AND ("configkey" = :dcValue4)
= /remote.php/dav/files/test/many_files
= /remote.php/dav/files/test/new_file.txt
≠ /remote.php/dav/files/test/new_file.txt with 1 queries added
  + UPDATE "oc_preferences" SET "configvalue" = :dcValue1 WHERE ("userid" = :dcValue2) AND ("appid" = :dcValue3) AND ("configkey" = :dcValue4)

@PVince81

Copy link
Copy Markdown
Member

/rebase

@PVince81 PVince81 added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Jul 27, 2022
@PVince81 PVince81 added this to the Nextcloud 25 milestone Jul 27, 2022
@PVince81

Copy link
Copy Markdown
Member

@miaulalala we'll also need a stable24 backport. should it be based on master or your manual stable23 one ?

Signed-off-by: Anna Larch <anna@nextcloud.com>
@nextcloud-command
nextcloud-command force-pushed the enhancement/add-logging-federation branch from 9bc6c51 to 2988efe Compare July 27, 2022 15:00
@miaulalala

Copy link
Copy Markdown
Contributor Author

@miaulalala we'll also need a stable24 backport. should it be based on master or your manual stable23 one ?

on master :)

@miaulalala

Copy link
Copy Markdown
Contributor Author

/backport to stable24

@miaulalala

Copy link
Copy Markdown
Contributor Author

Drone failure due to:

┌─ @BeforeScenario # NextcloudTestServerContext::setUpNextcloudTestServer()
--
139 | │
140 | ╳  Nextcloud test server could not be started (Exception)
141 | │
142 | Scenario: show download again in a public shared link


This was referenced Aug 12, 2022
This was referenced Aug 24, 2022
This was referenced Sep 6, 2022
@skjnldsv skjnldsv mentioned this pull request Sep 15, 2022
This was referenced Sep 20, 2022
@blizzz blizzz modified the milestones: Nextcloud 25, Nextcloud 26 Sep 22, 2022
@blizzz
blizzz merged commit e714524 into master Oct 1, 2022
@blizzz
blizzz deleted the enhancement/add-logging-federation branch October 1, 2022 19:53
@backportbot-nextcloud

Copy link
Copy Markdown

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

@susnux susnux mentioned this pull request Nov 30, 2026
1 of 4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to release Ready to be released and/or waiting for tests to finish enhancement feature: federation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants