|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Understanding SyncPoint |
« View previous topic :: View next topic » |
Author |
Message
|
atheek |
Posted: Tue Sep 26, 2006 9:20 pm Post subject: Understanding SyncPoint |
|
|
 Partisan
Joined: 01 Jun 2006 Posts: 327 Location: Sydney
|
What exactly are syncpoints? Any set of action after the last commit/backout will constitute the current unit of work. Are syncpoints the points at which the commit/rollback is made? Also what is meant by doing a put outside syncpoint. Read somewhere that messages put outside syncpoint wouldnt be logged even if they are persistent.
Please help me out
Thanks in Advance |
|
Back to top |
|
 |
elvis_gn |
Posted: Tue Sep 26, 2006 9:34 pm Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi atheek,
You answered your question yourself....
When u start some process, where u could be putting say 'x' number of msgs on different queues, it will be under a transaction...if you commit(similar to a db commit) then the msgs are committed to the respective queues and that unit of work is complete....and the present status of mq is at syncpoint...
If a rollback occured, all the msgs which are in transaction in the current unit of work(which in other words, started from the moment u made the last commit, also called syncpoint) will be removed from the queues...
I hope I did not confuse you
Regards. |
|
Back to top |
|
 |
atheek |
Posted: Tue Sep 26, 2006 9:55 pm Post subject: |
|
|
 Partisan
Joined: 01 Jun 2006 Posts: 327 Location: Sydney
|
thanks Elvis, I got it...
please let me know what is meant by doing a put outside syncpoint. Every put statement should be a part of a UOW and will be either committed or roll backed at syncpoint. Now is it possible to do a put which will be made visible evrywhere immediately without waiting for a syncpoint. I have read some where in the forum about such messges which wouldnt be logged even if they are persisitent.. couldnt understand what it is!! |
|
Back to top |
|
 |
elvis_gn |
Posted: Tue Sep 26, 2006 11:41 pm Post subject: |
|
|
 Padawan
Joined: 08 Oct 2004 Posts: 1905 Location: Dubai
|
Hi atheek,
When u do a normal put, it is in a UOW...if u made some other puts before that (after the last syncpint commit), those also will be in this UOW, u cannot commit this current put and have the previous puts to be still in transaction(i.e want them rolled back incase of error)...
This is with respect to one queue, i think when it comes to different queues, u can have one commited with other previous puts on other queues uncommitted...
Regards. |
|
Back to top |
|
 |
atheek |
Posted: Wed Sep 27, 2006 12:19 am Post subject: |
|
|
 Partisan
Joined: 01 Jun 2006 Posts: 327 Location: Sydney
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|