Transactions are used for dry runs, even though they have been disabled
See original GitHub issueIn the Resource
class I fount the following line in the import_data
method:
using_transactions = (use_transactions or dry_run) and supports_transactions
Now why does it use transactions for dry runs whenever transactions are supported, even though I have opted to disable transactions completely?
I have some pretty big imports (200k+ objects) that take a really long time with transactions. Is there a deeper reason why the line does not just read the following?:
using_transactions = use_transactions and supports_transactions
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:12 (10 by maintainers)
Top Results From Across the Web
Does Liquibase support dry run? - sql - Stack Overflow
I think your answer is "it does not support dry runs" but the problem is primarily with the database and not with liquibase....
Read more >[Tour de SOL] Dry Run #1 Debrief - Validators - Solana Forums
Snapshots (for faster validator catch-up) were disabled due to some last minute bugs identified; GPUs not required as the goal was to sustain...
Read more >pt-online-schema-change — Percona Toolkit Documentation
If --alter contain DROP PRIMARY KEY (case- and space-insensitive), a warning is printed and the tool exits unless --dry-run is specified. Altering the...
Read more >11.13 - PostgreSQL: Release Notes
SSL renegotiation has been disabled for some time, but the server would still cooperate with a client-initiated renegotiation request.
Read more >Ultra Packet Core CUPS Control Plane Administration Guide ...
The NSO configuration-handling caters to the following use cases: ... Dry-run file is named as <MOP File Name>-<Device Name>-dryrun.txt.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@bmihelac can you reopen this one?
It worked for me. The whole process was about 40 minutes before change, now 5 minutes. https://gist.github.com/clint74/bd74025e799bf7101a5471b08ecd1567