Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Jira
serverONAP Jira
serverId425b2b0a-557c-3c0c-b515-579789cceedb
keyCPS-2000

Assumptions


AssumptionNotesSign-off
1

Solution should be CPS-Core based not just in NCMP

Caffeine Cache is a CPS-Core solution
Upgrade is also possible without NCMP

Issues & Decisions


#

Issue

Notes 

Decision

1Preferred AlternativeCPS Team prefers Alternative 2
2Integration Test First

Solution

...

Proposals

Assumption

  1. during Upgrade two CM Handle LCM notifications are sent: 1) READY→LOCKED (for upgrade). 2) LOCKED → READY
  2. LCM events should be processed within Milliseconds

Alternative 0: Remove existing cache

  • tried but mush much slower and ODL memory leak experienced

...

  1. Worst case scenario: an update (with newly modelled data) happens before cache expiry. Update gets reject (fails validation)
    1. mitigation: Invalidate cache upon validation error and try again (consider this as an extension alternative 2 once)

ProCon
1
10 minutes window where additional validation might occur
2fails-safe wil cover all scenarios
3NO new message/interface
4Simplest solution
5Upgrade itself not delayed
6
Real validation errors will always  tried twice and perform relatively slowly

Alternative 3: (existing) Kafka Message with (new) Kafka Confirmation

Not viable without knowing how many instances need to form ie need Hazelcast Cache

...

...

Alternative 4:

...

New COS-Core Kafka Message with (new) Hazelcast Cache (semaphore)

...

Confirmation

...

Just an extension of Alternative 1 which is not the preferred option

...

Alternative 5: (existing) Polling (status watchdog) with (new) confirmation

Not viable because upgrades can be completed well withing polling time

...

Alternative 6: Add version info the cache-key


ProCon
1No issue with non-distributed cache
2
NCMP specific solution?
23
Version infor info NOT readily avaialble availably (many impacts)