Fail read requests after we have observed a modification failure 65/100765/7
authorRobert Varga <robert.varga@pantheon.tech>
Sun, 24 Apr 2022 08:16:42 +0000 (10:16 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Sun, 24 Apr 2022 16:42:31 +0000 (18:42 +0200)
commit3ce75d79be6b4b7d0f703505f791f71131c9cc48
tree8d425236f64eb4abf1a3b9afaab3844903735375
parentcb697c760773585fc89b3a52c6cc7e3605de716f
Fail read requests after we have observed a modification failure

A local RW transaction can intercept a modification. If this happens, we
postpone the failure until commit time, but we must not allow further
reads to be satisfied, as they may end up returning incorrect data.

JIRA: CONTROLLER-2041
Change-Id: Ic1bb4c33b786e5926022125be8ee66aebfafee87
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/LocalProxyTransaction.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/LocalReadWriteProxyTransaction.java