Commit Graph

2705 Commits

Author SHA1 Message Date
Hector Sanjuan
ed348f29c1
state: abort list operation on context cancellation (#1555)
Stopping cluster while listing pins seems to hang until the operation has finished.
2022-01-29 00:06:08 +01:00
dependabot[bot]
fa7d7ded12
Bump github.com/ipfs/go-ipfs-files from 0.0.9 to 0.1.0
Bumps [github.com/ipfs/go-ipfs-files](https://github.com/ipfs/go-ipfs-files) from 0.0.9 to 0.1.0.
- [Release notes](https://github.com/ipfs/go-ipfs-files/releases)
- [Commits](https://github.com/ipfs/go-ipfs-files/compare/v0.0.9...v0.1.0)

---
updated-dependencies:
- dependency-name: github.com/ipfs/go-ipfs-files
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-24 11:06:22 +00:00
Hector Sanjuan
4b0983b75c Remove warning message about informer metrics 2022-01-15 14:26:39 +01:00
Hector Sanjuan
dca8923aaa
Set development version v0.14.4-next 2022-01-11 19:13:39 +01:00
Hector Sanjuan
d80a8b42c8
Release v0.14.4 2022-01-11 19:13:28 +01:00
Hector Sanjuan
4be8c55875
Changelog for v0.14.4 (#1542)
* Changelog for v0.14.4
2022-01-11 19:13:12 +01:00
Hector Sanjuan
00fd9066b2
Merge pull request #1541 from ipfs/update-go-ds-crdt
Update go-ds-crdt
2022-01-11 18:19:59 +01:00
Hector Sanjuan
f2ccf7a772 Update go-ds-crdt 2022-01-11 18:08:20 +01:00
Hector Sanjuan
a93886aeee
Merge pull request #1540 from ipfs/dependency-upgrades
Dependency upgrades
2022-01-11 17:11:13 +01:00
Hector Sanjuan
acbe12b034
Merge pull request #1539 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/hashicorp/go-hclog-1.1.0
Bump github.com/hashicorp/go-hclog from 1.0.0 to 1.1.0
2022-01-11 17:09:49 +01:00
Hector Sanjuan
af0cf8b106
Merge pull request #1538 from ipfs/pintracker/recover-speedup
pintracker: RecoverAll should only return status for recovered items
2022-01-11 17:09:20 +01:00
Hector Sanjuan
862f4b515f Update protobuf compiler and generated files 2022-01-11 16:47:45 +01:00
dependabot[bot]
aa50177cc4
Bump github.com/hashicorp/go-hclog from 1.0.0 to 1.1.0
Bumps [github.com/hashicorp/go-hclog](https://github.com/hashicorp/go-hclog) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/hashicorp/go-hclog/releases)
- [Commits](https://github.com/hashicorp/go-hclog/compare/v1.0...v1.1.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-hclog
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-11 15:33:10 +00:00
Hector Sanjuan
5abb804362 Update go-libp2p 2022-01-11 16:31:55 +01:00
Hector Sanjuan
592ce450ce pintracker: RecoverAll should only return status for recovered items
We call RecoverAll regularly and I noticed it was way slower than it should be.

After all, it should just loop the pinset and enqueued items that are
unexpectedly unpinned or in pin error.

However, at some point we decided that RecoverAll would return information for
all pins, regardless of whether they were recovered or not. This ends up
resulting in a separate Status call for every pin that is already pinned, and
this call hits IPFS. This is pretty bad with big pinsets.

This commit fixes that, we return no state information for pins that are not
touched.
2022-01-11 16:22:03 +01:00
Hector Sanjuan
dbb68c2a80
Merge pull request #1535 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/rs/cors-1.8.2
Bump github.com/rs/cors from 1.8.0 to 1.8.2
2022-01-10 23:04:10 +01:00
Hector Sanjuan
3537c8ebd5
Merge pull request #1527 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/ipfs/go-path-0.2.1
Bump github.com/ipfs/go-path from 0.1.2 to 0.2.1
2022-01-10 23:03:52 +01:00
dependabot[bot]
261a87e205
Bump github.com/ipfs/go-path from 0.1.2 to 0.2.1
Bumps [github.com/ipfs/go-path](https://github.com/ipfs/go-path) from 0.1.2 to 0.2.1.
- [Release notes](https://github.com/ipfs/go-path/releases)
- [Commits](https://github.com/ipfs/go-path/compare/v0.1.2...v0.2.1)

---
updated-dependencies:
- dependency-name: github.com/ipfs/go-path
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 14:52:07 +00:00
Hector Sanjuan
97a58adc2b
Merge pull request #1526 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/ipfs/go-ipfs-api-0.3.0
Bump github.com/ipfs/go-ipfs-api from 0.2.0 to 0.3.0
2022-01-10 15:51:42 +01:00
dependabot[bot]
0b531d4f5e
Bump github.com/rs/cors from 1.8.0 to 1.8.2
Bumps [github.com/rs/cors](https://github.com/rs/cors) from 1.8.0 to 1.8.2.
- [Release notes](https://github.com/rs/cors/releases)
- [Commits](https://github.com/rs/cors/compare/v1.8.0...v1.8.2)

---
updated-dependencies:
- dependency-name: github.com/rs/cors
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 14:51:31 +00:00
Hector Sanjuan
8e3c6f5a75
Merge pull request #1530 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/ipfs/go-log/v2-2.5.0
Bump github.com/ipfs/go-log/v2 from 2.3.0 to 2.5.0
2022-01-10 15:51:02 +01:00
Hector Sanjuan
31413c7e5d
Merge pull request #1531 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/ipfs/go-ipld-cbor-0.0.6
Bump github.com/ipfs/go-ipld-cbor from 0.0.5 to 0.0.6
2022-01-10 15:50:45 +01:00
Hector Sanjuan
45553bcf87
Merge pull request #1533 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/ipld/go-car-0.3.3
Bump github.com/ipld/go-car from 0.3.2 to 0.3.3
2022-01-10 15:50:33 +01:00
Hector Sanjuan
7fa8d967e8
Merge pull request #1532 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/ipfs/go-ipfs-pinner-0.2.1
Bump github.com/ipfs/go-ipfs-pinner from 0.1.2 to 0.2.1
2022-01-10 15:50:22 +01:00
Hector Sanjuan
615a6802c3
Merge pull request #1536 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/hashicorp/go-hclog-1.0.0
Bump github.com/hashicorp/go-hclog from 0.16.2 to 1.0.0
2022-01-10 15:49:21 +01:00
Hector Sanjuan
a2425fc81b
Merge pull request #1537 from ipfs/fix-status-unexpectedly-unpinned
pintracker: set status unexpectedly_unpinned correctly on Status()
2022-01-10 15:49:04 +01:00
Hector Sanjuan
789b633366 pintracker: set status unexpectedly_unpinned correctly on Status()
This must has been an oversight. We added a special unexpectedly_unpinned
status so that we could just return things from the operation tracker when
filtering by pin_error. unexpectedly_unpinned are things that we have no
operation for but are unpinned on ipfs.

Status however still returned a pin_error state for these, even though,
StatusAll would not show them when filtering with pin_error, and would show
them as unexpectedly_unpinned otherwise.

Since Recover correctly repins pin_error and unexpectedly_unpinned, this
change has no further consequences.
2022-01-10 13:04:21 +01:00
dependabot[bot]
6020095ba2
Bump github.com/ipld/go-car from 0.3.2 to 0.3.3
Bumps [github.com/ipld/go-car](https://github.com/ipld/go-car) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/ipld/go-car/releases)
- [Commits](https://github.com/ipld/go-car/compare/v0.3.2...v0.3.3)

---
updated-dependencies:
- dependency-name: github.com/ipld/go-car
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 11:35:28 +00:00
dependabot[bot]
a135cdc7b0
Bump github.com/ipfs/go-ipfs-pinner from 0.1.2 to 0.2.1
Bumps [github.com/ipfs/go-ipfs-pinner](https://github.com/ipfs/go-ipfs-pinner) from 0.1.2 to 0.2.1.
- [Release notes](https://github.com/ipfs/go-ipfs-pinner/releases)
- [Commits](https://github.com/ipfs/go-ipfs-pinner/compare/v0.1.2...v0.2.1)

---
updated-dependencies:
- dependency-name: github.com/ipfs/go-ipfs-pinner
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 11:35:22 +00:00
dependabot[bot]
22b84a75a4
Bump github.com/ipfs/go-ipfs-api from 0.2.0 to 0.3.0
Bumps [github.com/ipfs/go-ipfs-api](https://github.com/ipfs/go-ipfs-api) from 0.2.0 to 0.3.0.
- [Release notes](https://github.com/ipfs/go-ipfs-api/releases)
- [Commits](https://github.com/ipfs/go-ipfs-api/compare/v0.2.0...v0.3.0)

---
updated-dependencies:
- dependency-name: github.com/ipfs/go-ipfs-api
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 11:35:17 +00:00
Hector Sanjuan
fa16537768
Merge pull request #1524 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/ipfs/go-ipfs-config-0.18.0
Bump github.com/ipfs/go-ipfs-config from 0.16.0 to 0.18.0
2022-01-10 12:34:14 +01:00
Hector Sanjuan
dd89fedd44
Merge pull request #1521 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/libp2p/go-libp2p-quic-transport-0.15.2
Bump github.com/libp2p/go-libp2p-quic-transport from 0.15.0 to 0.15.2
2022-01-10 12:33:33 +01:00
Hector Sanjuan
4bac2faa0a
Merge pull request #1522 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/ipfs/go-unixfs-0.3.1
Bump github.com/ipfs/go-unixfs from 0.2.6 to 0.3.1
2022-01-10 12:32:53 +01:00
Hector Sanjuan
5e78d486b0
Merge pull request #1520 from ipfs/dependabot/go_modules/dependency-upgrades/github.com/multiformats/go-multiaddr-0.5.0
Bump github.com/multiformats/go-multiaddr from 0.4.1 to 0.5.0
2022-01-10 12:32:02 +01:00
Hector Sanjuan
c024fec3af
Merge pull request #1519 from ipfs/min-metric-ttl
Fix: ttl for tags should be default when not provided (now 0).
2022-01-10 12:31:22 +01:00
dependabot[bot]
5e88d489d3
Bump github.com/hashicorp/go-hclog from 0.16.2 to 1.0.0
Bumps [github.com/hashicorp/go-hclog](https://github.com/hashicorp/go-hclog) from 0.16.2 to 1.0.0.
- [Release notes](https://github.com/hashicorp/go-hclog/releases)
- [Commits](https://github.com/hashicorp/go-hclog/compare/v0.16.2...v1.0)

---
updated-dependencies:
- dependency-name: github.com/hashicorp/go-hclog
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 11:09:18 +00:00
dependabot[bot]
21e292f186
Bump github.com/ipfs/go-ipld-cbor from 0.0.5 to 0.0.6
Bumps [github.com/ipfs/go-ipld-cbor](https://github.com/ipfs/go-ipld-cbor) from 0.0.5 to 0.0.6.
- [Release notes](https://github.com/ipfs/go-ipld-cbor/releases)
- [Commits](https://github.com/ipfs/go-ipld-cbor/compare/v0.0.5...v0.0.6)

---
updated-dependencies:
- dependency-name: github.com/ipfs/go-ipld-cbor
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 11:08:46 +00:00
dependabot[bot]
5c74606dff
Bump github.com/ipfs/go-log/v2 from 2.3.0 to 2.5.0
Bumps [github.com/ipfs/go-log/v2](https://github.com/ipfs/go-log) from 2.3.0 to 2.5.0.
- [Release notes](https://github.com/ipfs/go-log/releases)
- [Commits](https://github.com/ipfs/go-log/compare/v2.3.0...v2.5.0)

---
updated-dependencies:
- dependency-name: github.com/ipfs/go-log/v2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 11:08:39 +00:00
dependabot[bot]
908129263e
Bump github.com/ipfs/go-ipfs-config from 0.16.0 to 0.18.0
Bumps [github.com/ipfs/go-ipfs-config](https://github.com/ipfs/go-ipfs-config) from 0.16.0 to 0.18.0.
- [Release notes](https://github.com/ipfs/go-ipfs-config/releases)
- [Commits](https://github.com/ipfs/go-ipfs-config/compare/v0.16.0...v0.18.0)

---
updated-dependencies:
- dependency-name: github.com/ipfs/go-ipfs-config
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 11:07:40 +00:00
dependabot[bot]
48046372e6
Bump github.com/ipfs/go-unixfs from 0.2.6 to 0.3.1
Bumps [github.com/ipfs/go-unixfs](https://github.com/ipfs/go-unixfs) from 0.2.6 to 0.3.1.
- [Release notes](https://github.com/ipfs/go-unixfs/releases)
- [Commits](https://github.com/ipfs/go-unixfs/compare/v0.2.6...v0.3.1)

---
updated-dependencies:
- dependency-name: github.com/ipfs/go-unixfs
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 11:07:29 +00:00
dependabot[bot]
1f08bb8e6c
Bump github.com/libp2p/go-libp2p-quic-transport from 0.15.0 to 0.15.2
Bumps [github.com/libp2p/go-libp2p-quic-transport](https://github.com/libp2p/go-libp2p-quic-transport) from 0.15.0 to 0.15.2.
- [Release notes](https://github.com/libp2p/go-libp2p-quic-transport/releases)
- [Commits](https://github.com/libp2p/go-libp2p-quic-transport/compare/v0.15.0...v0.15.2)

---
updated-dependencies:
- dependency-name: github.com/libp2p/go-libp2p-quic-transport
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 11:07:23 +00:00
dependabot[bot]
0c8e6a0dd9
Bump github.com/multiformats/go-multiaddr from 0.4.1 to 0.5.0
Bumps [github.com/multiformats/go-multiaddr](https://github.com/multiformats/go-multiaddr) from 0.4.1 to 0.5.0.
- [Release notes](https://github.com/multiformats/go-multiaddr/releases)
- [Commits](https://github.com/multiformats/go-multiaddr/compare/v0.4.1...v0.5.0)

---
updated-dependencies:
- dependency-name: github.com/multiformats/go-multiaddr
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-01-10 11:07:17 +00:00
Hector Sanjuan
08aea3b3aa Fix: ttl for tags should be default when not provided (now 0). 2022-01-07 14:52:35 +01:00
Hector Sanjuan
aac244fc5f
Merge pull request #1517 from ipfs/state-io-buffering
service: add buffered io for import and export
2022-01-07 01:03:24 +01:00
Hector Sanjuan
e7ae13e6cf service: add buffered io for import and export 2022-01-04 18:15:06 +01:00
Hector Sanjuan
e22655a3dc
Set development version v0.14.3-next 2022-01-03 18:01:52 +01:00
Hector Sanjuan
9704bb62e6
Release v0.14.3 2022-01-03 18:00:43 +01:00
Hector Sanjuan
9632d416e1
Changelog for v0.14.3 (#1515) 2022-01-03 17:59:21 +01:00
Hector Sanjuan
590791b647
Merge pull request #1514 from ipfs/cors/options
API: update basic-auth tests to allow OPTIONS
2021-12-22 14:07:14 +01:00
Hector Sanjuan
c71e42f5ad API: update basic-auth tests to allow OPTIONS 2021-12-22 14:06:29 +01:00