Ghost/ghost/data-generator
Kevin Ansfield 600445cf39
Added re-enable of innodb redo log once DataImporter has run (#19678)
no issue

- DataGenerator disables the redo log to make data imports faster but it's a persisted global config change and we were missing the re-enable query once the imports have finished
- when the redo log remains disabled an unexpected shutdown puts the database into a non-starting state with the error `Server was killed when Innodb Redo logging was disabled. Data files could be corrupt. You can try to restart the database with innodb_force_recovery=6`
2024-02-08 16:02:01 +00:00
..
lib Added re-enable of innodb redo log once DataImporter has run (#19678) 2024-02-08 16:02:01 +00:00
test
.eslintrc.js
index.js
package.json
README.md

Data Generator

Generate fake data for testing Ghost

Usage

Develop

This is a monorepo package.

Follow the instructions for the top-level repo.

  1. git clone this repo & cd into it as usual
  2. Run yarn to install top-level dependencies.

Test

  • yarn lint run just eslint
  • yarn test run lint and tests