Skip to content

[Bug] -XX:StartFlightRecording fixed-duration external recordings are detected as orphaned recordings and deleted #1668

Description

@andrewazores

Since upgrading Cryostat to JDK 25 in #1539, the smoketest's -XX:StartFlightRecording=filename=/tmp/,name=startup,settings=profile,disk=true,duration=30s behaves differently and not as intended. Previously, this recording would be automatically detected and registered as a RUNNING active recording, and Cryostat would set up a background job to update the database record at the expected completion time of the recording to emit the STOPPED event and automatically archive the recording. Now, Cryostat thinks the recording is an orphan (see RecordingHelper.java orphan recording handling) and deletes it, so its database record is never marked as STOPPED and it is never archived.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status
Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions