Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-21323

Check if entry exists in cluster_nodes before adding it

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Do
    • Affects Version/s: 6.0
    • Fix Version/s: None
    • Component/s: Clustering, Core VCS

      Description

      When the clustering is enabled, a new entry is added to the cluster_nodes table at startup and removed at shutdown.

      But if Nuxeo is abnormally stopped, the entry is not removed from the cluster_nodes table and at the next startup, two entries with the same node id will be in the table.

      Before adding an entry, we should check if an entry with the same node id exists and remove it if needed.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: