- 12 1月, 2016 40 次提交
-
-
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
Implements a solution for #1908 This PR replaces #1909 License: MIT Signed-off-by:Andrew Chin <achin@eminence32.net>
由 Andrew Chin 提交于 -
License: MIT Signed-off-by:rht <rhtbot@gmail.com>
由 rht 提交于 -
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
Callers assume this is safe to call whenever, let's make it so. License: MIT Signed-off-by:Tommi Virtanen <tv@eagain.net>
由 Tommi Virtanen 提交于 -
This used to cause files e.g. being edited with `vi` to become 0-size. License: MIT Signed-off-by:Tommi Virtanen <tv@eagain.net>
由 Tommi Virtanen 提交于 -
Without this, all entries will have nlink==0, which confuses a bunch of tools. Most dramatically, systemd-nspawn enters a busy loop in its lock utility function. License: MIT Signed-off-by:Tommi Virtanen <tv@eagain.net>
由 Tommi Virtanen 提交于 -
Last argument was dropped in ffd4c3f4db4be0c9e36c1645fd1b5a6c8e0d8b01 License: MIT Signed-off-by:Tommi Virtanen <tv@eagain.net>
由 Tommi Virtanen 提交于 -
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
License: MIT Signed-off-by:Tommi Virtanen <tv@eagain.net>
由 Tommi Virtanen 提交于 -
To test it, set up an S3 bucket (in an AWS region that is not US Standard, for read-after-write consistency), run `ipfs init`, then edit `~/.ipfs/config` to say "Datastore": { "Type": "s3", "Region": "us-west-1", "Bucket": "mahbukkit", "ACL": "private" }, with the right values. Set `AWS_ACCESS_KEY_ID` and `AWS_SECRET_ACCESS_KEY` in the environment and you should be able to run `ipfs add` and `ipfs cat` and see the bucket be populated. No automated tests exist, unfortunately. S3 is thorny to simulate. License: MIT Signed-off-by:Tommi Virtanen <tv@eagain.net>
由 Tommi Virtanen 提交于 -
License: MIT Signed-off-by:Tommi Virtanen <tv@eagain.net>
由 Tommi Virtanen 提交于 -
License: MIT Signed-off-by:Tommi Virtanen <tv@eagain.net>
由 Tommi Virtanen 提交于 -
License: MIT Signed-off-by:Tommi Virtanen <tv@eagain.net>
由 Tommi Virtanen 提交于 -
License: MIT Signed-off-by:Tommi Virtanen <tv@eagain.net>
由 Tommi Virtanen 提交于 -
Earlier, it also checked checked the leveldb directory. That part added no crash safety to the application, and just hardcoded assumptions about the datastore. If anything, this should rely on the absolute last item created by fsrepo.Init, and there should be fsync guarantees about ordering. License: MIT Signed-off-by:Tommi Virtanen <tv@eagain.net>
由 Tommi Virtanen 提交于 -
This gives us a clean slate for the new code, avoiding leftovers. License: MIT Signed-off-by:Tommi Virtanen <tv@eagain.net>
由 Tommi Virtanen 提交于 -
License: MIT Signed-off-by:Tommi Virtanen <tv@eagain.net>
由 Tommi Virtanen 提交于 -
License: MIT Signed-off-by:Tommi Virtanen <tv@eagain.net>
由 Tommi Virtanen 提交于 -
License: MIT Signed-off-by:Tommi Virtanen <tv@eagain.net>
由 Tommi Virtanen 提交于 -
The generated file went through some changes because of differing go-bindata versions. License: MIT Signed-off-by:Tommi Virtanen <tv@eagain.net>
由 Tommi Virtanen 提交于 -
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
License: MIT Signed-off-by:
Jeromy <jeromyj@gmail.com> dont GC blocks used by pinner License: MIT Signed-off-by:
Jeromy <jeromyj@gmail.com> comment GC algo License: MIT Signed-off-by:
Jeromy <jeromyj@gmail.com> add lock to blockstore to prevent GC from eating wanted blocks License: MIT Signed-off-by:
Jeromy <jeromyj@gmail.com> improve FetchGraph License: MIT Signed-off-by:
Jeromy <jeromyj@gmail.com> separate interfaces for blockstore and GCBlockstore License: MIT Signed-off-by:
Jeromy <jeromyj@gmail.com> reintroduce indirect pinning, add enumerateChildren dag method License: MIT Signed-off-by:
Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
License: MIT Signed-off-by:Juan Batiz-Benet <juan@benet.ai>
由 Juan Batiz-Benet 提交于 -
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
This commit improves (fixes) the FetchGraph call for recursively fetching every descendant node of a given merkledag node. This operation should be the simplest way of ensuring that you have replicated a dag locally. This commit also implements a method in the merkledag package called EnumerateChildren, this method is used to get a set of the keys of every descendant node of the given node. All keys found are noted in the passed in KeySet, which may in the future be implemented on disk to avoid excessive memory consumption. License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
The addition of a locking interface to the blockstore allows us to perform atomic operations on the underlying datastore without having to worry about different operations happening in the background, such as garbage collection. License: MIT Signed-off-by:Jeromy <jeromyj@gmail.com>
由 Jeromy 提交于 -
* ID service stream * make the relay service use msmux * fix nc tests Note from jbenet: Maybe we should remove the old protocol/muxer and see what breaks. It shouldn't be used by anything now. License: MIT Signed-off-by:
Jeromy <jeromyj@gmail.com> Signed-off-by:
Juan Batiz-Benet <juan@benet.ai>
由 Jeromy 提交于
-