Skip to content

Conversation

@icewind1991
Copy link
Member

@icewind1991 icewind1991 commented Sep 18, 2024

Fixes some issues in cross-storage moves with object storage found by the tests added in #47986

I'm not sure how much of these issues would occur in the real world or only in the artificial test situations.

Comes with a bonus lower overhead file_put_contents implementation.

Fixes #48169

@icewind1991 icewind1991 added the 3. to review Waiting for reviews label Sep 18, 2024
@icewind1991 icewind1991 added this to the Nextcloud 31 milestone Sep 18, 2024
@icewind1991 icewind1991 requested review from a team, artonge, provokateurin and yemkareems and removed request for a team September 18, 2024 09:21
@icewind1991 icewind1991 force-pushed the object-store-move-fixes branch from 0e8eac6 to 4baf83f Compare September 18, 2024 09:23
@icewind1991 icewind1991 requested a review from come-nc September 18, 2024 09:24
@provokateurin
Copy link
Member

It seems to uncover a lot of different problems according to the tests.

@icewind1991 icewind1991 added 2. developing Work in progress and removed 3. to review Waiting for reviews labels Sep 18, 2024
@icewind1991 icewind1991 force-pushed the object-store-move-fixes branch from 4baf83f to 8b06ce1 Compare September 18, 2024 11:55
@cfiehe
Copy link

cfiehe commented Sep 18, 2024

@icewind1991
Thank you very much for fixing the issues 😃. Then in the very end the new test cases - even with initial bugs - were actually successful.

@icewind1991 icewind1991 force-pushed the object-store-move-fixes branch from bdaac72 to 0792108 Compare September 18, 2024 13:07
@icewind1991 icewind1991 changed the title Object store move fixes Object store move fixes and more Sep 18, 2024
@icewind1991 icewind1991 added 3. to review Waiting for reviews and removed 2. developing Work in progress labels Sep 18, 2024
@icewind1991
Copy link
Member Author

phpunit is green now

@icewind1991 icewind1991 force-pushed the object-store-move-fixes branch from f325c71 to 1ad58d6 Compare September 18, 2024 14:10
@provokateurin
Copy link
Member

Seems like the sharding bug is back on oracle.

@icewind1991
Copy link
Member Author

from what I can tell SharesReminderJob never worked on oracle, I'm trying to fix it, but you know, oracle...

@blizzz blizzz merged commit 33928fc into master Sep 18, 2024
@blizzz blizzz deleted the object-store-move-fixes branch September 18, 2024 15:50
@icewind1991
Copy link
Member Author

/backport to stable30

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Method getStorageId() of StorageObjectStore returns null instead of the storage/bucket identifier

8 participants