[ 
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 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 

  was:
The transaction protocol requires lock 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 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 



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

Reply via email to