[
https://issues.apache.org/jira/browse/IGNITE-18194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexander Lapin updated IGNITE-18194:
-------------------------------------
Description:
h3. Motivation
Method _PartitionReplicaListener.retrieveExactEntriesUntilCursorEmpty_ creates
a cursor over storage using _HybridTimestamp.MAX_VALUE_ timestamp, but required
to use a timestamp from request ({_}readTimestamp{_} is a timestamp from read
request here).
Also, this scenario is not covered by test, because TC is green. Need to write
a test scenario that demonstrate issue when storage cursor is opened with
incorrect timestamp in RO transaction.
h3. Implementation Notes
>>Also, this scenario is not covered by test, because TC is green. Need to
>>write a test scenario that demonstrate issue when storage cursor is opened
>>with incorrect timestamp in RO transaction.
Seems that we already have such test
org.apache.ignite.internal.table.TxAbstractTest#testReadOnlyGetWriteIntentResolutionUpdate
was:
*Motivation:*
Method _PartitionReplicaListener.retrieveExactEntriesUntilCursorEmpty_ creates
a cursor over storage using _HybridTimestamp.MAX_VALUE_ timestamp, but required
to use a timestamp from request (_readTimestamp_ is a timestamp from read
request here).
Also, this scenario is not covered by test, because TC is green. Need to write
a test scenario that demonstrate issue when storage cursor is opened with
incorrect timestamp in RO transaction.
> Scan chooses incorerect timestamp to scan storage in RO transaction
> -------------------------------------------------------------------
>
> Key: IGNITE-18194
> URL: https://issues.apache.org/jira/browse/IGNITE-18194
> Project: Ignite
> Issue Type: Improvement
> Reporter: Vladislav Pyatkov
> Priority: Major
> Labels: ignite-3
>
> h3. Motivation
> Method _PartitionReplicaListener.retrieveExactEntriesUntilCursorEmpty_
> creates a cursor over storage using _HybridTimestamp.MAX_VALUE_ timestamp,
> but required to use a timestamp from request ({_}readTimestamp{_} is a
> timestamp from read request here).
> Also, this scenario is not covered by test, because TC is green. Need to
> write a test scenario that demonstrate issue when storage cursor is opened
> with incorrect timestamp in RO transaction.
> h3. Implementation Notes
> >>Also, this scenario is not covered by test, because TC is green. Need to
> >>write a test scenario that demonstrate issue when storage cursor is opened
> >>with incorrect timestamp in RO transaction.
> Seems that we already have such test
> org.apache.ignite.internal.table.TxAbstractTest#testReadOnlyGetWriteIntentResolutionUpdate
--
This message was sent by Atlassian Jira
(v8.20.10#820010)