Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object store move fixes and more #48160

Merged
merged 12 commits into from
Sep 18, 2024
Merged

Object store move fixes and more #48160

merged 12 commits into from
Sep 18, 2024

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, yemkareems and provokateurin and removed request for a team September 18, 2024 09:21
@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
…FromStorage

Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
@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 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

Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: Robin Appelman <robin@icewind.nl>
@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
162 of 174 checks passed
@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
7 participants