[
https://issues.apache.org/jira/browse/IGNITE-22667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ivan Bessonov updated IGNITE-22667:
-----------------------------------
Description:
We should write comparator for RocksDB in C++, contact [~ibessonov] for
references
Examples of native comparators for RocksDB can be found here:
[https://github.com/facebook/rocksdb/blob/2e09a54c4fb82e88bcaa3e7cfa8ccbbbbf3635d5/java/src/test/java/org/rocksdb/NativeComparatorWrapperTest.java]
[https://github.com/facebook/rocksdb/blob/06c8afeff5b9fd38a79bdd4ba1bbb9df572c8096/java/rocksjni/native_comparator_wrapper_test.cc]
Only applicable for sorted indexes, because they use complicated algorithm for
comparing binary tuples. Schema of these tuples is encoded in CF name, so
reading it is not an issue.
was:We should write comparator for RocksDB in C++, contact [~ibessonov] for
references
> Optimise RocksDB sorted indexes
> -------------------------------
>
> Key: IGNITE-22667
> URL: https://issues.apache.org/jira/browse/IGNITE-22667
> Project: Ignite
> Issue Type: Improvement
> Components: persistence
> Reporter: Philipp Shergalis
> Priority: Major
> Labels: ignite-3
>
> We should write comparator for RocksDB in C++, contact [~ibessonov] for
> references
> Examples of native comparators for RocksDB can be found here:
> [https://github.com/facebook/rocksdb/blob/2e09a54c4fb82e88bcaa3e7cfa8ccbbbbf3635d5/java/src/test/java/org/rocksdb/NativeComparatorWrapperTest.java]
> [https://github.com/facebook/rocksdb/blob/06c8afeff5b9fd38a79bdd4ba1bbb9df572c8096/java/rocksjni/native_comparator_wrapper_test.cc]
> Only applicable for sorted indexes, because they use complicated algorithm
> for comparing binary tuples. Schema of these tuples is encoded in CF name, so
> reading it is not an issue.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)