Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 5 SpaceDef : SpaceDef Operations : tibasSpaceDef_SetReplicationCount()

tibasSpaceDef_SetReplicationCount()
Function
Declaration
tibas_status tibasSpaceDef_SetReplicationCount
(tibasSpaceDef   spaceDef,
 tibas_int       replicationCount)
Purpose
Sets the replication count.
Parameters
 
Remarks
Use the tibasSpaceDef_SetReplicationCount() function to specify the degree of replication for a specified space.
The replication count can be 0 (no replication) or a positive integer.
A degree of replication of 0 (the default value) means there is no replication. Thus, if one of the seeders for the space fails suddenly, the tuples that it was seeding will disappear from the space. If, instead, the seeder leaves in an orderly manner by invoking the call to leave the space or the call to disconnect from the metaspace, there is no loss of data.
A degree of replication of 1 means that each tuple seeded by one member of the space will also be replicated by one other seeder of the space. If a seeder suddenly disappears from the metaspace, the tuples that it was seeding will automatically be seeded by the nodes that were replicating them, and no data is lost.
See Also
tibasSpaceDef_GetReplicationCount()

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved