Eng Zer Jun
c229842f57
test: use T.TempDir
to create temporary test directory
...
The directory created by `T.TempDir` is automatically removed when the
test and all its subtests complete.
Reference: https://pkg.go.dev/testing#T.TempDir
Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2022-03-15 00:21:31 +08:00
Łukasz Magiera
4421bf2fa1
feat: config: Persistent subsystem log level config
2022-03-10 14:44:56 +01:00
Łukasz Magiera
7dcfeee0ea
use old go-path
2022-03-03 14:17:25 +00:00
Aayush Rajasekaran
0e2278cc76
Merge branch 'master' into deps/update-ctx-dsbs
2021-12-14 18:08:29 -05:00
hannahhoward
8e376c84cf
feat(tracing): setup logging
2021-12-10 13:50:12 -08:00
whyrusleeping
072297e661
WIP: updating to new datastore/blockstore code with contexts
2021-12-09 14:12:25 +02:00
hannahhoward
f3b691d618
feat(tracing): switch to OpenTelemetry
...
Switch the underlying tracing library to OpenTelemetry, with a bridge to OpenCensus for
compatibility
2021-12-01 16:19:47 -08:00
Łukasz Magiera
30fccaa0bd
fix lint
2021-09-02 18:45:18 +02:00
Łukasz Magiera
95b128b7bc
chain: Cleanup consensus logic
2021-09-02 18:09:37 +02:00
Steven Allen
1cf556c3a2
feat: expose ChainGetPath on the gateway
2021-08-30 16:43:21 -07:00
Łukasz Magiera
1ba427f638
alerting: Address review
2021-08-26 16:09:18 +02:00
Łukasz Magiera
81b1dd12f8
Simple alert system; FD limit alerts
2021-08-26 15:44:45 +02:00
Łukasz Magiera
8426a62d15
rpcenc: Test early close, add reader.MustRedirect
2021-07-30 13:35:16 +02:00
Łukasz Magiera
555c402ba3
rpcenc: Fix POST read
2021-07-30 13:03:31 +02:00
Łukasz Magiera
0c809d3a5f
rpcenc: Support reader redirect
2021-07-30 12:58:35 +02:00
Raúl Kripalani
8413c080e3
add godocs.
2021-07-20 15:43:03 -07:00
Anton Evangelatov
cd4571f0b0
wrap close(wait) with sync.Once to avoid panic
2021-07-20 15:43:03 -07:00
Jakub Sztandera
7dd58efb84
Add quantiles and histogram
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-06-18 15:44:36 -07:00
Cory Schwartz
e24f24bc71
Remove log line when tracing is not configured
2021-05-26 10:45:04 -07:00
Cory Schwartz
d50b59b4c7
don't scare the gosec linter
2021-05-25 23:55:46 -07:00
Cory Schwartz
273368ed6a
separate tracing environment variables
2021-05-25 01:23:33 -07:00
Łukasz Magiera
e006310c6f
sigs: vector tests for bls
2021-04-15 23:02:21 +02:00
Peter Rabbitson
25a77d905d
Centralize everything on ipfs/go-log/v2
...
I am not entirely sure this is right, but everything seems to build...
2021-04-06 15:04:32 +02:00
Łukasz Magiera
b68eed906a
fix lint
2021-04-02 12:37:20 +02:00
Łukasz Magiera
411f561db6
backupds: Improve truncated log handling
2021-03-27 10:05:12 +01:00
Łukasz Magiera
924c419e61
backupds: handle log bool in shed
2021-03-24 21:26:24 +01:00
Łukasz Magiera
bb79eba74c
backupds: Compact log on restart
2021-03-24 21:16:42 +01:00
Łukasz Magiera
a2ac26c4f6
backupds: Add unit tests
2021-03-12 16:20:27 +01:00
Łukasz Magiera
31154ed294
fix lint
2021-03-11 12:05:32 +01:00
Łukasz Magiera
ea58bee3f5
backupds: Allow larger values in write log
2021-03-11 12:03:24 +01:00
Łukasz Magiera
3f1054daf4
backupds kvlog: Address review
2021-03-10 13:58:41 +01:00
Łukasz Magiera
2b380c96a5
Exit from the kvlog goroutine when closing
2021-03-10 11:24:19 +01:00
Łukasz Magiera
d4a981f327
fix lint
2021-03-09 23:38:28 +01:00
Łukasz Magiera
b4eefd7220
backupds: make sure logfile matches datastore
2021-03-09 23:00:05 +01:00
Łukasz Magiera
9f7d3ed340
gofmt
2021-03-09 22:33:12 +01:00
Łukasz Magiera
ca7e70bf3a
Metadata datastore log
2021-03-09 22:33:01 +01:00
Raúl Kripalani
b0cbc932bd
consolidate all blockstores in blockstore package.
2021-01-29 20:01:00 +00:00
Łukasz Magiera
6d368179e1
Fix lint
2021-01-25 14:02:58 +01:00
dignifiedquire
3d9eb226fa
refactor: switch to filecoin-ffi bls api for bls signatures
2021-01-20 16:19:07 +01:00
Jakub Sztandera
cfcfd5d8fa
Fix race in blockstore test suite
...
Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-01-05 20:34:28 +01:00
yaohcn
7c0b6f41d8
fix log format
2020-11-24 19:09:48 +08:00
hannahhoward
218f7c2c5d
feat(markets): update markets, extract commp
2020-11-20 13:29:14 -08:00
vyzo
ef444676c2
combine add and remove evts and use a single emitter
...
to reduce likelihood of races
2020-11-20 16:15:44 +02:00
vyzo
7aec500384
emit event for peer disconnectionsa and act upon them in the blocksync peer tracker
2020-11-20 15:58:27 +02:00
Peter Rabbitson
29817b6617
Remove all Chain GC wrappings/types
...
There is no practical way to do GC against the chainstore given the current
state of affairs: remove all GC-related types for the time being.
2020-11-12 06:49:53 +01:00
Peter Rabbitson
7be7a9b5e3
Stop referring to github.com/ipfs/go-ipfs-blockstore outside of lib
2020-11-12 06:01:35 +01:00
Raúl Kripalani
72547f9ec3
badger tests: fix fd leak.
2020-11-11 23:12:57 +00:00
Raúl Kripalani
04a866121e
badger/AllKeysChan(): respect context.
2020-11-11 23:12:16 +00:00
Aayush Rajasekaran
735c04f999
Merge pull request #4681 from filecoin-project/badger-viewable
...
move to native badger blockstore; leverage zero-copy View() to deserialize in-place
2020-11-10 18:08:12 -05:00
Raúl Kripalani
bc6965c86f
skip callers in badger log for useful line info.
2020-11-10 22:50:53 +00:00