Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

[WIP] KeyValueSnapshotReaderFactory #7004

Closed
wants to merge 1 commit into from

Conversation

rhuffy
Copy link
Contributor

@rhuffy rhuffy commented Mar 4, 2024

Based on #7000, adds service loading for TransactionManagerFactory, and some modifications for extension.

@rhuffy rhuffy force-pushed the rh/dual-read-v2 branch from 5f3a7ad to 125cd92 Compare March 5, 2024 05:51
@@ -69,4 +70,6 @@ RowColumnRangeIterator getRowsColumnRange(

void multiPut(Map<TableReference, ? extends Map<Cell, byte[]>> valuesByTable, long timestamp)
throws KeyAlreadyExistsException;

KeyValueService getDelegate();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not allowed in here.

@@ -373,7 +373,7 @@ protected final CommitTimestampLoader createCommitTimestampLoader(
knowledge);
}

protected final KeyValueSnapshotReader createDefaultSnapshotReader(
protected KeyValueSnapshotReader createDefaultSnapshotReader(
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the only method I need to override, so I can provide a custom SnapshotReader implementation. We can service load a SnapshotReaderFactory instead of the TransactionManagerFactory.

@jkozlowski jkozlowski closed this Mar 18, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants