Skip to content

Commit 3c4a437

Browse files
committed
Add comment
1 parent 4720b4c commit 3c4a437

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

fdbclient/include/fdbclient/SpecialKeySpace.actor.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -539,6 +539,9 @@ class DataDistributionImpl : public SpecialKeyRangeRWImpl {
539539
Future<Optional<std::string>> commit(ReadYourWritesTransaction* ryw) override;
540540
};
541541

542+
// If the underlying set of key-value pairs of a key space is not changing, then we expect repeating a read to give the
543+
// same result. Additionally, we can generate the expected result of any read if that read is reading a subrange. This
544+
// actor performs a read of an arbitrary subrange of [begin, end) and validates the results.
542545
ACTOR Future<Void> validateSpecialSubrangeRead(ReadYourWritesTransaction* ryw,
543546
KeySelector begin,
544547
KeySelector end,

0 commit comments

Comments
 (0)