# "Global assignment settings are locked for editing by another administrator and need to be published or discarded before the operation can take place" message on Global Assignment failure

## Product
Smart-1

## Version
R81 (EOS), R81.10 (EOS), R81.20

## Last Modified
2024-11-25

## Symptoms

- Global Assignment fails with message: "locked for editing by another administrator and need to be published or discarded before the operation can take place".
- You see similar logs in the file: _$MDS_FWDIR/log/cpm.elg_

```
    [DATE][TIME},497 ERROR com.checkpoint.management.dleserver.utils.LogSaverForFailedTasks.runCopyScript:7\
    \[taskScheduler-1]: could not save logs to Reassign 'Global' to 'domain_name'_Global Domain Assignment Failed: Global Assignment settings are locked for editing by another administrator and need to be published or discarded before the operation can take place..\
    tgz: java.lang.RuntimeException: Failed to run [$MDS_FWDIR/scripts/save_logs_when_task_fails.sh 10 Reassign__Global__to__domain_name__Global_Domain_Assignment_Failed__Global_Assignment_settings_are_locked_for_editing_by_another_administrator_and_need_to_be_published_or_discarded_before_the____ true NO_DOMAIN Global_Domain_Assignment] with exit code -559038737.
    ```
- Work around from [sk181476](https://support.checkpoint.com/results/sk/sk181476) does not resolve the issue.

## Cause
Postgres deadlock detection causes task to remain stuck and locks are not released.

## Solution
This problem was fixed. The fix is included in:
- [Check Point Quantum R82](https://support.checkpoint.com/results/sk/sk181127)
- [Jumbo Hotfix Accumulator for R81.20](https://sc1.checkpoint.com/documents/Jumbo_HFA/R81.20/Default.htm) starting from Take 70
- [Jumbo Hotfix Accumulator for R81.10](https://sc1.checkpoint.com/documents/Jumbo_HFA/R81.10/Default.htm) starting from Take 152
- [Jumbo Hotfix Accumulator for R81](https://sc1.checkpoint.com/documents/Jumbo_HFA/R81/Default.htm) starting from Take 99

If you choose not to upgrade, Check Point can supply a **Hotfix**. [Contact Check Point Support](https://www.checkpoint.com/support-services/contact-support/) to get a Hotfix for this issue.

A Support Engineer will make sure the Hotfix is compatible with your environment before providing the Hotfix.

For faster resolution and verification, please collect [CPinfo files](http://supportcontent.checkpoint.com/solutions?id=sk92739) from the Security Management Server and Security Gateways involved in the case.

**Hotfix installation instructions:**
Refer to [sk168597 - How to install a Hotfix](https://supportcenter.checkpoint.com/supportcenter/portal?eventSubmit_doGoviewsolutiondetails=&solutionid=sk168597).

#### NOTE
This solution has been verified for the specific scenario, described by the combination of Product, Version and Symptoms. It may not work in other scenarios.

## Article Properties
- Access Level: General
- Status: Approved by TAC
- Date Created: 2023-12-18
- Last Modified: 2024-11-25
