if(t_suspend()) { xlog("L_NOTICE", "==> processing suspended in transaction [$T(id_index):$T(id_label)] "); } else { xlog("L_ERR", "t_suspend err"); exit; }
Sometimes, I get this log==> processing suspended in transaction [0:13614] ",as far as I know, 0 means that the value cannot be obtained. Executing t_continue(tindex, tlabel, rtname) with parameter 0 will fail.by the way, It's a question of probability.
On 13.08.25 09:38, mm e via sr-users wrote:
if(t_suspend()) { xlog("L_NOTICE", "==> processing suspended in transaction [$T(id_index):$T(id_label)] "); } else { xlog("L_ERR", "t_suspend err"); exit; }
Sometimes, I get this log==> processing suspended in transaction [0:13614] ",as far as I know, 0 means that the value cannot be obtained. Executing t_continue(tindex, tlabel, rtname) with parameter 0 will fail.by the way, It's a question of probability.
The $T(id_index) should be ok with value 0, because it is the index of a hash table slot. It might be that $T(id_label) is not set 0.
Can you run with debug=0 and see if the log messages give more details about why it fails to continue?
Cheers, Daniel
In my log, the value of $T(id_index) is not 0 in most cases,When the value of $T(id_index) is 0, the t_continue() method will fail. I will provide relevant logs later.