summaryrefslogtreecommitdiff
path: root/doc/internals.mdwn
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2014-07-24 16:23:36 -0400
committerGravatar Joey Hess <joey@kitenet.net>2014-07-24 16:23:36 -0400
commit2b414feaf2d20452794d0cdd608c6dd91feb1ec1 (patch)
tree16f4caafc5158227eda6b36462b93a9c3f35173f /doc/internals.mdwn
parent35b31b00e4efbf84bcfb814acc477bbb89b50107 (diff)
implement chunk logs
Slightly tricky as they are not normal UUIDBased logs, but are instead maps from (uuid, chunksize) to chunkcount. This commit was sponsored by Frank Thomas.
Diffstat (limited to 'doc/internals.mdwn')
-rw-r--r--doc/internals.mdwn10
1 files changed, 4 insertions, 6 deletions
diff --git a/doc/internals.mdwn b/doc/internals.mdwn
index 5cb8ec5aa..71d1b0380 100644
--- a/doc/internals.mdwn
+++ b/doc/internals.mdwn
@@ -224,16 +224,14 @@ are indicated by prefixing them with "!"
These log files are used when objects are stored in chunked form on
remotes. They record the size(s) of the chunks, and the number of chunks.
-For example, this logs that a remote has an object stored using 9 chunks
-of 1 mb size:
+For example, this logs that a remote has an object stored using both
+9 chunks of 1 mb size, and 1 chunk of 10 mb size.
- 1287290776.765152s e605dca6-446a-11e0-8b2a-002170d25c55 10240 9
+ 1287290776.765152s e605dca6-446a-11e0-8b2a-002170d25c55:10240 9
+ 1287290776.765153s e605dca6-446a-11e0-8b2a-002170d25c55:102400 1
(When those chunks are removed from the remote, the 9 is changed to 0.)
-For future expansion, additional fields may be present following the
-number of chunks.
-
## `schedule.log`
Used to record scheduled events, such as periodic fscks.