Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update synthetic source legacy license cutoff date. #117658

Merged
merged 4 commits into from
Nov 28, 2024

Conversation

martijnvg
Copy link
Member

@martijnvg martijnvg commented Nov 27, 2024

Update default cutoff date from 12-12-2024T00:00 UTC to 01-02-2025T00:00 UTC.
(note format is: dd-MM-yyyyThh:mm)

Update default cutoff date from 12-12-2024T00:00 UTC to 01-02-2025T00:00 UTC.
@martijnvg martijnvg added >non-issue auto-backport Automatically create backport pull requests when merged :StorageEngine/Mapping The storage related side of mappings v9.0.0 v8.17.0 v8.18.0 labels Nov 27, 2024
@elasticsearchmachine
Copy link
Collaborator

Pinging @elastic/es-storage-engine (Team:StorageEngine)

@martijnvg martijnvg requested a review from n1v0lg November 27, 2024 19:58
Copy link
Contributor

@n1v0lg n1v0lg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -29,7 +29,7 @@ final class SyntheticSourceLicenseService {
// You can only override this property if you received explicit approval from Elastic.
static final String CUTOFF_DATE_SYS_PROP_NAME = "es.mapping.synthetic_source_fallback_to_stored_source.cutoff_date_restricted_override";
private static final Logger LOGGER = LogManager.getLogger(SyntheticSourceLicenseService.class);
static final long DEFAULT_CUTOFF_DATE = LocalDateTime.of(2024, 12, 12, 0, 0).toInstant(ZoneOffset.UTC).toEpochMilli();
static final long DEFAULT_CUTOFF_DATE = LocalDateTime.of(2025, 1, 31, 0, 0).toInstant(ZoneOffset.UTC).toEpochMilli();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't check if there are any ITs that test "future" dates that aren't future anymore but lets update those if there are any 👍

@martijnvg
Copy link
Member Author

@elasticmachine run elasticsearch-ci/part-2

@martijnvg
Copy link
Member Author

@elasticmachine update branch

@martijnvg martijnvg merged commit d4bcd97 into elastic:main Nov 28, 2024
16 checks passed
martijnvg added a commit to martijnvg/elasticsearch that referenced this pull request Nov 28, 2024
Update default cutoff date from 12-12-2024T00:00 UTC to 01-02-2025T00:00 UTC.
@elasticsearchmachine
Copy link
Collaborator

💚 Backport successful

Status Branch Result
8.17
8.x

martijnvg added a commit to martijnvg/elasticsearch that referenced this pull request Nov 28, 2024
Update default cutoff date from 12-12-2024T00:00 UTC to 01-02-2025T00:00 UTC.
elasticsearchmachine pushed a commit that referenced this pull request Nov 28, 2024
Update default cutoff date from 12-12-2024T00:00 UTC to 01-02-2025T00:00 UTC.
elasticsearchmachine pushed a commit that referenced this pull request Nov 28, 2024
Update default cutoff date from 12-12-2024T00:00 UTC to 01-02-2025T00:00 UTC.
alexey-ivanov-es pushed a commit to alexey-ivanov-es/elasticsearch that referenced this pull request Nov 28, 2024
Update default cutoff date from 12-12-2024T00:00 UTC to 01-02-2025T00:00 UTC.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auto-backport Automatically create backport pull requests when merged >non-issue :StorageEngine/Mapping The storage related side of mappings Team:StorageEngine v8.17.0 v8.18.0 v9.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants