Skip to content

Commit 2b560c2

Browse files
committed
Remove assert from DTMD
1 parent 7db1e23 commit 2b560c2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

contrib/pg_xtm/dtmd/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ static char *onsnapshot(void *stream, void *clientdata, cmd_t *cmd) {
454454

455455
// FIXME: Remote this assert if you do not have a barrier upon getting
456456
// snapshot in backends. The assert should indicate that situation :)
457-
assert(CLIENT_SNAPSENT(clientdata) == t->snapshots_count);
457+
// assert(CLIENT_SNAPSENT(clientdata) == t->snapshots_count);
458458

459459
return destructive_concat(strdup(head), snapser);
460460
}

contrib/pg_xtm/tests/transfers.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ const (
1212
INIT_AMOUNT = 10000
1313
N_ITERATIONS = 10000
1414
N_ACCOUNTS = TRANSFER_CONNECTIONS//100000
15-
ISOLATION_LEVEL = "repeatable read"
16-
//ISOLATION_LEVEL = "read committed"
15+
//ISOLATION_LEVEL = "repeatable read"
16+
ISOLATION_LEVEL = "read committed"
1717
)
1818

1919

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy