Leandro Motta Barros

Results 27 issues of Leandro Motta Barros

This PR contains some optimizations that we use (or plan to start using soon) in production at belena.io. To summarize, these are the main changes included here: * Add methods...

Two commits here, each with a different improvement to Engine healthchecks, plus one adding automated tests for Engine healthchecks. Details follow. Manual tests performed: * Ran for 20+ hours on...

I set `WatchdogSec=0` for the Engine on a recent balenaOS build and the Engine failed to start. From what I see, the problem is that on newer Systemd versions, setting...

Use optimal block length to generate deltas Previously, we used a block length hardcoded to 512 bytes. Our measurements have shown that this value was generally inadequate: it produced relatively...

TODO: One thing we should do in this PR: if every attempt of making the migration fails, simply remove all images and containers and let the device redownload everything. (This...

Previously, `concatReadSeekCloser.Read()` would incorrectly return an `io.ErrUnexpectedEOF` if the last read from the second concatenated `Reader` didn't completely fill the passed buffer. For instance: ``` First Reader Second Reader |aaaaaaaaaaaaa|bbbbbbbbbbbbbbbbbbb|

This new version of netlink includes a number of bugfixes, including a fix to #292. This PR needs testing (it actually uses a beta version of netlink). An alternative would...

If we start a container with the label `io.balena.features.balena-socket: '1'` set, this container will have access to the Engine socket. However, if the Engine crashes on the Host OS, that...

In order to keep balenaEngine responsive during situations of high system load, this commit increases the scheduling priority of `balenad` and `balena-engine-containerd`. They are both assigned to real-time scheduling policies,...

# Expected Behavior User would like a way to enable local while offline. This is the use case: > While completely offline at all times we should be able too:...