v2025.1.71.255 - Restructuring the policy counter repository
caution
You will need to migrate for the platform to work correctly after the upgrade. Before launching the new version, do the following:
- Stop the required platform services:
./akd stop {proctrigger,procworkflow,proctask}
- Run
aktool
from a new build with the command:
./aktool migrate policystore --config /opt/MarketingPlatform/config/main.json
- Restart the platform services:
./akd restart
Help for the migrator:
Migrate policystore db to accounts dbs collections policy_contact, policy_profile
Usage:
aktool migrate policystore [flags]
aktool migrate policystore [command]
Available Commands:
ensure_policystore_indexes Ensures policystore migrate indexes created
Flags:
--account int account id
--batch_interval int batch interval in seconds (default 1)
--batch_size int batch size (default 10000)
--batch_workers int number of batch workers (default 8)
-h, --help help for policystore
--workers int number of workers for accounts (default 8)
Global Flags:
--clickhouse_database_name string usage database for clickhouse
--config string config path (default "/opt/akd/config/main.json")
-o, --output string file path to output in the result of the command (default "stdout")
--truncate whether to truncate the file specified by --output
Use "aktool migrate policystore [command] --help" for more information about a command.
Changes
- Optimization of the repository structure of sending policy counters has been performed.
- Metrics on API calls to the scenarios are now available in analytics.
- Special characters can now be used in entity names.
- Fixed some bugs in the functionality and interface of the Administrative Panel.
- Logging of some platform processes has been improved.
Fixes
- Fixed an error where push campaigns generated a large number of non-existent undeliveries.
- Statuses in SMS integration with Devino Telecom are now processed correctly.
- Fixed errors occurring when testing custom channel campaigns.
- Entity analytics with HTML tag in the name works correctly again.
- Fixed errors occurring when registering events in Viber integration with SMS Traffic.
- Improved stability of Web Push SDK methods.
- Fixed some interface bugs.
- Improved stability of
proctask
process.
References: PL-17756 PL-17753 PL-17446 PL-17727 PL-17731 PL-17728 PL-17715 PL-17720 PL-17586 PL-17718 PL-17711 PL-17706 PL-17704 PL-17648 PL-17698 PL-17677 PL-17670 PL-17656 PL-17642 PL-17626 PL-17641 PL-17249 PL-17272 PL-17631 PL-17619 PL-17507 PL-17211 PL-17111 PL-16993 PL-16354