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

Saved object migrations #20243

Merged
merged 123 commits into from
Sep 17, 2018
Merged

Saved object migrations #20243

merged 123 commits into from
Sep 17, 2018

Commits on Jun 8, 2018

  1. Configuration menu
    Copy the full SHA
    4411f7a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    69a2632 View commit details
    Browse the repository at this point in the history

Commits on Jun 11, 2018

  1. Configuration menu
    Copy the full SHA
    dc28022 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d219188 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    ff5cb68 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2d232c4 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    85593a6 View commit details
    Browse the repository at this point in the history

Commits on Jun 12, 2018

  1. Configuration menu
    Copy the full SHA
    0e49e4e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    494db0d View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    db8e0a9 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ceb1529 View commit details
    Browse the repository at this point in the history

Commits on Jun 13, 2018

  1. Configuration menu
    Copy the full SHA
    a098084 View commit details
    Browse the repository at this point in the history

Commits on Jun 14, 2018

  1. Configuration menu
    Copy the full SHA
    027cc10 View commit details
    Browse the repository at this point in the history

Commits on Jun 15, 2018

  1. Merge master

    chrisdavies committed Jun 15, 2018
    Configuration menu
    Copy the full SHA
    29ecffc View commit details
    Browse the repository at this point in the history
  2. Merge pull request #1 from kobelb/migrations/saved_objects

    Making onBeforeWrite accessible to custom factories
    chrisdavies authored Jun 15, 2018
    Configuration menu
    Copy the full SHA
    10ad3ba View commit details
    Browse the repository at this point in the history
  3. Merge brandon's pr

    chrisdavies committed Jun 15, 2018
    Configuration menu
    Copy the full SHA
    8d75d0a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    723f2a3 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a726fe0 View commit details
    Browse the repository at this point in the history

Commits on Jun 25, 2018

  1. Merge master

    chrisdavies committed Jun 25, 2018
    Configuration menu
    Copy the full SHA
    7f566f5 View commit details
    Browse the repository at this point in the history

Commits on Jun 26, 2018

  1. Configuration menu
    Copy the full SHA
    b4bb4bc View commit details
    Browse the repository at this point in the history
  2. Remove index patching from the saved object pre-write

    This will be done on Kibana startup instead
    chrisdavies committed Jun 26, 2018
    Configuration menu
    Copy the full SHA
    72a9a0a View commit details
    Browse the repository at this point in the history

Commits on Jul 3, 2018

  1. Configuration menu
    Copy the full SHA
    87e4b75 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    89f15c1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7b4aaa4 View commit details
    Browse the repository at this point in the history
  4. Fix index export

    chrisdavies committed Jul 3, 2018
    Configuration menu
    Copy the full SHA
    6c4b19e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    43d865c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    171e635 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d87cc0c View commit details
    Browse the repository at this point in the history

Commits on Jul 5, 2018

  1. Configuration menu
    Copy the full SHA
    f616ba5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f32d20c View commit details
    Browse the repository at this point in the history
  3. Fix saved objects mixin

    chrisdavies committed Jul 5, 2018
    Configuration menu
    Copy the full SHA
    c70838a View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bb7b7d0 View commit details
    Browse the repository at this point in the history

Commits on Jul 12, 2018

  1. Configuration menu
    Copy the full SHA
    68db719 View commit details
    Browse the repository at this point in the history
  2. Merge master

    chrisdavies committed Jul 12, 2018
    Configuration menu
    Copy the full SHA
    7b8e399 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    54c98e2 View commit details
    Browse the repository at this point in the history

Commits on Jul 17, 2018

  1. Configuration menu
    Copy the full SHA
    9d6f72d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b3f65dc View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2018

  1. Add validation to the saved object client (server side)

    This is important for a variety of reasons, but particularly,
    in this case, it's key to the upcoming migration system.
    Migrations make assumptions about documents being
    up to date in certain scenarios, and if those assumptions
    are wrong, the index will end up with invalid documents
    that will prevent Kibana from booting. Having a structured
    way of validating that a document is in fact up to date
    prior to writing it will mitigate that scenario.
    chrisdavies committed Jul 18, 2018
    Configuration menu
    Copy the full SHA
    a72d2eb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4d2c573 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c6cb8a3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    bdedfb0 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    6cd918e View commit details
    Browse the repository at this point in the history
  6. Improve migration logging

    chrisdavies committed Jul 18, 2018
    Configuration menu
    Copy the full SHA
    b708c3a View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    c3fd212 View commit details
    Browse the repository at this point in the history

