Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-1358

Clustering: Persisted log incorrect on follower after install snapshot

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • Lithium
    • None
    • mdsal
    • None
    • Operating System: All
      Platform: All

    • 3570
    • High

    Description

      I did a test where I created 18K car items with 18 transactions each with 1000 cars. Everything replicated fine and all 3 nodes were in sync.

      I stopped a follower, deleted the journal and restarted to simulate node re-install after catastrophic failure. The leader decided to install a snapshot to catch up the follower. This succeeded and follower's JMX data looked correct.

      I then stopped the follower and switched to single-node to verify persistence recovery. However, on restart, the log was empty and no car data.

      When the leader installs a snapshot, the follower applies the snapshot and re-initializes its in-memory log but doesn't persist the snapshot. It seems it should persist the snapshot and clear out the persisted journal as a normal snapshot does.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            tpantelis Tom Pantelis
            tpantelis Tom Pantelis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: