Skip to content

Commit a7570ab

Browse files
committed
merge main
2 parents db1f740 + aa9ed88 commit a7570ab

File tree

94 files changed

+7404
-2078
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+7404
-2078
lines changed

build.gradle

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -100,19 +100,22 @@ allprojects {
100100

101101
// Configure JUnit tests
102102
tasks.withType(Test) {
103-
reports.junitXml.destination = project.file("${->project.buildDir}/test-results")
103+
reports.junitXml.outputLocation = project.file("${->project.buildDir}/test-results")
104104
}
105105

106+
def projectName = it.name
107+
def projectVersion = it.version
108+
106109
// Configure JAR generation
107110
tasks.jar.configure {
108111
description = "Produces a Jar with the main classes in .out/."
109112
manifest {
110113
attributes "Built-JDK": System.getProperty("java.version"),
111-
"Specification-Title": project.name,
112-
"Specification-Version": "${-> project.version}",
114+
"Specification-Title": projectName,
115+
"Specification-Version": "${-> projectVersion}",
113116
"Specification-Vendor": "Apple Inc.",
114-
"Implementation-Title": project.name,
115-
"Implementation-Version": "${-> project.version}",
117+
"Implementation-Title": projectName,
118+
"Implementation-Version": "${-> projectVersion}",
116119
"Implementation-Vendor": "Apple Inc."
117120
}
118121
doFirst {
@@ -182,8 +185,10 @@ allprojects {
182185
subprojects {
183186
apply from: rootProject.file('gradle/testing.gradle')
184187

185-
sourceCompatibility = JavaVersion.VERSION_11
186-
targetCompatibility = JavaVersion.VERSION_11
188+
java {
189+
sourceCompatibility = JavaVersion.VERSION_11
190+
targetCompatibility = JavaVersion.VERSION_11
191+
}
187192

188193
def publishBuild = Boolean.parseBoolean(findProperty('publishBuild') ?: 'false')
189194
def autoServiceVersion = publishBuild ? libs.versions.autoService.asProvider().get() : libs.versions.autoService.development.get()

docs/sphinx/source/ReleaseNotes.md

Lines changed: 92 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,98 @@ This document contains a log of changes to the FoundationDB Record Layer. It aim
55

66
As the [versioning guide](Versioning.md) details, it cannot always be determined solely by looking at the version numbers whether one Record Layer version contains all changes included in another. In particular, bug fixes and backwards-compatible changes might be back-ported to or introduced as patches against older versions. To track when a patch version has been included in the main release train, some releases will say as a note that they contain all changes from a specific patch.
77

8+
## 4.3
9+
10+
### 4.3.3.0
11+
12+
<h4> New Features </h4>
13+
14+
* Create throttled and retrying record iterator - [PR #3350](https://github.com/FoundationDB/fdb-record-layer/pull/3350)
15+
<h4> Performance Improvements </h4>
16+
17+
* Reenable memoization of correlated-to sets - [PR #3371](https://github.com/FoundationDB/fdb-record-layer/pull/3371)
18+
19+
20+
**[Full Changelog (4.3.2.0...4.3.3.0)](https://github.com/FoundationDB/fdb-record-layer/compare/4.3.2.0...4.3.3.0)**
21+
22+
#### Mixed Mode Test Results
23+
24+
Mixed mode testing run against the following previous versions:
25+
26+
`4.1.9.0`, ✅`4.1.10.0`, ✅`4.2.2.0`, ✅`4.2.2.1`, ❌`4.2.3.0`, ❌`4.2.4.0`, ✅`4.2.5.0`, ✅`4.2.6.0`, ✅`4.2.8.0`, ✅`4.3.2.0`
27+
28+
[See full test run](https://github.com/FoundationDB/fdb-record-layer/actions/runs/15296431095)
29+
30+
31+
32+
### 4.3.2.0
33+
34+
<h4> Bug Fixes </h4>
35+
36+
* Don't memoize correlation sets in planner objects - [PR #3365](https://github.com/FoundationDB/fdb-record-layer/pull/3365)
37+
38+
<details>
39+
<summary>
40+
41+
<h4> Build/Test/Documentation/Style Improvements (click to expand) </h4>
42+
43+
</summary>
44+
45+
* Fix deprecated Gradle syntax and configuration features - [PR #3358](https://github.com/FoundationDB/fdb-record-layer/pull/3358)
46+
47+
</details>
48+
49+
50+
**[Full Changelog (4.3.1.0...4.3.2.0)](https://github.com/FoundationDB/fdb-record-layer/compare/4.3.1.0...4.3.2.0)**
51+
52+
#### Mixed Mode Test Results
53+
54+
Mixed mode testing run against the following previous versions:
55+
56+
`4.1.8.0`, ✅`4.1.9.0`, ✅`4.1.10.0`, ✅`4.2.2.0`, ✅`4.2.2.1`, ❌`4.2.3.0`, ❌`4.2.4.0`, ✅`4.2.5.0`, ✅`4.2.6.0`, ✅`4.2.8.0`
57+
58+
[See full test run](https://github.com/FoundationDB/fdb-record-layer/actions/runs/15267203964)
59+
60+
61+
62+
### 4.3.1.0
63+
64+
<h4> New Features </h4>
65+
66+
* New planner rule added to push predicates down in the query representation - [PR #3324](https://github.com/FoundationDB/fdb-record-layer/pull/3324)
67+
* Create FutureManagerRunner and convert FDBDatabaseRunnerImpl to use it. - [PR #3347](https://github.com/FoundationDB/fdb-record-layer/pull/3347)
68+
* Implement Compilable SQL functions - [PR #3307](https://github.com/FoundationDB/fdb-record-layer/pull/3307)
69+
* Add RecordCountKey State - [PR #3334](https://github.com/FoundationDB/fdb-record-layer/pull/3334)
70+
* multi phase planning - [PR #3328](https://github.com/FoundationDB/fdb-record-layer/pull/3328)
71+
<h4> Bug Fixes </h4>
72+
73+
* add minimize to RecordQueryPlan - [PR #3356](https://github.com/FoundationDB/fdb-record-layer/pull/3356)
74+
75+
<details>
76+
<summary>
77+
78+
<h4> Build/Test/Documentation/Style Improvements (click to expand) </h4>
79+
80+
</summary>
81+
82+
* ParameterizedTest utilities - [PR #3336](https://github.com/FoundationDB/fdb-record-layer/pull/3336)
83+
* Remove 4.2.7.0 release notes as build was never published - [PR #3345](https://github.com/FoundationDB/fdb-record-layer/pull/3345)
84+
85+
</details>
86+
87+
88+
**[Full Changelog (4.2.8.0...4.3.1.0)](https://github.com/FoundationDB/fdb-record-layer/compare/4.2.8.0...4.3.1.0)**
89+
90+
#### Mixed Mode Test Results
91+
92+
Mixed mode testing run against the following previous versions:
93+
94+
`4.1.8.0`, ✅`4.1.9.0`, ✅`4.1.10.0`, ✅`4.2.2.0`, ✅`4.2.2.1`, ❌`4.2.3.0`, ❌`4.2.4.0`, ✅`4.2.5.0`, ✅`4.2.6.0`, ✅`4.2.8.0`
95+
96+
[See full test run](https://github.com/FoundationDB/fdb-record-layer/actions/runs/15223203009)
97+
98+
99+
8100
## 4.2
9101

10102
### 4.2.8.0

examples/examples.gradle

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,7 @@ dependencies {
3030
runtimeOnly(libs.log4j.core) // library
3131
}
3232

33-
mainClassName = 'com.apple.foundationdb.record.sample.Main'
34-
applicationDefaultJvmArgs = ["-Dlog4j.configurationFile=${projectDir}/src/main/resources/log4j2.properties"]
33+
application {
34+
mainClass = 'com.apple.foundationdb.record.sample.Main'
35+
applicationDefaultJvmArgs = ["-Dlog4j.configurationFile=${projectDir}/src/main/resources/log4j2.properties"]
36+
}

fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/logging/LogMessageKeys.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,7 @@ public enum LogMessageKeys {
312312
TOTAL_RECORDS_SCANNED,
313313
TOTAL_RECORDS_SCANNED_DURING_FAILURES,
314314
SCRUB_TYPE,
315+
RETRY_COUNT,
315316

316317
// time limits milliseconds
317318
TIME_LIMIT_MILLIS("time_limit_milliseconds"),

fdb-record-layer-core/src/main/java/com/apple/foundationdb/record/provider/foundationdb/FDBDatabase.java

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,13 @@ public Executor getExecutor() {
740740
return factory.getExecutor();
741741
}
742742

743-
protected Executor newContextExecutor(@Nullable Map<String, String> mdcContext) {
743+
/**
744+
* Create a new executor for the database. This is used internally when creating a transaction or a new runner.
745+
* @param mdcContext if present, the MDC context to be made available within the executors threads
746+
* @return the new executor
747+
*/
748+
@API(API.Status.INTERNAL)
749+
public Executor newContextExecutor(@Nullable Map<String, String> mdcContext) {
744750
return factory.newContextExecutor(mdcContext);
745751
}
746752

0 commit comments

Comments
 (0)