Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Merge snapshot options #214

Merged
merged 3 commits into from
Feb 6, 2023
Merged

Merge snapshot options #214

merged 3 commits into from
Feb 6, 2023

Conversation

dureuill
Copy link
Contributor

@dureuill dureuill commented Jan 5, 2023

No API change


Summary

The --schedule-snapshot and --snapshot-interval-sec options were merged in meilisearch/meilisearch#3131


Changes

  • Remove any mention of --snapshot-interval-sec
  • Propagate changes to telemetry
  • Change specification of --schedule-snapshot to reflect its new behavior

Out Of Scope

N/A


Attention To Reviewers

--schedule-snapshot is the first option that is "tri-valued" (absent/flag only/flag with a value). I tried to be clear but the wording should be reviewed carefully


Misc

  • Update OpenAPI specification file (if needed; Apply the OpenApi label) N/A
  • Update telemetry datapoints (if needed; Apply the Telemetry label)

@dureuill dureuill added Ready For Review Feature specification must be reviewed. Implemented Feature specification has been implemented. Telemetry Update the telemetry collect. v1.0.0 ⚠️ Breaking Introduce a breaking change. Q1:2023 labels Jan 5, 2023
@dureuill dureuill requested a review from gmourier January 5, 2023 10:58
@dureuill dureuill changed the base branch from main to release-v1.0.0 January 5, 2023 10:59
Copy link
Member

@gmourier gmourier left a comment

Choose a reason for hiding this comment

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

Thanks @dureuill! I've asked for a review from @maryamsulemani97 regarding the technical explanations of the "tri-valued" concept you explained in lines 285-287.

text/0119-instance-options.md Outdated Show resolved Hide resolved
text/0034-telemetry-policies.md Show resolved Hide resolved
Copy link
Contributor

@maryamsulemani97 maryamsulemani97 left a comment

Choose a reason for hiding this comment

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

LGTM! 🤖

@gmourier gmourier mentioned this pull request Jan 5, 2023
1 task
Copy link
Member

@gmourier gmourier left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you!

@gmourier gmourier removed the Ready For Review Feature specification must be reviewed. label Jan 11, 2023
@gmourier gmourier merged commit 256d2b6 into release-v1.0.0 Feb 6, 2023
@gmourier gmourier deleted the merge-snapshot-options branch February 6, 2023 10:36
gmourier added a commit that referenced this pull request Feb 6, 2023
* Bump open-api spec