Commits on Jul 20, 2018

  1. Configuration menu
    Copy the full SHA
    d52a8ee View commit details
    Browse the repository at this point in the history
  2. Update migrations readme

    chrisdavies committed Jul 20, 2018
    Configuration menu
    Copy the full SHA
    2583486 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    e9e9353 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    7162c74 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b9838e8 View commit details
    Browse the repository at this point in the history
  6. Merge master

    chrisdavies committed Jul 20, 2018
    Configuration menu
    Copy the full SHA
    7456364 View commit details
    Browse the repository at this point in the history
  7. Fix index migrator tests

    chrisdavies committed Jul 20, 2018
    Configuration menu
    Copy the full SHA
    dba1662 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    3b4347b View commit details
    Browse the repository at this point in the history

Commits on Jul 23, 2018

  1. Remove ref to docValidator in saved objects mixin.

    Migrations run validation, so the ref is redundant.
    chrisdavies committed Jul 23, 2018
    Configuration menu
    Copy the full SHA
    03581c5 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    43cecc5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    60b6e58 View commit details
    Browse the repository at this point in the history
  4. Move migration tests into saved_object folder.

    Add basic test for migration cluster coordination.
    chrisdavies committed Jul 23, 2018
    Configuration menu
    Copy the full SHA
    7a40d86 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f5f0809 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    c6ad734 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2018

  1. Configuration menu
    Copy the full SHA
    d02c67b View commit details
    Browse the repository at this point in the history
  2. Update server reload logging test to handle

    migration messages
    chrisdavies committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    ce171e2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    586870a View commit details
    Browse the repository at this point in the history
  4. Modify migrations to not set migrationVersion on docs

    that have no migrations defined.
    chrisdavies committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    8471d03 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    ff1494a View commit details
    Browse the repository at this point in the history
  6. Merge master

    chrisdavies committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    aeaee8b View commit details
    Browse the repository at this point in the history
  7. Merge master

    chrisdavies committed Jul 24, 2018
    Configuration menu
    Copy the full SHA
    89e2634 View commit details
    Browse the repository at this point in the history

Commits on Jul 25, 2018

  1. Configuration menu
    Copy the full SHA
    531ceb9 View commit details
    Browse the repository at this point in the history
  2. Change migrations to pass invalid / non saved object

    raw docs through to the dest index unmigrated.
    chrisdavies committed Jul 25, 2018
    Configuration menu
    Copy the full SHA
    5a9b936 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1e43afa View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    644c221 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    b8841f5 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    38b0eb9 View commit details
    Browse the repository at this point in the history

Commits on Aug 1, 2018

  1. Configuration menu
    Copy the full SHA
    57c192a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c38d764 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3f521a9 View commit details
    Browse the repository at this point in the history
  4. Fix bug in the index up to date check for migrations. If there

    are no migrations defined, and the index has the expected
    mappings, then the index is considered up to date.
    chrisdavies committed Aug 1, 2018
    Configuration menu
    Copy the full SHA
    e03365e View commit details
    Browse the repository at this point in the history

