fdb-record-layer
fdb-record-layer copied to clipboard
A record-oriented store built on FoundationDB
See `GeophileQueryTest` for example, it requires files to be downloaded (Gradle script that downloads is `fdb-record-layer-spatial.gradle`). When the download fails, the test fails. This can be improved, for example, by...
Mainly so that we can use a different FDB java client implementation, see: https://github.com/apple/foundationdb/issues/5190. Going to take a stab at it.
At some point, `OnlineIndexer.Builder.setIndexStatePrecondition` should be marked as deprecated.
While reviewing https://github.com/FoundationDB/fdb-record-layer/pull/1309, I noticed that the Lucene index uses `join()` relatively frequently (particularly in `FDBDrectory`). A first note is that, with the exception of tests, Record Layer code should...
This is a follow up to #1142 which refactored the modeling of orderings to model interesting orderings as well as plan properties. One of the things that we didn't model...
Some new code (e.g. LinkedIdentityMap and LinkedIdentitySet) should be placed in a `util` package, together with some other existing utility classes.
``` RecordQuery query = RecordQuery.newBuilder() .setRecordType("MySimpleRecord") .setRequiredResults(Collections.singletonList(field("num_value_3_indexed"))) .build(); ``` The old planner plans this query as an unbounded index scan over some index (`MySimpleRecord$str_value_indexed`) that does not provide `num_value_3_indexed`. That...
During a PRB run for https://github.com/FoundationDB/fdb-record-layer/pull/926, this test failed with: ``` org.opentest4j.AssertionFailedError: expected: but was: at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55) at org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62) at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150) at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:145) at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:510) at com.apple.foundationdb.record.provider.foundationdb.OnlineIndexerSimpleTest.testConfigLoader(OnlineIndexerSimpleTest.java:876) ```
RecordQueryUnorderedDistinctPlan.executePlan() (Line 104) adds a record to the “seen” list even if it skipped. This means that the record will not make it into the result even if it is...
When running tests in CI, I saw the `testIndexFromIndexPersistentContinuePreviousByRecords` test fail with "runner has been closed" errors, though it only happens intermittently. The stack trace is: ``` java.util.concurrent.CompletionException: com.apple.foundationdb.record.provider.foundationdb.FDBDatabaseRunner$RunnerClosed: runner...