Explain me please, are GT.M transactions safe
for terminating process by SIGTERM?
I've got strange bug in my project and want
to exclude this possibility.
Thanks,
Andrew. (andrew@comcon.kiev.ua)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
SIGTERM should be safe as far as GT.M is concerned. However, depending on their design, most applications are likely to be unhappy unless you also use the M transaction feature (TSTART/TCOMMIT). If you do so, please make your transactions restartable.
MUPIP STOP is essentially a wrapper for SIGTERM.
Note that SIGKILL is NOT safe!
Hope this helps,
Roger
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello all,
Explain me please, are GT.M transactions safe
for terminating process by SIGTERM?
I've got strange bug in my project and want
to exclude this possibility.
Thanks,
Andrew. (andrew@comcon.kiev.ua)
Andrew:
SIGTERM should be safe as far as GT.M is concerned. However, depending on their design, most applications are likely to be unhappy unless you also use the M transaction feature (TSTART/TCOMMIT). If you do so, please make your transactions restartable.
MUPIP STOP is essentially a wrapper for SIGTERM.
Note that SIGKILL is NOT safe!
Hope this helps,
Roger