[Date Prev][Date Next] [Chronological] [Thread] [Top]

Strange goto in bdb_get_commit_csn() (ITS#2850)



Full_Name: Hallvard B Furuseth
Version: HEAD
OS: 
URL: 
Submission from: (NULL) (129.240.186.42)
Submitted by: hallvard


Should the second 'goto consumer_ctxcsn_retry' (line 358)
in back-bdb/ctxcsn.c be 'goto provider_ctxcsn_retry'?
That label is not used.  The current goto jumps into a loop
on the 'si' variable, but fails to initialize 'si' first.

The code was introduced in version 1.18
(Support multiple sync replication at the consumer).