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
Raw File
.gitignore
*.log
target/
.idea/
*.iml
*.DS_Store
/bin/
/conf/
/db/
/ext/
/lib/
/log/
# When executing tests in alphabetical order, Maven generates temporary
# files with names like this:
#
#  .surefire-0320969CE4BEF3CC28F07EE3E21C2DCF89CB569C
#
# These files appear alongside pom.xml files.  The files are just lists
# of test names and don't contain any important information.
/titan-*/.surefire-*
# Eclipse junk; leading slash makes patterns non-recursive
# Note that * also can't match slashes
/.settings/
/.project
/.classpath
/titan-*/.classpath
/titan-*/.project
/titan-*/.settings/
/titan-*/titan-*/.classpath
/titan-*/titan-*/.project
/titan-*/titan-*/.settings/
# End of Eclipse junk
# HBase testing stuff
titan-hbase/logs
titan-hbase/src/test/titan-hbase-test-data/*
titan-hbase/src/test/titan-zookeeper-test/*
# Backup files created by `mvn versions:update-child-modules`
# http://mojo.codehaus.org/versions-maven-plugin/update-child-modules-mojo.html
titan-*/pom.xml.versionsBackup
# JUnitBenchmarks output
/titan-*/jub.*.xml
# .deb/.rpm packaging folders
/debian/
/redhat/
/pkgcommon/
# Emacs file backups
*~
back to top