nevzheng opened a new pull request, #13899:
URL: https://github.com/apache/gravitino/pull/13899

   ### What changes were proposed in this pull request?
   
   The MySQL and PostgreSQL containers for the core database lanes treat their 
data as disposable:
   
   - MySQL: data dir on `tmpfs` (2 GB), `--innodb-flush-log-at-trx-commit=0 
--sync-binlog=0 --skip-log-bin --innodb-doublewrite=0`.
   - PostgreSQL: data dir on `tmpfs` (2 GB), `-c fsync=off -c 
synchronous_commit=off -c full_page_writes=off`.
   
   Only the core database test tasks set the `gravitino.test.db.disposableData` 
system property that turns this on. Other modules' integration tests keep the 
default container settings. `docs/how-to-test.md` notes it.
   
   ### Why are the changes needed?
   
   After #13518, most of the remaining MySQL and PostgreSQL time is the tests' 
own commits, each of which waits for an fsync. The data is thrown away after 
every run, so the durability buys nothing.
   
   Related to: #13515
   
   ### Does this PR introduce _any_ user-facing change?
   
   No. The changes are test-only.
   
   ### How was this patch tested?
   
   Same machine and method as #13518, one round, 590 tests and 0 failures in 
each lane:
   
   | Lane | #13518 | This PR |
   |
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to