[
https://issues.apache.org/jira/browse/IGNITE-27293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vladimir Pligin updated IGNITE-27293:
-------------------------------------
Description:
# Fix java doc that this method accepts only RW tx:
org.apache.ignite.internal.table.distributed.storage.InternalTableImpl#scan(int,
org.apache.ignite.internal.tx.InternalTransaction)
# Verify all edge cases for IndexScanCriteria(the boundaries, index existence,
index type etc)
org.apache.ignite.internal.table.distributed.storage.InternalTableImpl#scan(int,
org.apache.ignite.internal.tx.InternalTransaction, int,
org.apache.ignite.internal.table.IndexScanCriteria.Range)
DoD:
org.apache.ignite.internal.table.distributed.storage.InternalTableImpl#scan(int,
org.apache.ignite.internal.tx.InternalTransaction):
1. Move partiton scan tetsts to unit tests
2. Test that implicit transaction starts
3. Positive tests that the data is retrieved(as expected), empty set , not
empty setIndex scan:
scan(int, org.apache.ignite.internal.tx.InternalTransaction, int,
org.apache.ignite.internal.table.IndexScanCriteria.Range):
1. Verify existent index works, non existent index doesn't work
2. Correct/incorrect boundaries
3. Different index types(hash index, search index)
4. Refuses to work with read only tx
5. Start implicit tx if passed tx is null
6. Different tx states(commited/aborted)
was:
# Fix java doc that this method accepts only RW tx:
org.apache.ignite.internal.table.distributed.storage.InternalTableImpl#scan(int,
org.apache.ignite.internal.tx.InternalTransaction)
# Verify all edge cases for IndexScanCriteria(the boundaries, index existence,
index type etc)
org.apache.ignite.internal.table.distributed.storage.InternalTableImpl#scan(int,
org.apache.ignite.internal.tx.InternalTransaction, int,
org.apache.ignite.internal.table.IndexScanCriteria.Range)
DoD:
org.apache.ignite.internal.table.distributed.storage.InternalTableImpl#scan(int,
org.apache.ignite.internal.tx.InternalTransaction):
1. Move partiton scan tetsts to unit tests
2. Test that implicit transaction starts
3. Positive tests that the data is retrieved(as expected), empty set , not
empty setIndex scan:
scan(int, org.apache.ignite.internal.tx.InternalTransaction, int,
org.apache.ignite.internal.table.IndexScanCriteria.Range):
1. Verify existent index works, non existent index doesn't work
2. Correct/incorrect boundaries
3. Different index types(hash index, search index)
4. Refuses to work with read only tx
5. Start implicit tx if passed tx is null
6. Different tx states(commited/aborted)
> Improve test coverage of InternalTable.scan methods
> ---------------------------------------------------
>
> Key: IGNITE-27293
> URL: https://issues.apache.org/jira/browse/IGNITE-27293
> Project: Ignite
> Issue Type: Improvement
> Components: tables ai3
> Reporter: Egor Kuts
> Assignee: Anton Laletin
> Priority: Major
> Labels: ignite-3
> Time Spent: 50m
> Remaining Estimate: 0h
>
>
> # Fix java doc that this method accepts only RW tx:
> org.apache.ignite.internal.table.distributed.storage.InternalTableImpl#scan(int,
> org.apache.ignite.internal.tx.InternalTransaction)
> # Verify all edge cases for IndexScanCriteria(the boundaries, index
> existence, index type etc)
> org.apache.ignite.internal.table.distributed.storage.InternalTableImpl#scan(int,
> org.apache.ignite.internal.tx.InternalTransaction, int,
> org.apache.ignite.internal.table.IndexScanCriteria.Range)
>
>
> DoD:
> org.apache.ignite.internal.table.distributed.storage.InternalTableImpl#scan(int,
> org.apache.ignite.internal.tx.InternalTransaction):
>
> 1. Move partiton scan tetsts to unit tests
> 2. Test that implicit transaction starts
> 3. Positive tests that the data is retrieved(as expected), empty set , not
> empty setIndex scan:
>
> scan(int, org.apache.ignite.internal.tx.InternalTransaction, int,
> org.apache.ignite.internal.table.IndexScanCriteria.Range):
>
> 1. Verify existent index works, non existent index doesn't work
> 2. Correct/incorrect boundaries
> 3. Different index types(hash index, search index)
> 4. Refuses to work with read only tx
> 5. Start implicit tx if passed tx is null
> 6. Different tx states(commited/aborted)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)