Hector Sanjuan
d9a5e17974
Merge pull request #892 from ipfs/fix/sharness
...
Use the updated sharness library
2019-09-06 15:11:23 +02:00
Hector Sanjuan
c2b28be6de
Merge pull request #901 from ipfs/fix/pin-queue-full
...
Error queue is full
2019-09-06 15:05:53 +02:00
Hector Sanjuan
f45c8544a7
Merge pull request #890 from ipfs/feat/allocations-for-add
...
Added UserAllocations support for `add`
2019-09-06 15:03:22 +02:00
Hector Sanjuan
d63a7fd641
Merge pull request #877 from ipfs/fix/ipfs-to-p2p
...
Use `p2p` protocol name over `ipfs` for multiaddr
2019-09-06 15:00:36 +02:00
Kishan Mohanbhai Sagathiya
46d77d9d50
Fixed tests, RecoverLocal and RecoverAllLocal rpc api not closed anymore
2019-09-05 18:29:34 +07:00
Kishan Mohanbhai Sagathiya
7155fa87c3
Explanation of 0 replication factor
2019-09-02 09:22:50 +05:30
Kishan Mohanbhai Sagathiya
c9e6cd25cd
No need to use separate dag service for local add
2019-08-31 19:40:56 +05:30
Kishan Mohanbhai Sagathiya
ea7093aa73
BlockAllocate should respect user allocations
2019-08-31 16:24:20 +05:30
Kishan Mohanbhai Sagathiya
08d7b274af
Addressed reviews in test
2019-08-31 14:49:35 +05:30
Kishan Mohanbhai Sagathiya
5f57feab54
Addressed reviews on tests
2019-08-31 11:15:16 +05:30
Kishan Mohanbhai Sagathiya
db11f77396
Remove unwanted configs
2019-08-30 09:13:18 +05:30
Kishan Mohanbhai Sagathiya
6c863df9fe
Merge branch 'master' of github.com:ipfs/ipfs-cluster into feat/http-logging
2019-08-29 21:37:04 +05:30
Hector Sanjuan
ef8483e30e
Merge pull request #906 from ipfs/fix/crdt-mass-import
...
Fix/crdt mass import
2019-08-29 17:32:25 +02:00
Kishan Mohanbhai Sagathiya
d43c8fb4a4
Make api logger work
2019-08-29 20:49:53 +05:30
Kishan Mohanbhai Sagathiya
49af782444
Use custom io.Writer for logging, Use go test instead of sharness tests
2019-08-28 22:13:23 +05:30
Kishan Mohanbhai Sagathiya
a684c9567d
Add with option --local
...
This commit introduces `--local` option for `ctl add` which would add
content only the local ipfs peer and then pin it according to pin
options (fetching from the local peer)
For achieving this, a new local dag service is introduced
2019-08-28 18:39:30 +05:30
Hector Sanjuan
b247783dd8
Badger: Do not compact L0 on close by default
...
If this goes wrong probably database goes to hell. We want to stop
the daemon as quickly as possible.
2019-08-28 12:09:31 +02:00
Hector Sanjuan
a399d893b7
Remove mdns debug logging
...
Leftover
2019-08-28 12:09:04 +02:00
Hector Sanjuan
1b91303fe0
Do not allocate an unused item for the trackedPinsMap
2019-08-28 12:08:41 +02:00
Hector Sanjuan
bab0485616
Update go-ds-crdt
2019-08-28 12:07:47 +02:00
Kishan Mohanbhai Sagathiya
4febf87d79
Rename local dagservice to single dagservice
...
Local dagservice is not really a local as it add to other peers as well.
It is a dagservice that does not perform sharding. Since we are going to
have a local dagservice(one that adds only to the local peer), renaming
this `single` dagservice
2019-08-28 15:20:55 +05:30
Hector Sanjuan
a958d81371
Merge pull request #905 from ipfs/fix/trust-all
...
Fix: trust-all remained enabled always
2019-08-28 09:31:46 +02:00
Kishan Mohanbhai Sagathiya
c9e72e2359
Avoid using sharness tests when possible
2019-08-28 09:55:03 +05:30
Hector Sanjuan
8ca0f5781c
Fix: trust-all remained enabled always
2019-08-27 19:18:50 +02:00
Kishan Mohanbhai Sagathiya
da023573a3
Sharness test for add with metadata
2019-08-27 17:02:10 +05:30
Hector Sanjuan
1cfea47696
Release 0.11.0-rc8
2019-08-27 12:55:41 +02:00
Hector Sanjuan
95682d9b62
Merge pull request #904 from ipfs/update/go-ds-crdt
...
Update go-ds-crdt
2019-08-27 12:54:39 +02:00
Kishan Mohanbhai Sagathiya
b6ea0b6458
Sharness tests to check if log file gets populated
2019-08-27 15:44:48 +05:30
Hector Sanjuan
c030dd7c8c
Update go-ds-crdt
2019-08-27 11:49:24 +02:00
Kishan Mohanbhai Sagathiya
62a998a694
Use custom log formatter when logging to stdout
...
- Instead of using a boolean config element(send logs to std out or
file), use a string element that would store path of the log file.
That way user has freedom to choose the filepath. Use std out if this
path is empty.
2019-08-27 14:41:15 +05:30
Kishan Mohanbhai Sagathiya
eddf4a1e4d
Added sharness test for peers ls
2019-08-27 10:09:05 +05:30
Kishan Mohanbhai Sagathiya
7cb13cb97d
Abort on any error
2019-08-27 09:38:41 +05:30
Kishan Mohanbhai Sagathiya
cd86211766
Sharness test, dont print metadata in cmd
2019-08-27 09:32:34 +05:30
Hector Sanjuan
46cd5327fa
Release 0.11.0-rc7
2019-08-26 14:58:49 +02:00
Kishan Mohanbhai Sagathiya
c109a01343
Sort peers for crdt consensus.Peers
2019-08-26 18:27:17 +05:30
Hector Sanjuan
397e538bf0
Do not error when not unpinning something and unpin is disabled
2019-08-26 14:56:19 +02:00
Hector Sanjuan
5d888f7390
Merge pull request #900 from ipfs/feat/mdns-properly
...
mDNS: attach mDNS inside the Cluster. Allow interval configuration.
2019-08-26 13:14:45 +02:00
Hector Sanjuan
d71c1cb380
Merge pull request #899 from ipfs/feat/trust-all-warning
...
crdt: inform about trust all mode
2019-08-26 12:23:23 +02:00
Hector Sanjuan
df7621ba6e
crdt: inform about trust all mode
2019-08-26 12:22:44 +02:00
Kishan Mohanbhai Sagathiya
7b35524779
Addressed reviews
2019-08-26 14:30:45 +05:30
Kishan Mohanbhai Sagathiya
2d9e6c1de8
Error queue is full
...
- abort if a Track() calls fails due to queue being full
- increase max pin queue size to 1 million
- hind max_pin_queue_size from configuration
- use an elaborated error message
Fixes #377
2019-08-26 13:23:02 +05:30
Hector Sanjuan
33f111c44d
mDNS: attach mDNS inside the Cluster. Allow interval configuration.
...
Setting up mDNS outside the Cluster is dirtier and allows less configuration.
This adds MDNSInterval to the cluster config options and allow disabling it
when the option is set to 0.
2019-08-24 17:24:18 +02:00
Hector Sanjuan
9c73c2bdbd
Merge pull request #887 from ipfs/fix/small-issues
...
Fixes for some small issues
2019-08-24 14:24:38 +02:00
Hector Sanjuan
ad32ae02f1
Merge pull request #886 from ipfs/fix/pstore-panic
...
Fix: peerstore reading panics on empty lines
2019-08-24 14:23:45 +02:00
Hector Sanjuan
db008aa9f0
Merge pull request #885 from ipfs/update/deps3
...
Update go-ds-crdt
2019-08-24 14:23:18 +02:00
Hector Sanjuan
fea27ef340
Merge pull request #879 from ipfs/fix/api-improvements
...
Make sure all API errors are in JSON
2019-08-24 14:19:32 +02:00
Hector Sanjuan
aab5f9bd0b
Enable p2p addresses in a single place
2019-08-23 22:45:32 +02:00
Kishan Mohanbhai Sagathiya
c32281f9e0
Logging for Cluster HTTP APIs
...
This commit introduces logging for Cluster HTTP APIs.
It adds a config element `send_logs_to_file`, which tells whether logs
should be saved in a file or shown in standard output.
Requests are logged as per Apache Common Log Format (CLF)
http://httpd.apache.org/docs/2.2/logs.html#common
Fixes #574
2019-08-21 21:03:38 +05:30
Kishan Mohanbhai Sagathiya
512bf6a13b
Pin recover on all peers
...
- recover works without `--local` flag as well (recovers all pins on all
peers)
- remove extra space from rpc policy
Fixes #763
2019-08-21 11:19:07 +05:30
Kishan Mohanbhai Sagathiya
e6d183fd70
Addressed reviews
2019-08-20 10:49:28 +05:30