visibleVersion method
Find the version visible to ctx, walking the chain.
Implementation
MvccRowVersion? visibleVersion(TxnContext ctx) {
MvccRowVersion? v = head;
while (v != null) {
if (v.visibleTo(ctx)) return v;
v = v.prev;
}
return null;
}