Line 2: |
Line 2: |
| | | |
| TCP repair feature in the Linux kernel is supposed to help migrating a TCP socket. It's not yet complete and this page lists what is to be done. | | TCP repair feature in the Linux kernel is supposed to help migrating a TCP socket. It's not yet complete and this page lists what is to be done. |
− |
| |
− | ; Optimized restore
| |
− | : Currently the whole outgoing queue is restored in a "all was sent, waiting for ACK-s" state. After this the data that was really not sent yet will be re-transmitted after a while. This will make the connection work, but will delay it for some time. Need to improve this.
| |
| | | |
| ; OOB data | | ; OOB data |
| : Nothing to say here actually. This data is just not supported currently. | | : Nothing to say here actually. This data is just not supported currently. |
− |
| |
− | ; Shutdown sockets repair
| |
− | : Need to place checks in the inet shutdown code similar to those on connect/sendmsg paths.
| |
| | | |
| == Done stuff == | | == Done stuff == |
| | | |
− | ; Transitional states | + | ; Transitional states & Shutdown sockets repair |
| : Fixed in [[Download/criu/2.10|2.10]] | | : Fixed in [[Download/criu/2.10|2.10]] |
| | | |
Line 23: |
Line 17: |
| | | |
| The half-opened connections on the server side can be dropped dump-time with the <code>--skip-in-flight</code> option. This helps in heavily loaded cases when such sockets appear often. | | The half-opened connections on the server side can be dropped dump-time with the <code>--skip-in-flight</code> option. This helps in heavily loaded cases when such sockets appear often. |
| + | |
| + | ''For shutdown repair'': Need to place checks in the inet shutdown code similar to those on connect/sendmsg paths. |
| </div> | | </div> |
| </div> | | </div> |
Line 44: |
Line 40: |
| The nf_conntrack thing in the kernel is about to be live-migrated too. | | The nf_conntrack thing in the kernel is about to be live-migrated too. |
| There's currently an API for getting the conntrack info (/proc file), but no such for restoring it by hands. | | There's currently an API for getting the conntrack info (/proc file), but no such for restoring it by hands. |
| + | </div> |
| + | </div> |
| + | |
| + | ; Optimized restore |
| + | : FIxed in [[Download/criu/1.0|1.0]] |
| + | |
| + | <div class="toccolours mw-collapsible mw-collapsed" style="width:800px"> |
| + | Old description: |
| + | <div class="mw-collapsible-content"> |
| + | : Currently the whole outgoing queue is restored in a "all was sent, waiting for ACK-s" state. After this the data that was really not sent yet will be re-transmitted after a while. This will make the connection work, but will delay it for some time. Need to improve this. |
| </div> | | </div> |
| </div> | | </div> |
Line 49: |
Line 55: |
| [[Category:Plans]] | | [[Category:Plans]] |
| [[Category:Network]] | | [[Category:Network]] |
− | [[Category:Fly in the ointment]]
| |