# Handle Master aggregator failure in a cluster without Child aggregator

**URL:** <https://www.singlestore.com/forum/t/handle-master-aggregator-failure-in-a-cluster-without-child-aggregator/6734>\
**Category:** Uncategorized\
**Tags:** ops\
**Created:** [April 30, 2023, 5:45pm UTC](https://www.singlestore.com/forum/t/handle-master-aggregator-failure-in-a-cluster-without-child-aggregator/6734 "2023-04-30T17:45:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wissem](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/w/65b543/32.png) [@wissem](https://www.singlestore.com/forum/u/wissem)\
**Post date:** [April 30, 2023, 5:45pm UTC](https://www.singlestore.com/forum/t/handle-master-aggregator-failure-in-a-cluster-without-child-aggregator/6734/1 "2023-04-30T17:45:43Z")

</div>

Let’s say I a have a cluster with 3 node, 1MA, 2 Leaves and accidentally the MA goes offline (can’t recover). what should we do in this case

- does creating a new cluster and adding the leaves the correct step?
- does this affect the data stored on leaves

thanks.

---

<div class="post-metadata">

**Author:** ![mmanthena](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/m/cc9497/32.png) [@mmanthena](https://www.singlestore.com/forum/u/mmanthena)\
**Post date:** [May 3, 2023, 3:44pm UTC](https://www.singlestore.com/forum/t/handle-master-aggregator-failure-in-a-cluster-without-child-aggregator/6734/2 "2023-05-03T15:44:29Z")

</div>

Hi, If you happen to encounter a situation where your MA goes offline and you are unable to recover it, the recommended step is to promote one of the leaf nodes to be the new MA.

To do this, you can refer to the documentation provided in this link: [PROMOTE AGGREGATOR … TO MASTER · SingleStore Documentation](https://docs.singlestore.com/db/v8.0/en/reference/sql-reference/cluster-management-commands/promote-aggregator---to-master.html). It’s essential to have an MA to carry out various operations, such as cluster balance, among others. However, if an MA is offline, it will not affect any data stored on the leaves.

---

<div class="post-metadata">

**Author:** ![wissem](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/w/65b543/32.png) [@wissem](https://www.singlestore.com/forum/u/wissem)\
**Post date:** [May 5, 2023, 6:22pm UTC](https://www.singlestore.com/forum/t/handle-master-aggregator-failure-in-a-cluster-without-child-aggregator/6734/3 "2023-05-05T18:22:40Z")

</div>

The documentation states that the node should be already be a child aggregator to be able to promote it to a master aggregator, and I can’t find anything related to setting a leaf to a child aggregator in documentation

---

<div class="post-metadata">

**Author:** ![mmanthena](https://www.singlestore.com/forum/letter_avatar_proxy/v4/letter/m/cc9497/32.png) [@mmanthena](https://www.singlestore.com/forum/u/mmanthena)\
**Post date:** [May 5, 2023, 6:27pm UTC](https://www.singlestore.com/forum/t/handle-master-aggregator-failure-in-a-cluster-without-child-aggregator/6734/4 "2023-05-05T18:27:04Z")

</div>

I apologize for my typo. I meant to say “to promote one of the child aggregator to be the new MA”. Thank You.

---

<div class="post-metadata">

**Author:** ![michael.arthur](https://www.singlestore.com/forum/user_avatar/www.singlestore.com/michael.arthur/32/1452_2.png) [@michael.arthur](https://www.singlestore.com/forum/u/michael.arthur)\
**Post date:** [August 7, 2023, 4:44am UTC](https://www.singlestore.com/forum/t/handle-master-aggregator-failure-in-a-cluster-without-child-aggregator/6734/5 "2023-08-07T04:44:52Z")

</div>

Only to chime in Aggregator Set As Master if the master is truly never coming back vs. promote to master if the issue with the master might be transient.

> **[AGGREGATOR SET AS MASTER · SingleStore Documentation](https://docs.singlestore.com/db/v8.0/reference/sql-reference/cluster-management-commands/aggregator-set-as-master/)**
>
> SingleStore is a modern relational database for cloud and on-premises that delivers immediate insights for modern applications and analytical systems. Book a demo or trial today!

> **[PROMOTE AGGREGATOR … TO MASTER · SingleStore Documentation](https://docs.singlestore.com/db/v8.0/reference/sql-reference/cluster-management-commands/promote-aggregator-to-master/)**
>
> SingleStore is a modern relational database for cloud and on-premises that delivers immediate insights for modern applications and analytical systems. Book a demo or trial today!
