[ 
https://issues.apache.org/jira/browse/IGNITE-17732?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vladislav Pyatkov updated IGNITE-17732:
---------------------------------------
    Description: 
The transaction protocol requires locks on different entities (keys, rowIds, 
tables and indexes), but our implementation ready is appliable for only one 
type.
By the reason, a transaction will lock only keys (PK of those rows which 
participate in the transaction). All another locks will be temporarily 
mitigated.

As a temporary workaround for this disadvantage, supposed:
 # Create a NL (Not a lock) lock mode, which is compatible for all another mode
 # All lock modes on rowIds, tables, indexes should convert to NL 

 

  was:
The transaction protocol requires locks over different entities (keys, rowIds, 
tables and indexies) all indexes (now it is a pk) in the same manner as it 
happens for data (locks on {_}RowIds{_}). But lock manager cannot resolve all 
problems in his case (in particular, waiter for _RowId_ does not create when 
the lock on index have not got).

As a temporary workaround for this disadvantage, supposed:
 # Create a NAL (Not a lock) lock mode, which is compatible for all another mode
 # All lock modes on PK should convert to NAL 


> Only keys should be locked in transaction
> -----------------------------------------
>
>                 Key: IGNITE-17732
>                 URL: https://issues.apache.org/jira/browse/IGNITE-17732
>             Project: Ignite
>          Issue Type: Improvement
>            Reporter: Vladislav Pyatkov
>            Assignee: Vladislav Pyatkov
>            Priority: Major
>              Labels: ignite-3
>
> The transaction protocol requires locks on different entities (keys, rowIds, 
> tables and indexes), but our implementation ready is appliable for only one 
> type.
> By the reason, a transaction will lock only keys (PK of those rows which 
> participate in the transaction). All another locks will be temporarily 
> mitigated.
> As a temporary workaround for this disadvantage, supposed:
>  # Create a NL (Not a lock) lock mode, which is compatible for all another 
> mode
>  # All lock modes on rowIds, tables, indexes should convert to NL 
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to