Repository navigation
fix getUsersSharingFile with locking - #17071
Conversation
|
Let me run the full set against this over lunch |
|
You mean run it over 🍔 ? |
|
|
So moving a file into a subfolder "overwriting" an existing file is not working as expected anymore. |
... |
|
@icewind1991 doesn't matter:
|
|
@owncloud-bot retest this please |
|
@icewind1991 rebase to get oracle fix in - THX |
The patch does not solve the problem, no need to rebase anything 🙊 |
|
This fixes the web ui upload found by @PVince81 |
a632b3c to
c338999
Compare
|
A new inspection was created. |
|
Also this fixes the "overwrite a file in a share by moving a file in" which fails on master.
With cadaver as user2:
|
|
|
I ran smashbox on this branch: success. Maybe stray users or stray locks. |
|
Let's check the keys in redis before and after these runs. ( |
|
Well it fixes most of the sharePermission for me. which is what I pointed out all the way up there already. |
|
I deleted all tests users manually and cleared the stray keys.
|
|
I started it with loop=10 and run 5 and 6 failed with above exception. So it seems to be a timing issue 🙈 |
|
No stray keys after run 1.
But no stray keys now. (note: in my previous test runs I got the "Connection Closed" error, maybe that left stray keys)
There are 4 stray keys in redis, I leave them there.
Now I remove the stray keys with
@nickvergessen can you make sure that there are no stray keys in your redis before you run the test ? And I think this is the explanation for the randomness. @nickvergessen did you see any "BadStatusLine" failures in your most recent loop test ? If possible, would be good to see if keys were leaked between runs. |
|
No, I didn't have any "BadStatusLine" anymore since I use a VM for testing. Well since the patch fixes the upload via webui, I think we can use it for now, and when we find a reliable circumstance that still needs fixing, we can have a look for that later? |
|
Yes, let's do that. And raise a separate ticket to keep the other random case in mind. 👍 for this PR |
|
👍 |
|
Jenkins, don't be a buzzkill please |
|
@nickvergessen are you able to manually trigger the error that smashbox gives you? |
fix getUsersSharingFile with locking

Possible fix for #17029
I still can reproduce 17029 myself...
@nickvergessen @PVince81 please test