Skip to content

Commit af05a80

Browse files
authored
Merge pull request #1526 from gchq/1522-release-0.20
Issue 1522 - Release 0.20
2 parents 2a3eebf + 3157b25 commit af05a80

File tree

48 files changed

+112
-46
lines changed

Some content is hidden

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

48 files changed

+112
-46
lines changed

CHANGELOG.md

+65
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,71 @@ Releases
44
This page documents the releases of Sleeper. Performance figures for each release
55
are available [here](docs/13-system-tests.md#performance-benchmarks)
66

7+
## Version 0.20.0
8+
9+
*Note: this release contains breaking changes. It is not possible to upgrade from a previous version of Sleeper
10+
to version 0.20.0*
11+
12+
This contains the following improvements:
13+
14+
Tables:
15+
16+
- Tables are now internally referenced by a unique ID assigned upon creation. This is in preparation for
17+
adding the ability to rename tables in the future.
18+
- Improved support for lots of tables in compaction and ingest status stores by updating the hash key of
19+
the DynamoDB tables.
20+
- Table related infrastructure is now shared between all tables. The following resources are now only deployed once:
21+
- Table data bucket.
22+
- Table metrics lambda.
23+
- State store.
24+
- Table initialisation is no longer performed by CDK.
25+
- A new client class `AddTable` is now responsible for initialising tables.
26+
- Added configurable timeout property for `TablePropertiesProvider`.
27+
28+
State store:
29+
30+
- The default state store has been updated to the `S3StateStore`.
31+
- The `minRowKey`, `maxRowKey`, and `rowKeyTypes` fields have been removed from the `FileInfo` class.
32+
33+
Ingest:
34+
35+
- Added instance property to allow setting the S3 upload block size.
36+
37+
Bulk import:
38+
39+
- Added support for overriding spark configuration and platform specification in EMR serverless jobs.
40+
- Added support for setting the initial capacity of the EMR serverless application.
41+
- Added support for enabling EMR Studio by using the optional stack `EmrStudioStack`.
42+
43+
Clients:
44+
45+
- The admin client now respects the `EDITOR` environment variable when updating properties.
46+
- Adding an optional stack in the admin client now uploads docker images if the new stack requires one.
47+
48+
Query:
49+
50+
- Validation failures for queries are now recorded in the `DynamoDBQueryTracker`.
51+
- Added client to view status of query tracker in `scripts/utility/queryTrackerReport.sh`.
52+
- Removed inheritance relationship between `Query` and `LeafPartitionQuery`.
53+
54+
Tests:
55+
56+
- Added system tests for using the `S3StateStore`.
57+
- System tests now purge relevant SQS queues if a test fails.
58+
- Improved performance of `ingest-runner` module tests.
59+
- Added system tests with many tables in one instance.
60+
61+
Bugfixes:
62+
63+
- Fixed an issue where the python API would not generate unique IDs for each query.
64+
- Fixed an issue where the instance ID length was not being validated correctly.
65+
- Fixed an issue where trying to bulk import using EMR serverless to a table using `S3StateStore` would
66+
throw a `NullPointerException`.
67+
- Fixed an issue where sending an ingest job with a null file would not report the job as invalid.
68+
- Fixed an issue where the role assumed by tasks in the system test data generation cluster exceeded the maximum size.
69+
- Fixed an issue where the CDK deployment would fail if an ingest source bucket was not set.
70+
- Fixed a conflict between temporary directory paths used by the CLI.
71+
772
## Version 0.19.0
873

974
This contains the following improvements:

docs/13-system-tests.md

+1
Original file line numberDiff line numberDiff line change
@@ -212,3 +212,4 @@ otherwise not have been noticed.
212212
| 0.17.0 | 09/06/2023 | 308000 | 163000 |
213213
| 0.18.0 | 09/08/2023 | 326000 | 147000 |
214214
| 0.19.0 | 19/09/2023 | 326700 | 143500 |
215+
| 0.20.0 | 20/11/2023 | 318902 | 137402 |

java/athena/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<artifactId>aws</artifactId>
2121
<groupId>sleeper</groupId>
22-
<version>0.20.0-SNAPSHOT</version>
22+
<version>0.20.0</version>
2323
</parent>
2424

2525
<modelVersion>4.0.0</modelVersion>

java/build/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<artifactId>aws</artifactId>
2121
<groupId>sleeper</groupId>
22-
<version>0.20.0-SNAPSHOT</version>
22+
<version>0.20.0</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525

java/bulk-import/bulk-import-common/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<artifactId>bulk-import</artifactId>
2121
<groupId>sleeper</groupId>
22-
<version>0.20.0-SNAPSHOT</version>
22+
<version>0.20.0</version>
2323
</parent>
2424

2525
<modelVersion>4.0.0</modelVersion>

java/bulk-import/bulk-import-runner/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>sleeper</groupId>
2121
<artifactId>bulk-import</artifactId>
22-
<version>0.20.0-SNAPSHOT</version>
22+
<version>0.20.0</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525

java/bulk-import/bulk-import-starter/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<groupId>sleeper</groupId>
2121
<artifactId>bulk-import</artifactId>
22-
<version>0.20.0-SNAPSHOT</version>
22+
<version>0.20.0</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525

java/bulk-import/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<artifactId>aws</artifactId>
2121
<groupId>sleeper</groupId>
22-
<version>0.20.0-SNAPSHOT</version>
22+
<version>0.20.0</version>
2323
</parent>
2424

2525
<packaging>pom</packaging>

java/cdk-custom-resources/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<groupId>sleeper</groupId>
2323
<artifactId>aws</artifactId>
24-
<version>0.20.0-SNAPSHOT</version>
24+
<version>0.20.0</version>
2525
</parent>
2626

2727
<artifactId>cdk-custom-resources</artifactId>

java/cdk-environment/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<artifactId>aws</artifactId>
2121
<groupId>sleeper</groupId>
22-
<version>0.20.0-SNAPSHOT</version>
22+
<version>0.20.0</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525

java/cdk/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<artifactId>aws</artifactId>
2121
<groupId>sleeper</groupId>
22-
<version>0.20.0-SNAPSHOT</version>
22+
<version>0.20.0</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525

java/clients/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<artifactId>aws</artifactId>
2121
<groupId>sleeper</groupId>
22-
<version>0.20.0-SNAPSHOT</version>
22+
<version>0.20.0</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525

java/common-job/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<artifactId>aws</artifactId>
2121
<groupId>sleeper</groupId>
22-
<version>0.20.0-SNAPSHOT</version>
22+
<version>0.20.0</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525

java/compaction/compaction-core/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<artifactId>compaction</artifactId>
2121
<groupId>sleeper</groupId>
22-
<version>0.20.0-SNAPSHOT</version>
22+
<version>0.20.0</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525

java/compaction/compaction-job-creation/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<artifactId>compaction</artifactId>
2121
<groupId>sleeper</groupId>
22-
<version>0.20.0-SNAPSHOT</version>
22+
<version>0.20.0</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525

java/compaction/compaction-job-execution/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<artifactId>compaction</artifactId>
2121
<groupId>sleeper</groupId>
22-
<version>0.20.0-SNAPSHOT</version>
22+
<version>0.20.0</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525

java/compaction/compaction-status-store/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<artifactId>compaction</artifactId>
2121
<groupId>sleeper</groupId>
22-
<version>0.20.0-SNAPSHOT</version>
22+
<version>0.20.0</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525

java/compaction/compaction-task-creation/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>sleeper</groupId>
2424
<artifactId>compaction</artifactId>
25-
<version>0.20.0-SNAPSHOT</version>
25+
<version>0.20.0</version>
2626
</parent>
2727

2828
<artifactId>compaction-task-creation</artifactId>

java/compaction/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<artifactId>aws</artifactId>
2121
<groupId>sleeper</groupId>
22-
<version>0.20.0-SNAPSHOT</version>
22+
<version>0.20.0</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525

java/configuration/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<artifactId>aws</artifactId>
2121
<groupId>sleeper</groupId>
22-
<version>0.20.0-SNAPSHOT</version>
22+
<version>0.20.0</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525

java/core/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<artifactId>aws</artifactId>
2121
<groupId>sleeper</groupId>
22-
<version>0.20.0-SNAPSHOT</version>
22+
<version>0.20.0</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525

java/distribution/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>aws</artifactId>
2222
<groupId>sleeper</groupId>
23-
<version>0.20.0-SNAPSHOT</version>
23+
<version>0.20.0</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

java/dynamodb-tools/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<artifactId>aws</artifactId>
2323
<groupId>sleeper</groupId>
24-
<version>0.20.0-SNAPSHOT</version>
24+
<version>0.20.0</version>
2525
</parent>
2626

2727
<modelVersion>4.0.0</modelVersion>

java/garbage-collector/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<artifactId>aws</artifactId>
2121
<groupId>sleeper</groupId>
22-
<version>0.20.0-SNAPSHOT</version>
22+
<version>0.20.0</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525

java/ingest/ingest-batcher-core/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<artifactId>ingest</artifactId>
2323
<groupId>sleeper</groupId>
24-
<version>0.20.0-SNAPSHOT</version>
24+
<version>0.20.0</version>
2525
</parent>
2626
<modelVersion>4.0.0</modelVersion>
2727

java/ingest/ingest-batcher-job-creator/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>sleeper</groupId>
2424
<artifactId>ingest</artifactId>
25-
<version>0.20.0-SNAPSHOT</version>
25+
<version>0.20.0</version>
2626
</parent>
2727

2828
<artifactId>ingest-batcher-job-creator</artifactId>

java/ingest/ingest-batcher-store/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>sleeper</groupId>
2424
<artifactId>ingest</artifactId>
25-
<version>0.20.0-SNAPSHOT</version>
25+
<version>0.20.0</version>
2626
</parent>
2727

2828
<artifactId>ingest-batcher-store</artifactId>

java/ingest/ingest-batcher-submitter/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<parent>
2323
<groupId>sleeper</groupId>
2424
<artifactId>ingest</artifactId>
25-
<version>0.20.0-SNAPSHOT</version>
25+
<version>0.20.0</version>
2626
</parent>
2727

2828
<artifactId>ingest-batcher-submitter</artifactId>

java/ingest/ingest-core/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<artifactId>ingest</artifactId>
2121
<groupId>sleeper</groupId>
22-
<version>0.20.0-SNAPSHOT</version>
22+
<version>0.20.0</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525

java/ingest/ingest-runner/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<artifactId>ingest</artifactId>
2121
<groupId>sleeper</groupId>
22-
<version>0.20.0-SNAPSHOT</version>
22+
<version>0.20.0</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525

java/ingest/ingest-starter/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<artifactId>ingest</artifactId>
2121
<groupId>sleeper</groupId>
22-
<version>0.20.0-SNAPSHOT</version>
22+
<version>0.20.0</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525

java/ingest/ingest-status-store/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<parent>
2222
<artifactId>ingest</artifactId>
2323
<groupId>sleeper</groupId>
24-
<version>0.20.0-SNAPSHOT</version>
24+
<version>0.20.0</version>
2525
</parent>
2626
<modelVersion>4.0.0</modelVersion>
2727

java/ingest/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<artifactId>aws</artifactId>
2121
<groupId>sleeper</groupId>
22-
<version>0.20.0-SNAPSHOT</version>
22+
<version>0.20.0</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525

java/metrics/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<parent>
2121
<artifactId>aws</artifactId>
2222
<groupId>sleeper</groupId>
23-
<version>0.20.0-SNAPSHOT</version>
23+
<version>0.20.0</version>
2424
</parent>
2525
<modelVersion>4.0.0</modelVersion>
2626

java/parquet/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<artifactId>aws</artifactId>
2121
<groupId>sleeper</groupId>
22-
<version>0.20.0-SNAPSHOT</version>
22+
<version>0.20.0</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525

java/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<groupId>sleeper</groupId>
2222
<artifactId>aws</artifactId>
2323
<packaging>pom</packaging>
24-
<version>0.20.0-SNAPSHOT</version>
24+
<version>0.20.0</version>
2525

2626
<modules>
2727
<module>core</module>

java/query/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<parent>
2020
<artifactId>aws</artifactId>
2121
<groupId>sleeper</groupId>
22-
<version>0.20.0-SNAPSHOT</version>
22+
<version>0.20.0</version>
2323
</parent>
2424
<modelVersion>4.0.0</modelVersion>
2525

0 commit comments

Comments
 (0)