Skip to content

Update database start/stop to handle multi-tier system replication#682

Merged
arbulu89 merged 1 commit into
mainfrom
database-multi-tier-start-stop
Mar 26, 2026
Merged

Update database start/stop to handle multi-tier system replication#682
arbulu89 merged 1 commit into
mainfrom
database-multi-tier-start-stop

Conversation

@arbulu89

@arbulu89 arbulu89 commented Mar 23, 2026

Copy link
Copy Markdown
Contributor

Description

Update database start/stop operations to handle multi-tier system replication setups.

3 tiers is the maximum number of tiers in a HANA system replication setup.

  • The start process must be done starting from tier 1, followed by tier 2 and finally tier 3. We can have more than one database in tier 2 and 3 (multi target setup).
  • The stop process must be done starting from tier 3, followed by tier 2 and finally tier 1. We can have more than one database in tier 2 and 3.
  • If system replication is not configured, we just simply start/stop the unique db (it would mean, system replication tier is null).

At the end, it is just an improvement of the already existing operation, the current behaviour still being totally possible.

PD: Whole operation rollback process is not in-place. Wanda doesn't support this (yet, at least). In any case, as the process is sequential, for example, if some tier during a start process fails, well, the user still wanted to start them, so having a partial started system is not harmful.

How was this tested?

Manual testing

Did you update the documentation?

I guess we might need to update docs here. @abravosuse what do you think?

@arbulu89 arbulu89 requested a review from abravosuse March 23, 2026 14:31
@arbulu89 arbulu89 added the enhancement New feature or request label Mar 23, 2026
@coveralls

coveralls commented Mar 23, 2026

Copy link
Copy Markdown
Collaborator

Coverage Status

coverage: 93.795%. remained the same
when pulling 7c8029b on database-multi-tier-start-stop
into c0ded39 on main.

@arbulu89 arbulu89 force-pushed the database-multi-tier-start-stop branch from c0ff76f to c5c5826 Compare March 23, 2026 14:59
@abravosuse

Copy link
Copy Markdown

I guess we might need to update docs here. @abravosuse what do you think?

@arbulu89 yes, we need to keep documentation about ops up to date.

@arbulu89 arbulu89 force-pushed the database-multi-tier-start-stop branch from c5c5826 to 7c8029b Compare March 25, 2026 14:04
@arbulu89 arbulu89 requested a review from nelsonkopliku March 26, 2026 07:38
@arbulu89 arbulu89 marked this pull request as ready for review March 26, 2026 07:38

@abravosuse abravosuse left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code apart, based on one-on-one discussions, it LGTM.

@arbulu89 arbulu89 merged commit 6ba9249 into main Mar 26, 2026
28 checks passed
@arbulu89 arbulu89 deleted the database-multi-tier-start-stop branch March 26, 2026 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Development

Successfully merging this pull request may close these issues.

4 participants