Skip to content

Internal Data Model

Mehdi Bendriss edited this page Jul 9, 2024 · 21 revisions

Backwards compatibility, during minor version upgrades, can be broken due to changes in the relations data.

This document is intended only for charm developers.

We aim to document the internal data models currently used in order to carefully assess any breaking changes in future releases of the OpenSearch charm.

We distinguish between the different types of relations.

1. Peer relation:

+ Application data:

  ```
 security_index_initialised: bool
 admin_user_initialized: bool
 bootstrap_contributors_count: int
 nodes_config: List[Node]
 deployment_descript
 ```
  • Unit data:
    started: bool
    tls_configured: bool
    bootstrap_contributor: bool
    certs_exp_checked_at: str      (date_format %Y-%m-%d %H:%M:%S)
    
Clone this wiki locally