Skip to content

reuse etags when doing a background scan - #6201

Merged
PVince81 merged 4 commits into
masterfrom
backgroundscan-reuse-etag
Dec 6, 2013
Merged

PVince81 merged 4 commits into
masterfrom
backgroundscan-reuse-etag

Conversation

@icewind1991

Copy link
Copy Markdown
Contributor

prevents etag being regenerated when a background scan is needed

For owncloud/client#994

cc @DeepDiver1975 @karlitschek @PVince81 @dragotin

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will the SCAN_RECURSIVE introduce a risk of causing other issues or is it mandatory for this fix ?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Never mind, it was the default...

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's the default value

@karlitschek

Copy link
Copy Markdown
Contributor

Nice!!!!!! 👍

@PVince81

PVince81 commented Dec 5, 2013

Copy link
Copy Markdown
Contributor

👍

@dragotin

dragotin commented Dec 5, 2013

Copy link
Copy Markdown
Contributor

Thanks so much, this issue was one of the most annoying for the users.

@PVince81

PVince81 commented Dec 5, 2013

Copy link
Copy Markdown
Contributor

@icewind1991 seems your new test is failing 😦

@DeepDiver1975

Copy link
Copy Markdown
Contributor

failing on sqlite

@MorrisJobke

Copy link
Copy Markdown
Contributor

Now it fails on mysql and postgresql

@tenacioustechie

Copy link
Copy Markdown

Will this be patched to the OC5 branch?
And does the scan occur from cron job? which may also occur from a cron job instead of web login if you set it up that way.

@icewind1991

Copy link
Copy Markdown
Contributor Author

It might be an mtime racecondition

Comment thread tests/lib/files/etagtest.php Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let's add the '' and '/' as well - just in case - THX

@PVince81

PVince81 commented Dec 6, 2013

Copy link
Copy Markdown
Contributor

So, are we going to restart Jenkins until it works ?
If that's the case we can probably already merge this now as it will surely happen on master as well...

@DeepDiver1975

Copy link
Copy Markdown
Contributor

So, are we going to restart Jenkins until it works ?

Last retest was valid because github timed out - let's see ...

@MorrisJobke

Copy link
Copy Markdown
Contributor

@PVince81 The previous fails were also github timeouts ... so the retests are valid.

@ghost

ghost commented Dec 6, 2013

Copy link
Copy Markdown

@PVince81

PVince81 commented Dec 6, 2013

Copy link
Copy Markdown
Contributor

And now it's testNewUser...

We need to merge this quickly!

@karlitschek

Copy link
Copy Markdown
Contributor

@DeepDiver1975 What do you think? We need this merged very soon.

@karlitschek

Copy link
Copy Markdown
Contributor

@icewind1991 Can you please have a look??? We need this for the release now!

@icewind1991

Copy link
Copy Markdown
Contributor Author

We could remove the tests for / and /folder since etag changes for folders don't trigger downloads as long as the files inside it stay the same.

@PVince81

PVince81 commented Dec 6, 2013

Copy link
Copy Markdown
Contributor

@icewind1991 please prepare the backport to stable6

@PVince81

PVince81 commented Dec 6, 2013

Copy link
Copy Markdown
Contributor

Tests passed for e888bdd but github hasn't updated its status. Merging now.

PVince81 pushed a commit that referenced this pull request Dec 6, 2013
reuse etags when doing a background scan
@PVince81
PVince81 merged commit 123bc99 into master Dec 6, 2013
@ghost

ghost commented Dec 6, 2013

Copy link
Copy Markdown

Build finished.

@ghost

ghost commented Dec 6, 2013

Copy link
Copy Markdown

@PVince81
PVince81 deleted the backgroundscan-reuse-etag branch December 6, 2013 18:22
@ghost

ghost commented Dec 6, 2013

Copy link
Copy Markdown

@JacekZ

JacekZ commented Dec 6, 2013

Copy link
Copy Markdown

ok, great :) but what about stable5? is there possibility to backport this fix to stable5?

@DeepDiver1975

Copy link
Copy Markdown
Contributor

ok, great :) but what about stable5? is there posibility to backpot this fix to stable5?

already on it's way - see above #6225

@JacekZ

JacekZ commented Dec 7, 2013

Copy link
Copy Markdown

yep, but i am taking about stable5 not stable6 - #6225 refers to stable6. it would be nice to see this fix in stable5, especially keeping in mind @dragotin 's words: "mostly discussed ownCloud bug" - owncloud/client#994. In my opinion most users would waiting same period of time before deploying stable6 in production environment. With above fix stable5 seems to be really stable product.

@DeepDiver1975

Copy link
Copy Markdown
Contributor

True Story. Sorry didn't realize that.
Yes we shall backport this to stable5

@karlitschek

Copy link
Copy Markdown
Contributor

Yes :-)

@MorrisJobke

Copy link
Copy Markdown
Contributor

@JacekZ You can find it here #6232

@lock lock Bot locked as resolved and limited conversation to collaborators Aug 25, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants