[MDSAL-41] Provide support for custom Commit Cohorts Created: 27/Jul/14 Updated: 09/Mar/18 Resolved: 10/Feb/17 |
|
| Status: | Resolved |
| Project: | mdsal |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | ||
| Reporter: | Reinaldo Penno | Assignee: | Tony Tkacik |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| Issue Links: |
|
||||||||||||||||
| External issue ID: | 1435 | ||||||||||||||||
| Description |
|
I looked at 1209 and if new API provides fixes problems, please point to concrete example on how to overcome problems described in wiki. |
| Comments |
| Comment by Tony Tkacik [ 28/Jul/14 ] |
|
Please |
| Comment by Tony Tkacik [ 28/Jul/14 ] |
|
(In reply to Tony Tkacik from comment #1) Accidentally submitted unfinished answer, Please could you insert body from wiki here, to track it in one place |
| Comment by Reinaldo Penno [ 28/Jul/14 ] |
|
1- Commit Handler is called for every commit independent of attachment point. If I attach a Commit Handler to a Yang List in a specific model, I expect it to be called only for transaction at that level or lower, but it is called for every controller config transaction. "If error occured, the broker starts a commit rollback phase. " If I change the code below to honor a failed RpcResult from Provider, the transaction still goes through. It seems there is no stopping RESTconf from failing a transaction return Futures.transform(dataStoreCommit, new Function<RpcResult<TransactionStatus>,RpcResult<TransactionStatus>>() { } It also important to point out that when I changed the code as above to honor the return value from provider, the initial controller configuration did not not go through as many errors were displayed. . In other words, it seems people have been relying on this bug. |
| Comment by Reinaldo Penno [ 22/Aug/14 ] |
|
What's the progress on this one? Without this working I can not sanitize RESTconf operations |
| Comment by Tony Tkacik [ 18/Sep/14 ] |
|
This requires API enhancement for new DataBroker described in |
| Comment by Reinaldo Penno [ 29/Oct/14 ] |
|
Requirements:
|
| Comment by George Zhao [ 19/Jan/15 ] |
|
move to Lithium |
| Comment by Reinaldo Penno [ 03/Mar/15 ] |
|
Any update? I would like to incorporate the new API into SFC with plenty of time to test, give feedback, fix bugs, stabilize. |
| Comment by Tony Tkacik [ 19/Mar/15 ] |
| Comment by Reinaldo Penno [ 31/Mar/15 ] |
|
Any update? Code review seems stuck and did not receive any updates either. |
| Comment by Tony Tkacik [ 01/Apr/15 ] |
|
https://git.opendaylight.org/gerrit/#/c/17532/1 - Binding to DOM part DOM to Data Store part is yet pending. |
| Comment by Tony Tkacik [ 28/Jan/16 ] |
| Comment by Colin Dixon [ 10/Feb/17 ] |
|
adding some keywords to make searching easier: |