https://github.com/thinkaurelius/titan
Revision a949c53623097f2680fa6a69d866d35a91430f11 authored by Dan LaRocque on 29 April 2015, 06:49:36 UTC, committed by Dan LaRocque on 29 April 2015, 18:23:43 UTC
This assertion seems to fail whenever I have an existing TTL and want to change the TTL value. For example, this fails on titan09, which doesn't yet have any of the #981-related TTL tweaks immediately preceding this one in the git history. Remember to `export JAVA_OPTIONS='-ea'` before running gremlin.sh to enable assertions. g = TitanFactory.open('conf/titan-berkeleyje.properties') m = g.openManagement() m.setTTL(m.makeEdgeLabel('el').make(), 1, java.util.concurrent.TimeUnit.SECONDS) m.commit() m = g.openManagement() // Assertion fails on this setTTL invocation m.setTTL(m.getEdgeLabel('el'), 2, java.util.concurrent.TimeUnit.SECONDS) I think we never noticed this in practice because nobody runs with assertions enabled. I only stumbled across this by accident when working on new TTL tests in TitanGraphTest. I'm not sure if this commit is actually safe. Needs review. For #981
1 parent 4fcb6cb
Tip revision: a949c53623097f2680fa6a69d866d35a91430f11 authored by Dan LaRocque on 29 April 2015, 06:49:36 UTC
Weaken assertion in AbstractVertex.remove
Weaken assertion in AbstractVertex.remove
Tip revision: a949c53
File | Mode | Size |
---|---|---|
docs | ||
titan-all | ||
titan-berkeleyje | ||
titan-cassandra | ||
titan-core | ||
titan-dist | ||
titan-doc | ||
titan-es | ||
titan-hadoop-parent | ||
titan-hbase-parent | ||
titan-lucene | ||
titan-rexster | ||
titan-solr | ||
titan-test | ||
.gitignore | -rw-r--r-- | 1.1 KB |
CHANGELOG.asc | -rw-r--r-- | 25.0 KB |
LICENSE.txt | -rw-r--r-- | 11.1 KB |
NOTICE.txt | -rw-r--r-- | 5.8 KB |
README.textile | -rw-r--r-- | 2.0 KB |
RELEASING.md | -rw-r--r-- | 3.5 KB |
TESTING.md | -rw-r--r-- | 3.7 KB |
UPGRADE.asc | -rw-r--r-- | 16.6 KB |
jre6.xslt | -rw-r--r-- | 1.5 KB |
pom.xml | -rw-r--r-- | 69.5 KB |
Computing file changes ...