> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/tposs/6.15/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/tposs/6.15/releases/6.9.8.md).

# Travelping Open Subscriber Server 6.9.8

Travelping Open Subscriber Server (TPOSS) in version `6.9.8` provides the bump of TPOSS to version `6.9.8`
which provides fixes and improvements around deletion of user balances and re-initialization of carriers
cache within TPOSS cluster.

## Features

### Ability to trigger deletion of CDR partitions once per day

TPOSS provision events towards database to delete outdated and create new partitions for CDR table
during start-up. By default these events are triggered each `7` and `5` minutes respectively. Since
TPOSS `6.9.8` new configuration option is supported:

```yaml
cdr:
  controller:
    database:
      clean_up_partitions_at: "HH:MM"
```

which provides ability to specify time to delete outdated CDR partitions once per-day in the given
time.

## Fixes

### Fix deletion of multiple balances

In the previous versions TPOSS does not do anything if a balance was deleted during session lifetime
but another active balance existed. This lead to the postponed switch to the new balance only after
charging reports arrived to TPOSS. In addition it leads to the wrong service sessions state if the second
(or any last) active balance was deleted. TPOSS `6.9.8` introduces `Gy-RAR` request towards SMC in
a case when a balance was deleted but other valid balances exist and `Gx-RAR` to compeltelly disable
`Online` if a balance was deleted and no other valid balances exist.

### Fix re-initialization of carriers' cache within cluster

If carriers were updated via TPOSS HTTP REST API - TPOSS should notify other TPOSS instances within
cluster so each TPOSS instance may re-validate in-memory carriers cache to have it in actual state.
Such notification was broken in previous version and fixed in TPOSS `6.9.8`.

## Migration guide

### 6.9.7 -> 6.9.8

TPOSS 6.9.8 has only one `optional` configuration change - `cdr.controller.database.clean_up_partitions_at`
which could be enabled to execute checking and deletion of outdated CDR partitions once per day.
