- **status**: review --> fixed
- **Comment**:
opensaf-4.5.x:
changeset: 6847:521b2c5b866c
branch: opensaf-4.5.x
parent: 6841:0198c81ad4ad
user: Hung Nguyen <[email protected]>
date: Wed Sep 09 19:12:49 2015 +0700
summary: imm: Don't assign default values to empty valued attributes when
sync [#1472]
-----
opensaf-4.6.x:
changeset: 6848:f3e9ebe80cd1
branch: opensaf-4.6.x
parent: 6842:e9b051d8a81e
user: Hung Nguyen <[email protected]>
date: Wed Sep 09 19:12:49 2015 +0700
summary: imm: Don't assign default values to empty valued attributes when
sync [#1472]
-----
default(4.7):
changeset: 6849:68ea2b13deca
tag: tip
parent: 6846:e8c3ec079da6
user: Hung Nguyen <[email protected]>
date: Wed Sep 09 19:12:49 2015 +0700
summary: imm: Don't assign default values to empty valued attributes when
sync [#1472]
---
** [tickets:#1472] imm: Default values are assigned to empty-valued attributes
when sync**
**Status:** fixed
**Milestone:** 4.5.2
**Created:** Wed Sep 09, 2015 11:01 AM UTC by Hung Nguyen
**Last Updated:** Mon Sep 14, 2015 09:41 AM UTC
**Owner:** Hung Nguyen
root@SC-1:~# immlist -c Test
<< Test - CONFIG >>
test : SA_STRING_T [1] {RDN, CONFIG, INITIALIZED}
attr : SA_INT64_T [0] = 100 (0x64) {CONFIG, WRITEABLE}
On SC-1, set attribute of an object that has default to empty.
root@SC-1:~# immcfg -c Test test=1
root@SC-1:~# immcfg -a attr= test=1
root@SC-1:~# immlist -a attr test=1
attr=<Empty>
Let another node join the cluster. On that node, list value of the attribute
root@PL-3:~# immlist -a attr test=1
attr=100
There's a mismatch between the nodes.
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.------------------------------------------------------------------------------
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets