Marco Munizaga
|
836d53a98d
|
Fix go vet issue
|
2022-07-01 12:02:11 -07:00 |
|
Marco Munizaga
|
5abae10710
|
Filter out spans
|
2022-07-01 12:02:11 -07:00 |
|
Marten Seemann
|
3f28daf573
|
Merge pull request #42 from libp2p/rework-errors
include current limits in debug messages
|
2022-06-19 15:54:49 +02:00 |
|
Marten Seemann
|
628c5461e7
|
move errors to a separate file
|
2022-06-19 15:39:57 +02:00 |
|
Marten Seemann
|
e5cf68da47
|
move assembling of log values into separate functions
|
2022-06-19 11:37:30 +02:00 |
|
Marten Seemann
|
59def6b3bb
|
add an ID to spans (#44)
|
2022-06-19 01:18:02 -07:00 |
|
Marten Seemann
|
1910cf41b7
|
include the resource stat in the debug output
|
2022-06-19 10:17:47 +02:00 |
|
Marten Seemann
|
6bdbf3adb5
|
include the current limits in memory allocation errors
|
2022-06-06 13:30:03 +02:00 |
|
Marten Seemann
|
069f2c2f6e
|
include the current limits in conn allocation errors
|
2022-06-06 13:21:03 +02:00 |
|
Marten Seemann
|
2855d5b5e2
|
include the current limits in stream allocation errors
|
2022-06-06 13:20:18 +02:00 |
|
vyzo
|
cad4a00100
|
improve debug logging
- include stat at point of rejection.
- log constraining edge at point of rejection to include the edge and its stat.
|
2022-03-10 17:51:09 +02:00 |
|
vyzo
|
55f8c59909
|
add Allow metrics
|
2022-02-14 17:20:12 +02:00 |
|
vyzo
|
8a85c1fbce
|
blocked memory reservation metrics
|
2022-02-12 13:59:46 +02:00 |
|
vyzo
|
b3d09f9785
|
downgrade BUG log to warning
|
2022-01-18 16:42:54 +02:00 |
|
vyzo
|
98870b0c0c
|
tracing instrumentation
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
f5556bfbfe
|
add total stream and conn limit
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
27688b8bf3
|
add logging around blocked reservations/conns/streams
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
12fcd1d521
|
log, don't panic on resource release bugs
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
5d609db2bc
|
rename constraints to edges
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
e1701c7189
|
rename txn to span
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
7bc4ce25f2
|
named scopes for better errors to aid debugging resource allocation failures
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
a0dc35d9c6
|
update for reservation interface changes
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
7ea1d27783
|
update for memory status indicator
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
aed2c69d3c
|
unexport implementation types
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
3973696b28
|
manage fds together with connss
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
a6f536861c
|
embed resources to avoid pointer indirection
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
7429488edb
|
use network.ErrResource*
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
e5049999aa
|
Update scope.go
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
5a572dc460
|
Update scope.go
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
1d5f0c9ad2
|
update for interface changes; RIP buffers.
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
666b27cd07
|
unexport resources
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
1ea897ee4d
|
remove unneded casts
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
b126e3b71e
|
fix typo
Co-authored-by: Marten Seemann <martenseemann@gmail.com>
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
55dfd14ea6
|
more resource scope tests, fix bug
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
9eac0610ff
|
basic txn test, fix bugz
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
09ad519687
|
nil data when the scope is done
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
25825bc4f5
|
add comment for the distinction between DAG and txn scopes
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
03426ed4bd
|
more robust handling of transactions
Neuter the invalidation footgun if the owner is Done while there are open transactions scopes.
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
4bcd05997d
|
simplify stream/conn direction management
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
4f7d23aa6f
|
implement buffers
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
79d15fa18c
|
consolidate Rerve/ReleaseForChild in aggregate method
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
62105f3a71
|
consistent ref counting
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
efe5e36d58
|
update implementation for interface changes
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
76fd5b0e8f
|
more descriptive invalid buffer error in Grow
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
35f25a934f
|
add missing done checks in ForChild methods
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
0b5b506b8c
|
move ref counting to resource scopes
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
3422b8cbde
|
add ResourceManager constructor and peer/protocol scope gc
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
431ca69df7
|
update scope stat definition
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
c46de4165c
|
only allocate buffer map if the application requests a buffer, sanity check returns
|
2022-01-17 12:33:01 +02:00 |
|
vyzo
|
0ca5ac15d9
|
flesh out concrete scopes
|
2022-01-17 12:33:01 +02:00 |
|