Workaround for incorrect transaction support in db_store - force
authorZdeněk Salvet <salvet@ics.muni.cz>
Fri, 13 Jul 2007 08:53:45 +0000 (08:53 +0000)
committerZdeněk Salvet <salvet@ics.muni.cz>
Fri, 13 Jul 2007 08:53:45 +0000 (08:53 +0000)
strict locking if transactions are in use.

org.glite.lb.server/src/bkserverd.c

index 10cc346..188a4a2 100644 (file)
@@ -596,6 +596,7 @@ a.sin_addr.s_addr = INADDR_ANY;
                fprintf(stderr, "[%d]: transactions aren't supported!\n", getpid());
        }
        use_transactions = ctx->use_transactions;
+       if (use_transactions) strict_locking = 1;
        edg_wll_Close(ctx);
        edg_wll_FreeContext(ctx);