|
@@ -3417,7 +3417,7 @@ xlog_ticket_alloc(
|
|
tic->t_curr_res = unit_bytes;
|
|
tic->t_curr_res = unit_bytes;
|
|
tic->t_cnt = cnt;
|
|
tic->t_cnt = cnt;
|
|
tic->t_ocnt = cnt;
|
|
tic->t_ocnt = cnt;
|
|
- tic->t_tid = (xlog_tid_t)((__psint_t)tic & 0xffffffff);
|
|
|
|
|
|
+ tic->t_tid = random32();
|
|
tic->t_clientid = client;
|
|
tic->t_clientid = client;
|
|
tic->t_flags = XLOG_TIC_INITED;
|
|
tic->t_flags = XLOG_TIC_INITED;
|
|
tic->t_trans_type = 0;
|
|
tic->t_trans_type = 0;
|