summaryrefslogtreecommitdiff
path: root/src/rabbit_guid.erl
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright for 2014bug25940Simon MacMullen2014-03-171-1/+1
|
* s/VMware/GoPivotal/gSimon MacMullen2013-07-011-2/+2
|
* cope with empty rabbit_serial filebug25575Matthias Radestock2013-05-291-0/+5
|
* stable to defaultSimon MacMullen2013-01-241-1/+1
|\
| * Update copyright 2013bug25343Emile Joubert2013-01-231-1/+1
| |
* | optimisation: inline rabbit_guid:blocks_to_binary/1Matthias Radestock2012-12-281-10/+9
|/
* Abstract base64url/1.bug25220Simon MacMullen2012-10-221-5/+1
|
* It's possible somehow we could be left with an empty mnesia directory ↵Simon MacMullen2012-03-211-1/+9
| | | | (spotted with "make cleandb" but maybe other things could do this). So instead check for the existence of the guid serial, which has not changed since at least 1.7.0.
* cosmetic: drop redundant /integer in binary matchbug24505Matthias Radestock2012-02-081-27/+27
| | | | plus re-indent comments
* Merged default.Francesco Mazzoli2012-02-071-19/+62
|\
| * Better comments regarding gen/0, explicit range for phash/2.Francesco Mazzoli2012-01-311-4/+12
| |
| * Better comment for gen/0.Francesco Mazzoli2012-01-311-3/+4
| |
| * Update comment for gen/0.Francesco Mazzoli2012-01-311-2/+3
| |
| * Change fash guid generation function to use phash + rotating blocks.Francesco Mazzoli2012-01-311-7/+17
| |
| * Change the guid related entries names in the process dict.Francesco Mazzoli2012-01-171-2/+2
| |
| * Change naming in rabbit_guid, explicit guid passing in string/0 and binary/0.Francesco Mazzoli2012-01-171-30/+29
| | | | | | | | | | | | | | | | Specifically: fast_guid() -> gen() guid() -> secure_gen() string_guid(Prefix) -> string(Guid, Prefix) binstring_guid(Prefix) -> binary(Guid, Prefix)
| * Split guid/0 in guid/0 and the faster fast_guid/0.Francesco Mazzoli2012-01-171-12/+36
| | | | | | | | | | | | | | | | | | | | | | | | | | The first function works like the old one (hashes the {serial, counter} each time. The second function (fast_guid/0) hashes the serial once, and the XORs it with the counter each time a new guid is needed. Thus, it is more predictable but should not produce less unique guids. If the fast function is used when generating ids for messages, it leads to a considerable speedup when testing with BroadcastMain (from 67k msg/s to 75k msg/s).
* | Update copyright 2012bug24606Emile Joubert2012-02-021-1/+1
|/
* base64url-encode for string guid generationbug24467Matthias Radestock2011-11-231-1/+8
| | | | | this works well for AMQP (with its restrictions on queue name characters) but also when used as part of filenames, urls, etc
* don't explain why we don't do something that doesn't workMatthias Radestock2011-11-151-4/+1
|
* More clarity.bug24562Simon MacMullen2011-11-151-2/+3
|
* Use {node(), make_ref()} rather than self().Simon MacMullen2011-11-151-7/+9
|
* move file functions from misc to rabbit_fileAlexandru Scvortov2011-09-211-2/+2
|
* Update .erl and .hrl license boilerplatesMatthew Sackman2011-01-191-26/+11
|
* use consistent return types for start/start_link functionsbug23120Matthias Radestock2010-08-131-1/+1
|
* Introduced and used ok_or_error2(A,B). Also verified everything seems happy ↵Matthew Sackman2010-07-071-2/+1
| | | | under R13B03
* include cleanupAlexandru Scvortov2010-07-061-2/+0
|
* cleanupAlexandru Scvortov2010-07-061-3/+4
|
* {'ok', A} -> rabbit_types:ok(A)Alexandru Scvortov2010-07-061-1/+1
|
* {error, A} -> rabbit_types:error(A)Alexandru Scvortov2010-07-061-1/+1
|
* moved export_types to inside ifdefsAlexandru Scvortov2010-07-051-2/+2
|
* partially moved types out of rabbit.hrlAlexandru Scvortov2010-07-011-0/+4
|
* merging bug 22647 into defaultMatthew Sackman2010-04-241-7/+5
|\
| * change guids to fixed-size binariesbug22647Matthias Radestock2010-04-241-7/+5
| | | | | | | | | | This change was cherry-picked from the bug21673 branch and brings 'default' closer to that branch.
* | remove legacy serial seedingbug22646Matthias Radestock2010-04-241-1/+1
|/ | | | thus making the guid generator fully independent of the persister
* update copyright notices to say 2010 where appropriatebug22312David R. MacIver2010-02-091-3/+3
|
* use base64 module instead of ssl_base64Matthias Radestock2009-10-261-7/+2
| | | | | | | | | | The former is part of stdlib and hencd available in all Erlang installations, whereas the latter is absent if ssl was disabled during compilation. The downside is that base64 was only introduced in R11B-4. However, all the major distributions ship stable branches with Erlang releases later than that, and for exotic distributions the user can always build Erlang manually.
* it's a serial, not a guidbug21427Matthias Radestock2009-08-201-3/+3
|
* don't ignore errorsMatthias Radestock2009-08-201-4/+6
|
* use new term file helpersMatthias Radestock2009-08-201-15/+5
|
* stuff as according to QA.Matthew Sackman2009-08-191-7/+19
|
* New branch for bug 21427Matthew Sackman2009-08-191-7/+15
|
* wait foreverbug20546Matthias Radestock2009-04-011-1/+2
|
* keep serial in separate process, to avoid persister bottleneckbug20348Matthias Radestock2009-02-061-0/+126
...and move all the guid functions into a separate module