* Simplify dump version section since v1.0 can import all dumps (#203)

* Simplify dump version section since v1.0 can import all dumps

* Relax target import version

Co-authored-by: Clémentine Urquizar - curqui <clementine@meilisearch.com>

---------

Co-authored-by: Clémentine Urquizar - curqui <clementine@meilisearch.com>

* Rename dump command from `--dumps-dir` to `--dump-dir` (#204)

* Propagate the change to --dumps-dir to the specification

* Rename section header in openAPI documentation

* Dump destination -> Dump directory

* Finish destination -> directory renaming

Co-authored-by: Guillaume Mourier <guillaume@meilisearch.com>

---------

Co-authored-by: Guillaume Mourier <guillaume@meilisearch.com>

* Update the specification of soft-deleted documents (#206)

* Grammarly'd soft-deletion page

* Soft-deleted: update the functional specification

* Remove `--max-index-size` and `--max-task-db-size` (#207)

* Robustify Primary Key Inference - Update related errors (#208)

* update inference errors

* Add `index_` prefix to newly-introduced error codes

Co-authored-by: Guillaume Mourier <guillaume@meilisearch.com>

* Update error messages following meilisearch/meilisearch#3301

---------

Co-authored-by: Guillaume Mourier <guillaume@meilisearch.com>

* Reject master keys shorter than 16 bytes in `production` (#209)

* Specify what happens when too short a master key is provided

* Change error message

* Characters -> bytes for master key length

* Specify Error and Warning messages regarding the master-key

* Update text/0119-instance-options.md

* Update text/0119-instance-options.md

* Specify warning messages when a master key is missing or lower than 16 bytes in env development

* Apply suggestions from code review

Co-authored-by: Maryam <90181761+maryamsulemani97@users.noreply.github.com>

* Replace export MEILI_MASTER_KEY by --master-key

* Apply suggestions from code review

Co-authored-by: Louis Dureuil <louis.dureuil@gmail.com>

---------

Co-authored-by: Guillaume Mourier <guillaume@meilisearch.com>
Co-authored-by: Maryam <90181761+maryamsulemani97@users.noreply.github.com>

* Add `OFF` log level to spec (#211)

* Errors handling enhancement (#212)

* Replace invalid_duplicate_index_found error code to invalid_swap_duplicate_index_found

* Remove bad_request for settings properties error; replaced with dedicated error codes

* cleaning old bad usage of the spec and replaces it with relevant information

* Split search bad_request error code to dedicated error code

* Catch-up: remove unused dump_not_found error code

* Do an update pass on old specs format

* Details context, variant cases

* Add system type;Split invalid_task_date_filter to dedicated error codes

* Precise index API bad_request error code to dedicated one

* Precise bad_request to a dedicated code for the swap indexes API

* Use invalid_index_primary_key when ?primaryKey is invalid instead of bad_request; + add TODO bad_request we forgot

* marking missed bad_request on /keys

* Add missed bad_request codes for GET /keys

* Add missed bad_request codes for GET /documents

* Removes _filter suffix from query parameter error_code for tasks API; Add missing bad_request error_code on GET /tasks

* Add missing bad_request error codes on GET /indexes

* remove future possibilities

* Replace search_Parameter by search into the /search error codes naming

* Replace bad_request code when the mandatory uid is missing when posting an index resource; split the generic missing_parameter to dedicated error codes

* fix sentence sense

* Split immutable_field to dedicated api key fields

* Removes missing todo marker; Add missing part

* Add suggested review comments

* Catch-up/Add  when an invalid index uid is gen for the :indexUid path parameter

* Add immutable_index_uid error code on PATCH /indexes/:indexUid when uid is specified in the request payload

* invalid_settings_ranking_rules can only be synchronous

* Details async/sync case for error related to minWordsSizeForTypos object

* Add immutable_index_created_at and immutable_index_updated_at for the Index API Resource

* Add missing_swap_indexes on the POST swap-indexes resource

* Update text/0061-error-format-and-definitions.md

Co-authored-by: Bruno Casali <brunoocasali@gmail.com>

* merge the :deserr_helper and the :deserr_location

* Rephrase and catch-up miss

* get rids of the index_not_accessible error code since no one remember about it

---------

Co-authored-by: Bruno Casali <brunoocasali@gmail.com>
Co-authored-by: Tamo <tamo@meilisearch.com>

* Add error message when doing a migration (#213)

* Add the migration CLI error

* Update text/0105-dumps-api.md

---------

Co-authored-by: Guillaume Mourier <guillaume@meilisearch.com>

* Merge snapshot options (#214)

* Merge `--schedule-snapshot` and `--snapshot-interval-sec` options

* Update text/0119-instance-options.md

---------

Co-authored-by: Guillaume Mourier <guillaume@meilisearch.com>

* Remove any reference to the disable-auto-batching argument (#215)

Co-authored-by: Guillaume Mourier <guillaume@meilisearch.com>

* Specify the effect of the `*` value when used in the task filters (#218)

---------

Co-authored-by: Louis Dureuil <louis.dureuil@gmail.com>
Co-authored-by: Clémentine Urquizar - curqui <clementine@meilisearch.com>
Co-authored-by: Maryam <90181761+maryamsulemani97@users.noreply.github.com>
Co-authored-by: Bruno Casali <brunoocasali@gmail.com>
Co-authored-by: Tamo <tamo@meilisearch.com>
Co-authored-by: Clément Renault <clement@meilisearch.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
⚠️ Breaking Introduce a breaking change. Implemented Feature specification has been implemented. Q1:2023 Telemetry Update the telemetry collect. v1.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants