Zoran has pointed out that my patch for this does not work.
A difference between ccbObjectCreate and objectSync is that the ccb
is done with a fully populated and complete imm database. The sync on the other hand is by definition done with an incomplete database. The sync is building up the database. Some objects pointed to from a nondangling reference may arrive later in the sync.
So at the very least the sync of the no-dangling map has to be completed
in finalizeSync instead of in objectSync. Possibly the whole no-dangling
completion could be done in finalize sync.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Zoran has pointed out that my patch for this does not work.
A difference between ccbObjectCreate and objectSync is that the ccb
is done with a fully populated and complete imm database. The sync on the other hand is by definition done with an incomplete database. The sync is building up the database. Some objects pointed to from a nondangling reference may arrive later in the sync.
So at the very least the sync of the no-dangling map has to be completed
in finalizeSync instead of in objectSync. Possibly the whole no-dangling
completion could be done in finalize sync.
http://sourceforge.net/p/opensaf/mailman/message/34185743/
opensaf-4.5.x:
changeset: 6616:f44eceb03a3f
branch: opensaf-4.5.x
parent: 6611:06291c4d1256
user: Zoran Milinkovic zoran.milinkovic@ericsson.com
date: Wed Jun 17 10:44:06 2015 +0200
summary: imm: create NO_DANGLING references in finalizeSync [#1381]
opensaf-4.6.x:
changeset: 6617:0a44d9c5b951
branch: opensaf-4.6.x
parent: 6612:e2272fa55f67
user: Zoran Milinkovic zoran.milinkovic@ericsson.com
date: Wed Jun 17 10:44:06 2015 +0200
summary: imm: create NO_DANGLING references in finalizeSync [#1381]
default(4.7):
changeset: 6618:8c5c122f5edd
tag: tip
parent: 6615:2e28486d376d
user: Zoran Milinkovic zoran.milinkovic@ericsson.com
date: Wed Jun 17 10:44:06 2015 +0200
summary: imm: create NO_DANGLING references in finalizeSync [#1381]
Related
Tickets:
#1381