Mysql query error: (1047) WSREP has not yet prepared node for application use

[Bitrix\Main\DB\SqlQueryException] 
Mysql query error: (1047) WSREP has not yet prepared node for application use (400)
SELECT 
	`highloadblock_highload_block`.`ID` AS `ID`,
	`highloadblock_highload_block`.`NAME` AS `NAME`,
	`highloadblock_highload_block`.`TABLE_NAME` AS `TABLE_NAME`
FROM `b_hlblock_entity` `highloadblock_highload_block` 

WHERE `highloadblock_highload_block`.`ID` = 28
/home/bitrix/www/shared/bitrix/modules/main/lib/db/mysqliconnection.php:137
#0: Bitrix\Main\DB\MysqliConnection->queryInternal(string, array, NULL)
	/home/bitrix/www/shared/bitrix/modules/main/lib/db/connection.php:330
#1: Bitrix\Main\DB\Connection->query(string)
	/home/bitrix/www/shared/bitrix/modules/main/lib/orm/query/query.php:3137
#2: Bitrix\Main\ORM\Query\Query->query(string)
	/home/bitrix/www/shared/bitrix/modules/main/lib/orm/query/query.php:806
#3: Bitrix\Main\ORM\Query\Query->exec()
	/home/bitrix/www/shared/bitrix/modules/main/lib/orm/data/datamanager.php:407
#4: Bitrix\Main\ORM\Data\DataManager::getList(array)
	/home/bitrix/www/shared/bitrix/modules/main/lib/orm/data/datamanager.php:268
#5: Bitrix\Main\ORM\Data\DataManager::getByPrimary(string)
	/home/bitrix/www/shared/bitrix/modules/main/lib/orm/data/datamanager.php:283
#6: Bitrix\Main\ORM\Data\DataManager::getById(string)
	/home/bitrix/www/shared/bitrix/modules/stat_codes/classes/general/statCodes.php:92
#7: statCodes->getCodesByName(string)
	/home/bitrix/www/shared/bitrix/modules/stat_codes/classes/general/statCodes.php:153
#8: statCodes::initComponentAndCodes(string, boolean)
	/home/bitrix/www/shared/bitrix/templates/mgts/header.php:657
#9: include_once(string)
	/home/bitrix/www/shared/bitrix/modules/main/include/prolog_after.php:96
#10: require(string)
	/home/bitrix/www/shared/bitrix/modules/main/include/prolog.php:11
#11: require_once(string)
	/home/bitrix/www/shared/bitrix/header.php:1
#12: include_once(string)
	/home/bitrix/www/shared/home/index_inner.php:4
#13: include_once(string)
	/home/bitrix/www/shared/bitrix/modules/main/include/urlrewrite.php:159
#14: include_once(string)
	/home/bitrix/www/shared/bitrix/urlrewrite.php:2