Admin API question

We deployed a Processing Unit with the following cluster configuration:

<os-sla:sla cluster-schema="partitioned-sync2backup" number-of-instances="2" number-of-backups="0" />
 <os-core:space id="space" url="/./PatientGrid?locators=${LOOKUPLOCATORS}" lookup-groups="${LOOKUPGROUPS}"/>

Then we created an stand alone application with an Admin using the following code:

admin = new AdminFactory().addGroup(;

and adds a listener to the Admin object, where the listener implements the SpaceInstanceLifecycleEventListener interfaces.

Now when our monitoring code runs, it receives spaceInstanceAdded event twice as there were 2 space instances in the cluster. For each spaceInstance, the

spaceInstance.getInstanceId() returns the 1 and 2. This is expected since there are 2 space instances based on our cluster configuration.

But in both cases, spaceInstance.getPartition().getPartitiondId()) returns 0. It seems like there is only one partition. So my question is:

What does the SpacePartition represent? If they represent a partition, shall they be 0, 1 since we have 2 partitions in our cluster configuration? Is this a bug?

thanks in advance.


{quote}This thread was imported from the previous forum. For your reference, the original is [available here|]{quote}

asked 2010-03-31 16:34:41 -0500

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete