27.08.2018 9:54, Dmitry Yemanov пишет:
27.08.2018 09:30, Vlad Khorsun wrote:
On 05/08/2018 22:44, Adriano dos Santos Fernandes wrote:
Hi!
In "read consistency" README's patch, it says about statement level
consistency.
JRD_start/JRD_start_and_send was been changed (retry logic).
Can this retry be leaked from "SQL statements" (SELECT / UPDATE /
DELETE) to PL/SQL or request logic?
Not sure i understand question correctly...
This is how I understand it:
JRD_* routines are also called for nested requests (below the user-level DSQL statement), and Adriano suspects that the added retry
logic will be executed in these cases too. Is this correct or somehow avoided? If correct, is it expected/safe?
There is special check if request is top-level at the catch section:
// Snapshot has been assigned to the request -
// it was top-level request
!TRA_get_prior_request(tdbb))
I.e. request restart logic applyed to the top-level requests only (as
documented).
Regards,
Vlad
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
Firebird-Devel mailing list, web interface at
https://lists.sourceforge.net/lists/listinfo/firebird-devel