You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Store checksum in journal and verifiy upload for eml-files and others #3235
Once #2542 is implement, the checksum should be stored in local sync journal. We could use it to verify if an upload is needed, or if just the files metadata (mtime specifically) has changed. This would solve trouble we have with eml files on windows, and this could be a nice first usage case.
Problems: If we detect that only the mtime has changed, we could propagate the new mtime to the server, using PROPPATCH (needs to be verified). But that will probably not change the ETag of the file and also not the ETags of the parent directories. If it would, a client seeing a changed ETag would not understand that only the mtime has changed, and not the content of the file.
Note to self: If the server could do file checksums as well, it should also maintain directory checksums. The checksums only would change if the file contents or the contents of files within a directory changes. The ETag would just be an indication that something changed, either content or metadata. The client would need to consider the checksum to find that out.
It would be good in a way to have it support multiple checksum algos at the same time.
For example Adler32 is only good for error or change detection but not for deduplication (e.g. for #230)
I tested this issue and is working OK
Desktop v ownCloud-2.1.0.5655-nightly20151126-setup.exe
Server v {"installed":true,"maintenance":false,"version":"8.2.1.4","versionstring":"8.2.1","edition":"Enterprise"}
It seems that this bug affects owncloud-client yet.
If I don't remove ".eml" in "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionPropertySystemPropertyHandlers" the client keep uploading (unchanged) *.eml files.
So, every time windows update itself (and so the ".eml" registry key is set back to default), hundred of .eml files (and MB) are re-uploaded to the server.
EDIT:
O.S.: windows 10 Home
Client version: 2.1.0 (build 5683)
@guruz exactly.
Today windows 10 upgrade itserlf and re-set the ".eml" key in the register (the one I've removed days ago), after that owncloud-client has begun to re-upload all the (unchanged) *.eml files.
To be onest I don't know, 'cause I suddenly remove the ".eml" key .
So the upload is performed just one time to "populate" the db? Am 'I right?
And this happen for each windows PC, right?
Ok, perfect, I misunderstood the client behavior.
I'll check if the problem persist after complete upload/download, in that case I'll bother you again!
:-)
Activity
guruz commentedon May 15, 2015
It would be good in a way to have it support multiple checksum algos at the same time.
For example Adler32 is only good for error or change detection but not for deduplication (e.g. for #230)
MTRichards commentedon Jun 19, 2015
Moving to 2.1 to keep 2.0 reasonable size.
cdamken commentedon Jun 26, 2015
@MorrisJobke
00002839
dragotin commentedon Jun 26, 2015
@cdamken please elaborate. Pasting numbers and adding people is not enough.
MorrisJobke commentedon Jun 26, 2015
I think this is just for reference. I was mentioned, because it became a blue ticket and the number is the backlink to their system ;)
dragotin commentedon Jun 26, 2015
@MorrisJobke yes, I know, but I would like to know the content of the blue-ticket as well.
28 remaining items
Dianafg76 commentedon Nov 27, 2015
I tested this issue and is working OK
Desktop v ownCloud-2.1.0.5655-nightly20151126-setup.exe
Server v {"installed":true,"maintenance":false,"version":"8.2.1.4","versionstring":"8.2.1","edition":"Enterprise"}
Closed
mocolini commentedon Jan 19, 2016
It seems that this bug affects owncloud-client yet.
If I don't remove ".eml" in "HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionPropertySystemPropertyHandlers" the client keep uploading (unchanged) *.eml files.
So, every time windows update itself (and so the ".eml" registry key is set back to default), hundred of .eml files (and MB) are re-uploaded to the server.
EDIT:
O.S.: windows 10 Home
Client version: 2.1.0 (build 5683)
guruz commentedon Jan 19, 2016
@mocolini Are you saying the content of those .eml files does not change but they are still reuploaded?
mocolini commentedon Jan 19, 2016
@guruz exactly.
Today windows 10 upgrade itserlf and re-set the ".eml" key in the register (the one I've removed days ago), after that owncloud-client has begun to re-upload all the (unchanged) *.eml files.
ogoffart commentedon Jan 19, 2016
I think it needs to be uploaded at least once after upgrading before the checksum are stored in the databse and are compared.
Does it re-upload several time the same file?
mocolini commentedon Jan 19, 2016
To be onest I don't know, 'cause I suddenly remove the ".eml" key .
So the upload is performed just one time to "populate" the db? Am 'I right?
And this happen for each windows PC, right?
ogoffart commentedon Jan 19, 2016
yes, previous version of the client did not store the checksum in the database. and we only store it after we complete an upload or a download.
mocolini commentedon Jan 19, 2016
Ok, perfect, I misunderstood the client behavior.
I'll check if the problem persist after complete upload/download, in that case I'll bother you again!
:-)
Cheers
Michelino
guruz commentedon Jan 19, 2016
Sounds good :)
If you re-added the registry key, you can also try to remove it..
mocolini commentedon Jan 19, 2016
Sure, I'll let you know