Content-Length: 266014 | pFad | http://github.com/postgrespro/postgres_cluster/commit/7c7095c2d754d34461f123963a2f0c1d16f64f37

19 Update autoprepare algorithm · postgrespro/postgres_cluster@7c7095c · GitHub
Skip to content

Commit 7c7095c

Browse files
committed
Update autoprepare algorithm
1 parent 4596c34 commit 7c7095c

File tree

3 files changed

+463
-418
lines changed

3 files changed

+463
-418
lines changed

contrib/postgres_fdw/tests/dtmbench.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ void* writer(void* arg)
138138
{
139139
work txn(conn);
140140
int srcAcc = random() % cfg.nAccounts;
141-
int dstAcc = (cfg.local ? srcAcc + 1 : random()) % cfg.nAccounts;
141+
int dstAcc = (cfg.local ? srcAcc /*+ 1*/ : random()) % cfg.nAccounts;
142142

143143
try {
144144
if (random() % 100 < cfg.updatePercent) {

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/7c7095c2d754d34461f123963a2f0c1d16f64f37

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy