https://github.com/thinkaurelius/titan
Revision e00073c07557d346acfe697165a7764f98349abb authored by Dan LaRocque on 19 December 2014, 20:36:09 UTC, committed by Dan LaRocque on 19 December 2014, 23:03:15 UTC
de177b9e59b02cd865fb9e49aa4d1a120353ced8 modified
StandardTitanGraph.typeCacheRetrieval's retrieveSchemaByName and
retrieveSchemaRelations methods to each instantiate a new
StandardTitanTx using a key-consistent backend config (i.e. Cassandra
QUORUM) inside each retrieve method to perform schema reads.  Those
methods also disabled cache on a transaction just before the schema
reads.  However, they disabled cache on the wrong tx -- when I
introduced a a new key-consistent tx to these methods for schema
reads, I failed to move the disableCache invocation from the old tx to
the new key-consistent one.

Now cache is disabled on the actual StandardTitanTx used for the
schema schema vertex/relation read

For #881
1 parent bc88a45
History
Tip revision: e00073c07557d346acfe697165a7764f98349abb authored by Dan LaRocque on 19 December 2014, 20:36:09 UTC
Disable cache on correct tx for schema reads
Tip revision: e00073c

README.textile

back to top