trinity-1686a
trinity-1686a commented on pull request Deuxfleurs/garage#53 2021-04-07 10:06:43 +00:00
add doc comments

Nevermind, I somehow read old_v >= 1 instead of old_v > 1

trinity-1686a deleted branch content-defined-chunking from trinity-1686a/garage 2021-04-07 09:59:00 +00:00
trinity-1686a pushed to zstd-block at trinity-1686a/garage 2021-04-07 09:17:45 +00:00
trinity-1686a commented on pull request Deuxfleurs/garage#44 2021-04-06 22:40:11 +00:00
Compress with zstd

@maximilien (I assume you meant Zstd) apparently it can, but does not by default. The helper used does not allow to use checksum, but a <10 lines function could

trinity-1686a pushed to zstd-block at trinity-1686a/garage 2021-04-06 20:26:11 +00:00
trinity-1686a commented on pull request Deuxfleurs/garage#44 2021-04-06 19:21:52 +00:00
Compress with zstd

In case the node already have an uncompressed block, and receive a compressed version of it, it will store and use that compressed version, but not delete the uncompressed one

trinity-1686a pushed to zstd-block at trinity-1686a/garage 2021-04-06 18:50:10 +00:00
trinity-1686a pushed to zstd-block at trinity-1686a/garage 2021-04-06 18:17:34 +00:00
trinity-1686a pushed to zstd-block at trinity-1686a/garage 2021-04-06 17:30:18 +00:00
trinity-1686a pushed to zstd-block at trinity-1686a/garage 2021-04-06 15:51:28 +00:00
trinity-1686a pushed to content-defined-chunking at trinity-1686a/garage 2021-04-06 14:53:54 +00:00
trinity-1686a commented on pull request Deuxfleurs/garage#43 2021-04-06 14:49:21 +00:00
Use content defined chunking

I don't have numbers to quantify how much better it is (if it is). What I know however is that Borg (backup software) uses chunks of min 512kio, average 2Mio and max size 8Mio…

trinity-1686a pushed to doc-comments at trinity-1686a/garage 2021-04-06 03:28:58 +00:00
trinity-1686a commented on pull request Deuxfleurs/garage#53 2021-04-06 03:22:23 +00:00
add doc comments

As explained above, I feel like a default implementation should be what we want in most case. Of 5 implementations of this trait, only 2 actually use an empty updated, so being explicit about it…

trinity-1686a commented on pull request Deuxfleurs/garage#53 2021-04-06 02:33:25 +00:00
add doc comments

would "available" be correct instead of known?

trinity-1686a commented on pull request Deuxfleurs/garage#53 2021-04-06 02:28:19 +00:00
add doc comments

hum, it might double-count pings, as it count once in rpc_clients, and once in this file in ping_nodes

trinity-1686a commented on pull request Deuxfleurs/garage#53 2021-04-06 02:19:58 +00:00
add doc comments

it's sorted in recalculate_hash. Actually the node list is short, so sorting it is pretty much free

trinity-1686a commented on pull request Deuxfleurs/garage#53 2021-04-06 02:08:01 +00:00
add doc comments

Ok I've read s3 doc on multi-part upload and I hate it. Next comment appear to be false too, it's offset in part, not in the whole file

trinity-1686a commented on pull request Deuxfleurs/garage#53 2021-04-06 01:44:02 +00:00
add doc comments

I'm not sure what it store then

trinity-1686a commented on pull request Deuxfleurs/garage#53 2021-04-06 01:34:32 +00:00
add doc comments

I would not necessarily call it bad practice. It conveyed to me that "doing nothing" is a good default behavior, and while doing nothing might be a valid behavior, I think wanting to do nothing…