fleet/tools/mysql-replica-testing
Victor Lyuboslavsky 8d253fe19a
Updating user now updates activity feed. (#18962)
#18766
Fixed a bug where updating user via `/api/v1/fleet/users/:id` endpoint
sometimes did not update the activity feed and returned the un-updated
user object.

You must use a DB configuration with a replica to reproduce the issue.

# Checklist for submitter

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Changes file added for user-visible changes in `changes/`,
`orbit/changes/` or `ee/fleetd-chrome/changes`.
See [Changes
files](https://fleetdm.com/docs/contributing/committing-changes#changes-files)
for more information.
- [ ] Added/updated tests
- [x] Manual QA for all new/changed functionality
2024-05-14 15:06:23 -05:00
..
docker-compose.yml Updating user now updates activity feed. (#18962) 2024-05-14 15:06:23 -05:00
README.md Add read replica testing helpers and fix non-sso login bug (#4908) 2022-04-04 16:52:05 -07:00

MySQL Replica Testing

This directory contains scripts to run/test a local Fleet instance with a MySQL Read Replica.

Run MySQL Main and Read Replica Docker Images

Run all commands from fleet's root repository directory.

docker-compose -f ./tools/mysql-replica-testing/docker-compose.yml up

Configure MySQL Main and Read Replica

# Configure the main and read replica for replication.
make db-replica-setup

# Reset the main database.
make db-replica-reset

Run Fleet with Read Replica

make db-replica-run