Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RocksDB Exception: Incomplete #4

Open
amajedi opened this issue Nov 30, 2018 · 0 comments
Open

RocksDB Exception: Incomplete #4

amajedi opened this issue Nov 30, 2018 · 0 comments

Comments

@amajedi
Copy link
Contributor

amajedi commented Nov 30, 2018

A running southpaw java process can occasionally fail with the following stack trace:

Exception in thread "main" java.lang.RuntimeException: org.rocksdb.RocksDBException: Incomplete
	at com.jwplayer.southpaw.state.RocksDBState.delete(RocksDBState.java:317)
	at com.jwplayer.southpaw.index.MultiIndex.remove(MultiIndex.java:252)
	at com.jwplayer.southpaw.Southpaw.scrubParentIndices(Southpaw.java:1069)
	at com.jwplayer.southpaw.Southpaw.createDenormalizedRecords(Southpaw.java:680)
	at com.jwplayer.southpaw.Southpaw.build(Southpaw.java:497)
	at com.jwplayer.southpaw.Southpaw.run(Southpaw.java:1047)
	at com.jwplayer.southpaw.Southpaw.main(Southpaw.java:994)
Caused by: org.rocksdb.RocksDBException: Incomplete
	at org.rocksdb.RocksDB.delete(Native Method)
	at org.rocksdb.RocksDB.delete(RocksDB.java:1186)
	at com.jwplayer.southpaw.state.RocksDBState.delete(RocksDBState.java:315)
	... 6 more

The problem occurs in the underlying RocksDB native code, which makes debugging this difficult. There might be more information in the RocksDB logs in /tmp/RocksDB/southpaw/LOG.

Additionally, the failure does not consistently occur on the same delete operation which points to either memory or concurrency (locking) issues, but this is just a guess.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant