Change record status: 
Project: 
Introduced in branch: 
11.2.x
Introduced in version: 
11.2.0
Description: 

The Drupal\Core\KeyValueStore\DatabaseStorage::doSetIfNotExists() method visibility has been changed from public to protected to better reflect its internal implementation nature.

Custom and contrib modules may need following changes is they override the method

If you were using doSetIfNotExists() directly, use the public setIfNotExists() method instead:

Before:

$storage->doSetIfNotExists('key', 'value');

After:

$storage->setIfNotExists('key', 'value');
Impacts: 
Module developers