Mysql replication and Repeatable read

Description

I observed the following case, which looks like a bug for isolation level "repeatable read" from my point of view
I have table:

  1. connect to mysql server as slave by using libslave

  2. update the record

  3. received this update through libslave.

  4. create a new connection and make query "SELECT status FROM campaign WHERE id=1"

  5. expected that status will be "active", but actually status is "deleted"

if I change the isolation level to "Read-Commited", I get the status "active" in step 5 as expected.

Adding read lock in previous query also works. the query

also returns status "active" even isolation level is "repeatable read"

Environment

None

Smart Checklist

Activity

Show:

Sveta Smirnova February 27, 2019 at 1:16 PM

Closed as "Cannot Reproduce", because we cannot repeat the issue on our side and the reporter did not provide additional informaiton.

Sveta Smirnova July 3, 2018 at 4:45 PM
Edited

Thank you for the report. I cannot repeat described behavior using command line client:

Session 1:

Session 2:

How do you create connection at step 4?

Cannot Reproduce

Details

Assignee

Reporter

Affects versions

Priority

Smart Checklist

Created May 9, 2018 at 1:26 PM
Updated March 6, 2024 at 1:10 PM
Resolved February 27, 2019 at 1:16 PM