Add Bloom filters to the Cloud SQL PremiumList schema (#306)

* Add Bloom filters to the Cloud SQL PremiumList schema

They are slightly different from the existing Bloom filters stored in Datastore
in that they now use an ASCII String encoding rather than the more generic
CharSequence, and there is no maximum size (whereas we previously had to live
within the 1 MB max entity size for Datastore).
This commit is contained in:
Ben McIlwain
2019-10-09 17:06:42 -04:00
committed by GitHub
parent f2a2b2d2e2
commit ce480a5191
8 changed files with 218 additions and 4 deletions
@@ -33,6 +33,7 @@
<class>google.registry.model.eppcommon.Trid</class>
<!-- Customized type converters -->
<class>google.registry.persistence.BloomFilterConverter</class>
<class>google.registry.persistence.CreateAutoTimestampConverter</class>
<class>google.registry.persistence.UpdateAutoTimestampConverter</class>
<class>google.registry.persistence.ZonedDateTimeConverter</class>