Skip to content

Conversation

@rbtr
Copy link
Collaborator

@rbtr rbtr commented Oct 2, 2024

Reason for Change:

The atomic fs writer currently opens the tempfile when it is instantiated. This can lead to many tempfiles being created if CNS fails during initiliazation.
This moves the tempfile creation in to the Write() method, so early exits after initialization will not clutter up the host filesystem with empty tempfiles.

Issue Fixed:

Requirements:

Notes:

@rbtr rbtr requested a review from a team as a code owner October 2, 2024 21:34
@rbtr rbtr self-assigned this Oct 2, 2024
@rbtr rbtr added cns Related to CNS. release/latest Change affects latest release train labels Oct 2, 2024
@rbtr
Copy link
Collaborator Author

rbtr commented Oct 3, 2024

/azp run Azure Container Networking PR

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rbtr rbtr force-pushed the fix/tmp-conflist branch from 8323860 to 675fd8b Compare October 7, 2024 22:35
@rbtr
Copy link
Collaborator Author

rbtr commented Oct 7, 2024

/azp run Azure Container Networking PR

@rbtr rbtr enabled auto-merge October 7, 2024 23:45
@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@rbtr rbtr requested a review from timraymond October 8, 2024 16:59
@rbtr rbtr added this pull request to the merge queue Oct 8, 2024
Merged via the queue into master with commit e40cc6a Oct 8, 2024
14 checks passed
@rbtr rbtr deleted the fix/tmp-conflist branch October 8, 2024 20:43
sivakami-projects pushed a commit that referenced this pull request Oct 23, 2025
…alled (#3044)

fix: update atomic fs writer to delay tmp creation until Write

Signed-off-by: Evan Baker <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cns Related to CNS. release/latest Change affects latest release train

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants