eigengo / scalad

Scala Data access for NoSQL databases
47 stars 15 forks source link

revert to String serialisation of UUIDs #63

Closed fommil closed 11 years ago

fommil commented 11 years ago

MongoDB doesn't support binary data in the aggregation framework. Since we're marshalling UUIDs to binary data, this is a big hindrance. The extra memory footprint incurred by String storage is worth it to enable aggregations.

It might be worth investigating if MongoDB has a more appropriate data type for UUIDs, such as ObjectId.

Will break marshalled form of existing code, so we definitely need a deprecated interim workaround.

fommil commented 11 years ago
fommil commented 11 years ago

It appears this is fixed in Mongo 2.3.2 !!

fommil commented 11 years ago

track macports status https://trac.macports.org/ticket/38449