Skip to content

Conversation

@idanovinda
Copy link
Member

This pull request addresses two related issues regarding the stream section during publication and slot creation:

  1. Conditional FES Resource Creation:
    The FES (Fabric Event Stream) resource will no longer be created if the logical slot does not exist. Previously, there was a bug causing the FES resource to be created regardless of the existence of the logical slot. This was not the expected behavior because creating the FES resource would trigger the FES operator to create publications and slots if they were missing. If publication and slot creation were not possible (e.g., due to missing tables), it would result in failures.

  2. Logical Slot Creation/Deletion Based on Publication Modification:
    The logical slot will now only be created or deleted if the publication modification is successful. Following the changes in Enable slot and publication deletion when stream application is removed #2684, a logical slot was being created regardless of whether the publication creation was successful. This change ensures that logical slot creation is consistent with the success of publication modification, preventing potential issues related to dangling slots that accumulate WAL (Write-Ahead Logging) entries, which could result in risk to the cluster.

@FxKu FxKu added this to the 1.13.0 milestone Jul 29, 2024
@idanovinda idanovinda marked this pull request as ready for review July 30, 2024 14:46
@FxKu
Copy link
Member

FxKu commented Aug 2, 2024

👍

1 similar comment
@idanovinda
Copy link
Member Author

👍

@idanovinda idanovinda merged commit 94d3632 into master Aug 2, 2024
@idanovinda idanovinda deleted the slot-publication-creation branch August 2, 2024 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants