Conversation
2bfa3e4 to
6a33470
Compare
6a33470 to
b720153
Compare
We want to use two new different sockstats, `import_skip_push_limit` and `import_soft_throttling` which are respectively used to allow a higher push limit, and implement soft throttling policy for imports. We still forward the `is_importing` stat for to skip push limit for backward compatibility. We plan to remove it on a subsequent PR.
b720153 to
aeb2528
Compare
migue
left a comment
There was a problem hiding this comment.
Would you mind adding an extra test in spokes-receive-pack/blob/main/internal/integration/integration_test.go?
Done, let me know what you think 👌 |
|
@migue have you seen this flake before ? |
|
No, this is the first time I see this |
Well it does not look like a flake, it failed every single time I retried 😞 . I will try to figure out why that's happening. |
I've tried to reproduce it locally, using both the main branch and your PR branch and I have not been able to reproduce the error. I need to leave in ~15 mins but if you want we can pair tomorrow morning and take a deeper look at it |
Same here, let's pair tomorrow 👌 |
|
Am not sure why that's happening, but I wonder if the protocol allow the list of capabilities to be empty but we absolutely expect it to be set when we parse the ref advertisement pkt-lines. This protocol definition seem to indicate that it can't be empty. But this doc for protocol v2 shows that capabilities can be empty and on a separate line than those of the ref advertisement. |
|
It fails in main, I am not sure why. I have tried to reproduce it locally, using the very same Git version that the CI is using and I am not able to reproduce it. |
We want to use two new different sockstats,
import_skip_push_limitandimport_soft_throttlingwhich are respectively used to allow a higher push limit, and implement soft throttling policy for imports.We still forward the
is_importingstat for to skip push limit for backward compatibility. We plan to remove it on a subsequent PR.