Why can a committed order be missing from a later SELECT in OceanBase MySQL mode?
I am using OceanBase Database in MySQL mode with one leader and two followers. A checkout request inserts an order and commits it. The confirmation page then uses another connection to read that order. On MySQL this read always sees the committed row. On OceanBase the confirmation page sometimes reports that the order does not exist, and a retry a few seconds later finds it. The write is committed before the read starts. This is the schema and the write: CREATE TABLE orders ( id BIGINT PRIMARY KEY, customer_id BIGINT NOT NULL, status VARCHAR(20) NOT NULL ); INSERT INTO orders (id, customer_id,
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.