Does OpenClovis ASP support transaction and how it support tranction?
Submitted by ken on Wed, 2006-11-08 06:11.
Hi,
Does OpenClovis ASP support transaction and how it support transaction?
For example,Can i submit multiple operations at the same time?
And if part operations failed,Can it rollback?
Could someone kind enough to introduce the transaction mechanism
of OpenClovis ASP?
Thanks.
ken

Hi Ken,
openClovis ASP has support for transaction mechanism. Please refer to openClovis_ReferenceGuide-2.2.pdf.
Section 3.52-3.54 explains the details.
The following link takes you to the Header files mentioning the supported APIs.
http://www.openclovis.org/filebrowser/OpenClovis_Release2.2/src/SISP/components/txn/include
More specifically to your questions ASP supports clubbing multiple jobs into a single transaction.
HTH,
Hari
Hi Hari,
In Section 3.52-3.54 of openClovis_ReferenceGuide-2.2.pdf,
there are only introduction of API.Could you provide some chart or
document on the machanism of how OpenClovis implement transaction?
Thanks
ken
Hi Ken,
Are you looking for how openClovis implemented it? You can browse thru the code to see the implementaion. I dont know any document mentioning the implementation here.
Thanks,
Hari
Hi Hari,
As you know,multiple jobs can be included in a single
transaction. I wonder what a job stand for? How a job and
a transaction is generated? According to OpenClovis User Guide,
COR is a distributed database, by default, COR objects are replicated
on two controller card. Is transaction mechanism just used to make
sure that multiple replicas of the same object are consistent?
Can i submit modification of multiple configuration objects
(not just multiple replicas of the same object)
at the same time?
Thanks
ken
Hi Ken,
You can configure multiple objects(of different type) in a single transaction.
Please look at clCorObjectAttributeSet, clCorTxnSessionCommit APIs and thier usage to get a better idea of how to use transacion semantics supported by COR
HTH,
Hari
Hi Hari,
OK,Thank you very much.
Ken