Menu

#1381 imm: no-dangling map is not built up in sync client

4.5.2
fixed
None
defect
imm
nd
4.4
critical
2015-06-17
2015-06-03
Hung Nguyen
No

Turn on SC-1 only and create a simple no-dangling reference

immcfg -c TestClass testClass=1

immcfg -c TestClass -a dep=testClass=1 testClass=2

Now turn on SC-2. sReverseRefsNoDanglingMMap of IMMND on SC-2 was empty.

Just turn off SC-1 and testClass=1 can be deleted.

Related

Tickets: #1381
Wiki: ChangeLog-4.5.2
Wiki: ChangeLog-4.6.1

Discussion

  • Anders Bjornerstedt

    • status: unassigned --> accepted
    • assigned_to: Anders Bjornerstedt
    • Version: --> 4.4
     
  • Anders Bjornerstedt

    • status: accepted --> review
     
  • Anders Bjornerstedt

    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.

     
  • Anders Bjornerstedt

    • status: review --> unassigned
    • assigned_to: Anders Bjornerstedt --> nobody
     
  • Anders Bjornerstedt

    • status: unassigned --> assigned
    • assigned_to: Zoran Milinkovic
     
  • Zoran Milinkovic

    • status: assigned --> accepted
     
  • Zoran Milinkovic

    • status: accepted --> review
     
  • Zoran Milinkovic

    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

  • Zoran Milinkovic

    • status: review --> fixed
     

Log in to post a comment.