Skip to content

Conversation

@wso2-engineering-bot
Copy link
Contributor

This PR was automatically generated by Claude AI.

  • Issue: WSO2_MB_STORE usage recommendation regarding H2 limitation #10493
  • Type: Documentation / Suggestions
  • Summary: Updated documentation to warn against using H2 database for WSO2_MB_STORE_DB in production environments due to a known bug that causes frequent database crashes. Changed recommendation from using H2 to using an external database, with a reference to the H2 database issue.

Changes made:

  • Updated 5 database configuration files (Oracle, Oracle RAC, PostgreSQL, MSSQL, MySQL)
  • Changed note type from !!! note to !!! warning to emphasize the importance
  • Replaced recommendation to use H2 with warning about H2 limitations and recommendation to use external database
  • Added reference link to H2 database issue (4.0.0 doc) Updating the Security Guidelines documentation #4052

Files modified:

  • en/docs/install-and-setup/setup/setting-up-databases/changing-default-databases/changing-to-oracle-rac.md
  • en/docs/install-and-setup/setup/setting-up-databases/changing-default-databases/changing-to-oracle.md
  • en/docs/install-and-setup/setup/setting-up-databases/changing-default-databases/changing-to-postgresql.md
  • en/docs/install-and-setup/setup/setting-up-databases/changing-default-databases/changing-to-mssql.md
  • en/docs/install-and-setup/setup/setting-up-databases/changing-default-databases/changing-to-mysql.md

🤖 Generated with Claude Code

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <[email protected]>
@coderabbitai
Copy link

coderabbitai bot commented Dec 23, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@PasanT9
Copy link
Contributor

PasanT9 commented Dec 31, 2025

@copilot Please include the command to execute to populate the db. The scripts are in following path

<APIM-HOME>/dbscripts/mb-store

Each DB has different DB scripts. Thus based on the doc the script should be changed. Refer following

➜  mb-store tree .
.
├── h2-mb.sql
├── migration-3.0.0_to_3.1.0
│   └── oracle-mb.sql
├── migration-3.1.0_to_3.2.0
│   ├── h2-mb.sql
│   ├── mssql-mb.sql
│   ├── mysql-mb.sql
│   ├── oracle-mb.sql
│   ├── oracle-rac-mb.sql
│   └── postgresql-mb.sql
├── mssql-mb.sql
├── mysql-mb.sql
├── oracle-mb.sql
├── oracle-rac-mb.sql
└── postgresql-mb.sql

Copy link

Copilot AI commented Dec 31, 2025

@PasanT9 I've opened a new pull request, #10502, to work on those changes. Once the pull request is ready, I'll request review from you.

Copilot AI and others added 3 commits December 31, 2025 05:47
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.
1 out of 2 committers have signed the CLA.

✅ PasanT9
❌ Copilot
You have signed the CLA already but the status is still pending? Let us recheck it.

To create tables in the MB store database (`WSO2_MB_STORE_DB`), execute the relevant script as shown below:

```sh
$ mssql-cli -U mbstoreuser -P mbstoreuser -d mb_store_db -i <API-M_HOME>/dbscripts/mb-store/mssql-mb.sql;
Copy link
Contributor

Choose a reason for hiding this comment

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

@copilot make sure the command is consistent with previous commands.

Copy link

Copilot AI commented Dec 31, 2025

@PasanT9 I've opened a new pull request, #10503, to work on those changes. Once the pull request is ready, I'll request review from you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants