You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think the bootstrap should finish, but it throw the following exception:
org.rocksdb.RocksDBException: Error: value's length less than timestamp's
at org.apache.paimon.lookup.RocksDBValueState.get(RocksDBValueState.java:49)
at org.apache.paimon.crosspartition.GlobalIndexAssigner.processInput(GlobalIndexAssigner.java:238)
at org.apache.paimon.crosspartition.GlobalIndexAssigner.loopBootstrapRecords(GlobalIndexAssigner.java:365)
at org.apache.paimon.crosspartition.GlobalIndexAssigner.endBoostrap(GlobalIndexAssigner.java:223)
at org.apache.paimon.crosspartition.GlobalIndexAssignerTest.testBootstrapRecords(GlobalIndexAssignerTest.java:236)
I think the error is related to the following code part, paimon uses TtlDB implementation.
// Returns corruption if the length of the string is lesser than timestamp, or// timestamp refers to a time lesser than ttl-feature release time
Status DBWithTTLImpl::SanityCheckTimestamp(const Slice& str) {
if (str.size() < kTSLength) {
returnStatus::Corruption("Error: value's length less than timestamp's\n");
}
}
I do not found how we set timestamp when add record into rocksdb.
Anything else?
No response
Are you willing to submit a PR?
I'm willing to submit a PR!
The text was updated successfully, but these errors were encountered:
thanks @linhao1990 for reporting.
this is because [SST files written using SstFileWriter don't work with TtlDB](https://github.com/facebook/rocksdb/issues/7299).
Search before asking
Paimon version
0.7
Compute Engine
Flink 1.18
Minimal reproduce step
What doesn't meet your expectations?
I think the bootstrap should finish, but it throw the following exception:
I think the error is related to the following code part, paimon uses
TtlDB
implementation.In rocksdb I find the code throws the error:
I do not found how we set timestamp when add record into rocksdb.
Anything else?
No response
Are you willing to submit a PR?
The text was updated successfully, but these errors were encountered: