Delete test directories after test We have files in target being archived. Remove them after the test finishes. Change-Id: I68ea84a78e82bffcc3d8e0868b2f492759f64f90 Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Bump versions to 9.0.2-SNAPSHOT This starts the next deveopment iteration. Change-Id: I5940bc14b5261316778f547b0111b62b3a983bdb Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Release controller
Remove LeaderLocationListenerRegistration This specialization is not used anywhere, remove it and adjust LeaderLocationListener. Change-Id: Ic6a738b2b34ecaca980fb222fb363ef391f24b1a Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Migrate users of deprecated methods Updated yangtools/mdsal are providing a few more convenient methods, use those instead of their deprecated equivalents. Change-Id: I6a971e349dc7d5aed00697c179dfa0c37afa8209 Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Bump upstreams Adopt: - odlparent-13.0.11 - yangtools-13.0.1 - mdsal-13.0.0 Change-Id: I33bbfb6a9016ae13cfaba8d95bf461f8167621eb Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
JournalReader is not an Iterator Iterator dictating a two method API, which is not quite appropriate, as the writer could be manipulated between hasNext() and next() methods -- and next() has to perform validation again. Introduce JournalReader.tryNext(), which returns a @Nullable Indexed -- either the next entry (as next()), or null (indicating !hasNext() case). JIRA: CONTROLLER-2106 Change-Id: Ie0338a9869ece8e6381ae719a29e97fd569b442f Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Specialize tests to ClientBackedDataStore We have only one subclass of AbstractDataStore, use that instead of AbstractDataStore. Change-Id: Ia6552b1c050fb99e3084c2d8f5c36ea052e991be Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Lock down AbstractDataStore We have really only one specialization -- ClientBackedDataStore. We therefore can further lock down the methods we expose. Change-Id: I321c920fff6027e21c5ff78f489b192eb6675bbc Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Hide SegmentedJournal{Reader,Writer} These classes are define by Journal{Reader,Writer} interfaces, hide them as they are pure implementation details. JIRA: CONTROLLER-2098 Change-Id: I1149b970001cb64ffe503f128cce3864e396280a Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Hide JournalSegment JournalSegment is an implementation detail, which we do not want to leak to the outside world. Hide it an make it final. JIRA: CONTROLLER-2098 Change-Id: Ife71005f481c7ffb3c2eb6b89d3c5afa5e7f1609 Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Add a segmented-journal performance test case This introduces a PerformanceTest, which tests journal entry writeout for various sizes and metrics of how well it did. JIRA: CONTROLLER-2043 Change-Id: Idad7575326f632366417f60a850b6d63393bdc1e Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Migrate SegmentedFileJournalTest to JUnit5 This is a simple test, migrate it. Change-Id: I2a02266f6029e6424945e2b23d8060cefff9bf75 Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Migrate some tests to new ImmutableNodes While the amount of users of deprecated methods is huge here, we byte off a chunk of them. Change-Id: I6722230638b12cd7eede81e532578148b133220e Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Migrate cds-access-client We have a single test using deprecated methods, migrate it. Change-Id: Ibfbd89c45667e88f9a147ffc791485d87e9147be Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Simplify verify assertions Simplify verify assertions in ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest class. JIRA: CONTROLLER-2074 Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech> Change-Id: I9bfd448bfef32d5a47e99e056496da5b60abd79d
Refactor snapshot state verification Use dedicated list of snapshot states for leader and followers in ReplicationAndSnapshotsWithLaggingFollowerIntegrationTest class. JIRA: CONTROLLER-2074 Change-Id: I06b6303585c9002d5d36b043b96fa46f5eca60cf Signed-off-by: Ivan Hrasko <ivan.hrasko@pantheon.tech>
Partially migrate WriteTransactionsHandler We can easily migrate some of the use of deprecated methods. Make dent in the related warnings. Change-Id: I8e368a4899ee2719c9f40b5f4d59a8c1f9cdc0ab Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Clean up sal-remoterpc-connector We are using a number of deprecated methods here, clean that up. Change-Id: I19b37967cd7cac472efff3ae6018ea008111c49b Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
Migrate sal-clusering-commons tests Migrate most users of deprecated Builders/ImmutableNodes. Change-Id: I676f248cc524ebc51120352951e93e8539b1dd88 Signed-off-by: Robert Varga <robert.varga@pantheon.tech>