Commits on Aug 6, 2018

  1. Configuration menu
    Copy the full SHA
    b905634 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    095d47b View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2018

  1. Refactor migrations per feedback, tweak logs, a bit of clean up,

    and using concrete source index, rather than an aliased source index.
    chrisdavies committed Aug 7, 2018
    Configuration menu
    Copy the full SHA
    d7a9b84 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    71ad10f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4a8f955 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    10b0222 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2011f1c View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    e34e4f8 View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2018

  1. Merge master

    chrisdavies committed Aug 22, 2018
    Configuration menu
    Copy the full SHA
    753e820 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    de53060 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4671f11 View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2018

  1. Configuration menu
    Copy the full SHA
    d7cc69f View commit details
    Browse the repository at this point in the history
  2. Consolodate es + kibana launching logic that is the source

    of flaky tests (the failure is reproduced consistently in
    the migrations branch, but was flaky prior to that).
    chrisdavies committed Aug 23, 2018
    Configuration menu
    Copy the full SHA
    05887e0 View commit details
    Browse the repository at this point in the history
  3. Remove misleading comment

    chrisdavies committed Aug 23, 2018
    Configuration menu
    Copy the full SHA
    e03a863 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    130457e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    3b18879 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    b1ba1b3 View commit details
    Browse the repository at this point in the history

Commits on Aug 24, 2018

  1. Configuration menu
    Copy the full SHA
    78e7227 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2018

  1. Merge master

    chrisdavies committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    d9fc199 View commit details
    Browse the repository at this point in the history
  2. Address initial feedback.

    Fix order of mixins in kbn_server
    Fix package.json newline
    Update yarn.lock after merging master
    chrisdavies committed Aug 29, 2018
    Configuration menu
    Copy the full SHA
    4cacb87 View commit details
    Browse the repository at this point in the history

Commits on Sep 4, 2018

  1. Merge master

    chrisdavies committed Sep 4, 2018
    Configuration menu
    Copy the full SHA
    c6896d2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    475defa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9b45b74 View commit details
    Browse the repository at this point in the history

Commits on Sep 5, 2018

  1. Code refinements per code review feedback, renaming various

    functions, tweaking comments, etc.
    chrisdavies committed Sep 5, 2018
    Configuration menu
    Copy the full SHA
    26e04e6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    51b3e5b View commit details
    Browse the repository at this point in the history
  3. Fix document migrator TypeScript error resultant from changing

    attributes type from any to object.
    chrisdavies committed Sep 5, 2018
    Configuration menu
    Copy the full SHA
    5c2a5fd View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1cd609f View commit details
    Browse the repository at this point in the history

Commits on Sep 6, 2018

  1. Configuration menu
    Copy the full SHA
    3ed23ba View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d4471ba View commit details
    Browse the repository at this point in the history
  3. Merge master

    chrisdavies committed Sep 6, 2018
    Configuration menu
    Copy the full SHA
    9f37115 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2018

  1. Configuration menu
    Copy the full SHA
    30541c6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2b2dd34 View commit details
    Browse the repository at this point in the history
  3. Add a comment to saved object repository

    about why the migrator is necessary.
    chrisdavies committed Sep 7, 2018
    Configuration menu
    Copy the full SHA
    f5f8451 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2018

  1. Configuration menu
    Copy the full SHA
    dfbd4d3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    685fe2b View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2018

  1. Configuration menu
    Copy the full SHA
    a47096e View commit details
    Browse the repository at this point in the history
  2. Move saved object conversion logic to its own file, and

    expose it as part of the migration system
    chrisdavies committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    c0b1970 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    317242d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    329bc41 View commit details
    Browse the repository at this point in the history
  5. Fix broken rbac tests

    chrisdavies committed Sep 11, 2018
    Configuration menu
    Copy the full SHA
    fd099c9 View commit details
    Browse the repository at this point in the history

Commits on Sep 12, 2018

  1. Configuration menu
    Copy the full SHA
    a1c9807 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a1b5442 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    dbcf3d7 View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2018

  1. Merge master

    chrisdavies committed Sep 13, 2018
    Configuration menu
    Copy the full SHA
    0dbf496 View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2018

  1. Fix bug with importing future docs reporting a poor error.

    Fix bug with importing docs that have properties
    belonging to a a future migration.
    chrisdavies committed Sep 14, 2018
    Configuration menu
    Copy the full SHA
    5ea544e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    efa0065 View commit details
    Browse the repository at this point in the history

Commits on Sep 17, 2018

  1. Configuration menu
    Copy the full SHA
    119ebc4 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0408cbf View commit details
    Browse the repository at this point in the history