[CONTROLLER-1340] Clustering : Create a snapshot at the end of recovery Created: 26/May/15  Updated: 17/Nov/15  Resolved: 17/Nov/15

Status: Resolved
Project: controller
Component/s: clustering
Affects Version/s: Post-Helium
Fix Version/s: None

Type: Improvement
Reporter: Moiz Raja Assignee: Natarajan Dhiraviam
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: Text File 3381ConditionalSnapshotOnRecoveryUTpass.txt     Text File SnapshotsOnRecovery3NodeC.log    

 Description   

Since snapshots help speeden up recovery we should consider doing a snapshot at the end of recovery as well. This way we can ensure that subsequent restarts will not need to process the same journal entries that were encountered in the current recovery process.



 Comments   
Comment by Natarajan Dhiraviam [ 01/Oct/15 ]

Triggered Capturing snapshot at end of recovery (RaftActor.java).
Impacted existing unit test scripts (RaftActorTest.java, ReplicationAndSnapshotsIntegrationTest.java, ShardTest.java) fixed.

Comment by Natarajan Dhiraviam [ 01/Oct/15 ]

Attachment SnapshotsOnRecovery3NodeC.log has been added with description: Snapshots corresponding to list of shards created in all 3 nodes

Comment by Natarajan Dhiraviam [ 10/Oct/15 ]

Attachment 3381ConditionalSnapshotOnRecoveryUTpass.txt has been added with description: 3381ConditionalSnapshotOnRecoveryUTpass

Comment by Moiz Raja [ 17/Nov/15 ]

https://git.opendaylight.org/gerrit/#/q/message:3381

Generated at Wed Feb 07 19:55:17 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.