[redland-dev] duplicate bnode ids

Rainer Volz mail at vrtprj.com
Fri Sep 17 14:01:08 BST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>>>> "Dave" == Dave Beckett <dave.beckett at bristol.ac.uk> writes:

    Dave> A possible answer to getting dups.  The way that redland makes
    Dave> bnodes is to take the startup time of the application and add an
    Dave> incrementing ID suffix.  So... I think the problem here is multiple
    Dave> invocations of rdfproc.  The fix is to add 'sleep 1' between calls.

Thanks. That worked. The RDQL query now retrieves correct results.

    Dave> To fix this particular problem I might add gettimeofday() in secs
    Dave> plus some digits from microseconds, just makes the IDs a little
    Dave> longer :)

Long ids are ok, much better than waiting :-)

Rainer


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>

iD8DBQFBSt/9enjtlV2FwvQRArMlAKC7uKddyuDG5JBoRRrXLWx4COec8gCfSyn6
qAqp/wY7elgy/7lR1YpCpRs=
=Cbf8
-----END PGP SIGNATURE-----




More information about the redland-dev mailing list