Re: What are .commitmeta files and why is delta update so huge?



Leandro Santiago <leandrosansilva gmail com> writes:

Well, they are quite small (a few kb). Is there any tool to analyse
the content of those files? (I bet not, but asking does not hurt :-))

There might be some other changes, as I create a new tree from the
scratch using rpm-ostree tree compose. But the files are supposed to
be almost the same, as I am using centos and I don't think so many
updates were made in so short interval of time (I built the two trees
with a short interval between them).

I'll try what you suggested, even though I am not sure if it will help
as what I need is reducing the amount of downloaded data.

it might help since only the difference between the two files is going
to be stored in the delta file, instead of downloading the entire new
file blob.

Another thing you can try to check if OStree is doing the right thing is:

ostree --repo=repo diff --fs-diff --stats $COMMIT_ID_1 $COMMIT_ID_2

and check what files are changed.

Regards,
Giuseppe


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]