ipfs-cluster/api
Hector Sanjuan 3ba7d79d0a restapi: allocationsHandler: skip filtering pins when not needed.
The restapi component supports filters for the pinset. This was done to keep
expected output when sharding was fully supported by filtering out "internal"
pins.

However this filter requires looping on the full pinset and re-allocating  and
usually does nothing. The useless copy is significant for really big pinsets.

Additionally, ipfs-cluster-ctl set the filter by default to "pins". By setting
it to "all" instead we can skip the whole filtering step and, in practice, get the
same results.
2021-07-08 23:27:55 +02:00
..
ipfsproxy Fix #1366: IPFS Proxy API serializes wrong error types 2021-06-28 22:42:47 +02:00
pb Feat #1374: Add Origins option to pins 2021-07-02 01:42:51 +02:00
rest restapi: allocationsHandler: skip filtering pins when not needed. 2021-07-08 23:27:55 +02:00
add_test.go Fix #1358: Set RawLeaves to true when unset and CidVersion=1 (#1359) 2021-05-19 23:56:30 +02:00
add.go Feat #1374: Add Origins option to pins 2021-07-02 01:42:51 +02:00
types_test.go Feat #1374: Only accept Origins that have a p2p component 2021-07-02 01:49:30 +02:00
types.go Merge pull request #1377 from ipfs/fix/1360-efficient-pin-status 2021-07-06 11:57:09 +02:00
util.go staticcheck: fix all staticcheck warnings in the project 2020-04-14 20:16:10 +02:00