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

Vladislav Pyatkov updated IGNITE-20693:
---------------------------------------
    Description: 
The issue happens when the placement driver is still stuck in active behavior 
during the deactivation process.

{noformat}
[2023-10-19T08:56:53,665][INFO ][Test worker][AssignmentsTracker] Assignment 
cache initialized for placement driver [groupAssignments={1_part_0=[Assignment 
[consistentId=test-node, isPeer=true]]}]
[2023-10-19T08:56:53,703][INFO ][Test worker][LeaseUpdaterTest] >>> Stopping 
test: LeaseUpdaterTest#testActiveDeactivateMultiThread, displayName: repetition 
18 of 20, cost: 43ms.
Exception in thread "%test-node%lease-updater-45" java.lang.NullPointerException
  at 
org.apache.ignite.internal.placementdriver.LeaseUpdater$Updater.updateLeaseBatchInternal(LeaseUpdater.java:313)
  at 
org.apache.ignite.internal.placementdriver.LeaseUpdater$Updater.run(LeaseUpdater.java:286)
  at java.base/java.lang.Thread.run(Thread.java:834)
[2023-10-19T08:56:53,691][WARN ][%test-node%lease-updater-46][LeaseUpdater] 
Lease updater is interrupted
{noformat}

  was:
The issue happens when the placement driver is still stuck in active behavior 
during the deactivation process.

{noformat}
[2023-10-19T08:56:53,665][INFO ][Test worker][AssignmentsTracker] Assignment 
cache initialized for placement driver [groupAssignments={1_part_0=[Assignment 
[consistentId=test-node, isPeer=true]]}]
    [2023-10-19T08:56:53,703][INFO ][Test worker][LeaseUpdaterTest] >>> 
Stopping test: LeaseUpdaterTest#testActiveDeactivateMultiThread, displayName: 
repetition 18 of 20, cost: 43ms.
    Exception in thread "%test-node%lease-updater-45" 
java.lang.NullPointerException
      at 
org.apache.ignite.internal.placementdriver.LeaseUpdater$Updater.updateLeaseBatchInternal(LeaseUpdater.java:313)
      at 
org.apache.ignite.internal.placementdriver.LeaseUpdater$Updater.run(LeaseUpdater.java:286)
      at java.base/java.lang.Thread.run(Thread.java:834)
    [2023-10-19T08:56:53,691][WARN ][%test-node%lease-updater-46][LeaseUpdater] 
Lease updater is interrupted
{noformat}


> NPE in placement driver actor on deactivation
> ---------------------------------------------
>
>                 Key: IGNITE-20693
>                 URL: https://issues.apache.org/jira/browse/IGNITE-20693
>             Project: Ignite
>          Issue Type: Bug
>            Reporter: Vladislav Pyatkov
>            Assignee: Vladislav Pyatkov
>            Priority: Major
>              Labels: ignite-3
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The issue happens when the placement driver is still stuck in active behavior 
> during the deactivation process.
> {noformat}
> [2023-10-19T08:56:53,665][INFO ][Test worker][AssignmentsTracker] Assignment 
> cache initialized for placement driver 
> [groupAssignments={1_part_0=[Assignment [consistentId=test-node, 
> isPeer=true]]}]
> [2023-10-19T08:56:53,703][INFO ][Test worker][LeaseUpdaterTest] >>> Stopping 
> test: LeaseUpdaterTest#testActiveDeactivateMultiThread, displayName: 
> repetition 18 of 20, cost: 43ms.
> Exception in thread "%test-node%lease-updater-45" 
> java.lang.NullPointerException
>   at 
> org.apache.ignite.internal.placementdriver.LeaseUpdater$Updater.updateLeaseBatchInternal(LeaseUpdater.java:313)
>   at 
> org.apache.ignite.internal.placementdriver.LeaseUpdater$Updater.run(LeaseUpdater.java:286)
>   at java.base/java.lang.Thread.run(Thread.java:834)
> [2023-10-19T08:56:53,691][WARN ][%test-node%lease-updater-46][LeaseUpdater] 
> Lease updater is interrupted
> {noformat}



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

Reply via email to