-
Notifications
You must be signed in to change notification settings - Fork 72
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
db_bench: Recreate only dbs that are in actual use in a group of benchmarks #290
Labels
Comments
udi-speedb
added
enhancement
New feature or request
good first issue
Good for newcomers
up-for-grabs
labels
Dec 7, 2022
andy-byers
pushed a commit
to andy-byers/speedb
that referenced
this issue
Jan 19, 2023
Changed db_bench so that when using multiple databases (num_multi_db > 1) we only destroy databases that were used for the current group (databases specified in dbs_to_use).
andy-byers
pushed a commit
to andy-byers/speedb
that referenced
this issue
Jan 23, 2023
Changed db_bench so that when using multiple databases (num_multi_db > 1) we only destroy databases that were used for the current group (databases specified in dbs_to_use).
andy-byers
pushed a commit
to andy-byers/speedb
that referenced
this issue
Jan 24, 2023
Added logic in `OpenAllDbs()` to handle the case where the `-optimistic_transaction_db` option is used.
andy-byers
pushed a commit
to andy-byers/speedb
that referenced
this issue
Jan 27, 2023
Changed db_bench so that when using multiple databases (num_multi_db > 1) we only destroy databases that were used for the current group (databases specified in dbs_to_use). Added logic in `OpenAllDbs()` to handle the case where the `-optimistic_transaction_db` option is used.
@udi-speedb , have you verified this works as expected? normal QA cycle is useless here since the changes are only in db_bench.. |
@Yuval-Ariel yes I have |
@erez-speedb , plz test. there should be no difference. |
I prefer to tests this after this #285 is resolved. |
This area is not covered in the existing test because most cases caused hangs. |
I have assigned to @Yuval-Ariel to merge |
Yuval-Ariel
pushed a commit
that referenced
this issue
Feb 11, 2023
Changed db_bench so that when using multiple databases (num_multi_db > 1) we only destroy databases that were used for the current group (databases specified in dbs_to_use). Added logic in `OpenAllDbs()` to handle the case where the `-optimistic_transaction_db` option is used. Co-authored-by: andy-byers <andrew.byers@utdallas.edu>
github-project-automation
bot
moved this from 🏗️ Working on it
to 📖 Need your Opinion!
in Speedb Roadmap
Feb 11, 2023
ayulas
pushed a commit
that referenced
this issue
Feb 26, 2023
Changed db_bench so that when using multiple databases (num_multi_db > 1) we only destroy databases that were used for the current group (databases specified in dbs_to_use). Added logic in `OpenAllDbs()` to handle the case where the `-optimistic_transaction_db` option is used. Co-authored-by: andy-byers <andrew.byers@utdallas.edu>
Yuval-Ariel
pushed a commit
that referenced
this issue
May 1, 2023
Changed db_bench so that when using multiple databases (num_multi_db > 1) we only destroy databases that were used for the current group (databases specified in dbs_to_use). Added logic in `OpenAllDbs()` to handle the case where the `-optimistic_transaction_db` option is used. Co-authored-by: andy-byers <andrew.byers@utdallas.edu>
Yuval-Ariel
pushed a commit
that referenced
this issue
May 4, 2023
Changed db_bench so that when using multiple databases (num_multi_db > 1) we only destroy databases that were used for the current group (databases specified in dbs_to_use). Added logic in `OpenAllDbs()` to handle the case where the `-optimistic_transaction_db` option is used. Co-authored-by: andy-byers <andrew.byers@utdallas.edu>
udi-speedb
pushed a commit
that referenced
this issue
Nov 13, 2023
Changed db_bench so that when using multiple databases (num_multi_db > 1) we only destroy databases that were used for the current group (databases specified in dbs_to_use). Added logic in `OpenAllDbs()` to handle the case where the `-optimistic_transaction_db` option is used. Co-authored-by: andy-byers <andrew.byers@utdallas.edu>
udi-speedb
pushed a commit
that referenced
this issue
Nov 15, 2023
Changed db_bench so that when using multiple databases (num_multi_db > 1) we only destroy databases that were used for the current group (databases specified in dbs_to_use). Added logic in `OpenAllDbs()` to handle the case where the `-optimistic_transaction_db` option is used. Co-authored-by: andy-byers <andrew.byers@utdallas.edu>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
When a benchmark in a group requires a freshdb (e.g., fillXXX benchmarks), all of the DB-s are recreated.
However, a user may now use the -dbs_to_use flag to have the benchmark operate on a subset of the available db-s. It makes sense (and aligns with the way the -dbs_to_use flag behaves) to also only recreate those db-s rather that all of them.
The text was updated successfully, but these errors were encountered: