On 2020/5/5 0:15, Markus Elfring wrote:
Thus, a data race can occur for tblk->flag.

To fix this data race, the spinlock log->gclock is used in
txBegin().

This data race is found by our concurrency fuzzer.
How do you think about a wording variant like the following?

    Change description:
    A data race can occur for the data structure member “flag”.
    This data race was found by our concurrency fuzzer.

    Thus use the spin lock “gclock” for the resetting of five
    data structure members in this function implementation.


Would you like to add the tag “Fixes” to the commit message?


Thanks, Markus.
I am not sure how to add the tag "Fixes"...
I need to find which previous commit add the code about txBegin()?


Best wishes,
Jia-Ju Bai

Reply via email to