[crac] RFR: 8349819: [CRaC] Support FD policy reopen on listening socket

Radim Vansa rvansa at openjdk.org
Fri Feb 14 17:03:48 UTC 2025


Adds additional filtering option for `type: SOCKET` in OpenResourcePolicies: `listening: true` which is true for common server sockets. 
With `action: reopen` these implement automatic close on checkpoint and reopening on restore, using the same local address (this obviously won't work well if the restore happens on a machine that does not have the IP used before checkpoint).

-------------

Commit messages:
 - 8349819: [CRaC] Support FD policy reopen on listening socket

Changes: https://git.openjdk.org/crac/pull/204/files
  Webrev: https://webrevs.openjdk.org/?repo=crac&pr=204&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8349819
  Stats: 549 lines in 18 files changed: 539 ins; 1 del; 9 mod
  Patch: https://git.openjdk.org/crac/pull/204.diff
  Fetch: git fetch https://git.openjdk.org/crac.git pull/204/head:pull/204

PR: https://git.openjdk.org/crac/pull/204


More information about the crac-dev mailing list