Skip to content

Conversation

@liss-h
Copy link
Contributor

@liss-h liss-h commented Jun 26, 2025

Fixed a bug where the properly_closed_mark would create its mark on the filesystem even if it was not opened correctly.

Btw: Did you test that move assigning the manager_kernel works correctly?
I didn't look deeply into it but the ctors/operators seem to be defaulted in a lot of places which usually does not work properly with such complex things, especially if they contains trivial datatypes (which are just copied).

Copy link
Contributor

@bigerl bigerl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thx for fixing this. Changes look good and solve the problem. Design with the empty path as reserved value is fine and clearly documented in the comment at the field. If a more expressive form is wanted, we could also use a std::optional<std::filesystem::path> for m_mark_path.

@KIwabuchi KIwabuchi self-assigned this Jul 2, 2025
@KIwabuchi KIwabuchi merged commit 7095ce9 into llnl:develop Jul 10, 2025
2 checks passed
@KIwabuchi
Copy link
Member

I haven't tested the move assignment of manager_kernel. Actually, I don't have to support it there. I'll just remove it.

@KIwabuchi
Copy link
Member

KIwabuchi commented Jul 18, 2025

Removed move assignment and move constructor of manager_kernel :
#358

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants