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

Add conditional launch of expirationd tasks #116

Closed
no1seman opened this issue Jun 29, 2022 · 2 comments · Fixed by #126
Closed

Add conditional launch of expirationd tasks #116

no1seman opened this issue Jun 29, 2022 · 2 comments · Fixed by #126
Assignees
Labels
feature A new functionality

Comments

@no1seman
Copy link

Often, when cluster is bootstrapped from the scratch there is no any user spaces at all and developer needs to implement custom logic to start expirationd task only after space(s) to be proceesing by task will be created.

It wiil be great if this kind of machinery will be already onboard.

@Totktonada
Copy link
Member

NB: I have added it to #68 (comment), but I don't mind tracking it as a separate task.

@oleg-jukovec
Copy link
Contributor

The issue may also be related to the bug #64.

@oleg-jukovec oleg-jukovec self-assigned this Jul 26, 2022
oleg-jukovec added a commit that referenced this issue Jul 26, 2022
After the patch an user can to start expirationd task disregarding
whether a space (and a primary/requested index) is exists or not.
expirationd does not start a worker fiber until the space or index
appears.

Also, after the patch expirationd stops all task fibers if a space
or an index configuration error happens:

* the space or the index disappears (drop/rename);
* an unsupported type of the index;
* an invalid iterator or a start key for the index;

Closes #64
Closes #68
Closes #116
oleg-jukovec added a commit that referenced this issue Jul 27, 2022
After the patch an user can to start expirationd task disregarding
whether a space (and a primary/requested index) is exists or not.
expirationd does not start a worker fiber until the space or index
appears.

Also, after the patch expirationd stops all task fibers if a space
or an index configuration error happens:

* the space or the index disappears (drop/rename);
* an unsupported type of the index;
* an invalid iterator or a start key for the index;

Closes #64
Closes #68
Closes #116
oleg-jukovec added a commit that referenced this issue Jul 27, 2022
After the patch an user can to start expirationd task disregarding
whether a space (and a primary/requested index) is exists or not.
expirationd does not start a worker fiber until the space or index
appears.

Also, after the patch expirationd stops all task fibers if a space
or an index configuration error happens:

* the space or the index disappears (drop/rename);
* an unsupported type of the index;
* an invalid iterator or a start key for the index;

Closes #64
Closes #68
Closes #116
oleg-jukovec added a commit that referenced this issue Jul 27, 2022
After the patch an user can to start expirationd task disregarding
whether a space (and a primary/requested index) is exists or not.
expirationd does not start a worker fiber until the space or index
appears.

Also, after the patch expirationd stops all task fibers if a space
or an index configuration error happens:

* the space or the index disappears (drop/rename);
* an unsupported type of the index;
* an invalid iterator or a start key for the index;

Closes #64
Closes #68
Closes #116
oleg-jukovec added a commit that referenced this issue Jul 28, 2022
After the patch an user can to start expirationd task disregarding
whether a space (and a primary/requested index) is exists or not.
expirationd does not start a worker fiber until the space or index
appears.

Also, after the patch expirationd stops all task fibers if a space
or an index configuration error happens:

* the space or the index disappears (drop/rename);
* an unsupported type of the index;
* an invalid iterator or a start key for the index;

Closes #64
Closes #68
Closes #116
oleg-jukovec added a commit that referenced this issue Jul 29, 2022
After the patch an user can to start expirationd task disregarding
whether a space (and a primary/requested index) is exists or not.
expirationd does not start a worker fiber until the space or index
appears.

Also, after the patch expirationd stops all task fibers if a space
or an index configuration error happens:

* the space or the index disappears (drop/rename);
* an unsupported type of the index;
* an invalid iterator or a start key for the index;

Closes #64
Closes #68
Closes #116
oleg-jukovec added a commit that referenced this issue Jul 29, 2022
After the patch an user can to start expirationd task disregarding
whether a space (and a primary/requested index) is exists or not.
expirationd does not start a worker fiber until the space or index
appears.

Also, after the patch expirationd stops all task fibers if a space
or an index configuration error happens:

* the space or the index disappears (drop/rename);
* an unsupported type of the index;
* an invalid iterator or a start key for the index;

Closes #64
Closes #68
Closes #116
oleg-jukovec added a commit that referenced this issue Jul 29, 2022
After the patch an user can to start expirationd task disregarding
whether a space (and a primary/requested index) is exists or not.
expirationd does not start a worker fiber until the space or index
appears.

Also, after the patch expirationd stops all task fibers if a space
or an index configuration error happens:

* the space or the index disappears (drop/rename);
* an unsupported type of the index;
* an invalid iterator or a start key for the index;

Closes #64
Closes #68
Closes #116
oleg-jukovec added a commit that referenced this issue Jul 29, 2022
After the patch an user can to start expirationd task disregarding
whether a space (and a primary/requested index) is exists or not.
expirationd does not start a worker fiber until the space or index
appears.

Also, after the patch expirationd stops all task fibers if a space
or an index configuration error happens:

* the space or the index disappears (drop/rename);
* an unsupported type of the index;
* an invalid iterator or a start key for the index;

Closes #64
Closes #68
Closes #116
oleg-jukovec added a commit that referenced this issue Jul 29, 2022
After the patch an user can to start expirationd task disregarding
whether a space (and a primary/requested index) is exists or not.
expirationd does not start a worker fiber until the space or index
appears.

Also, after the patch expirationd stops all task fibers if a space
or an index configuration error happens:

* the space or the index disappears (drop/rename);
* an unsupported type of the index;
* an invalid iterator or a start key for the index;

Closes #64
Closes #68
Closes #116
oleg-jukovec added a commit that referenced this issue Aug 1, 2022
After the patch an user can to start expirationd task disregarding
whether a space (and a primary/requested index) is exists or not.
expirationd does not start a worker fiber until the space or index
appears.

Also, after the patch expirationd stops all task fibers if a space
or an index configuration error happens:

* the space or the index disappears (drop/rename);
* an unsupported type of the index;
* an invalid iterator or a start key for the index;

Closes #64
Closes #68
Closes #116
oleg-jukovec added a commit that referenced this issue Aug 3, 2022
After the patch an user can to start expirationd task disregarding
whether a space (and a primary/requested index) is exists or not.
expirationd does not start a worker fiber until the space or index
appears.

Also, after the patch expirationd stops all task fibers if a space
or an index configuration error happens:

* the space or the index disappears (drop/rename);
* an unsupported type of the index;
* an invalid iterator or a start key for the index;

Closes #64
Closes #68
Closes #116
oleg-jukovec added a commit that referenced this issue Aug 3, 2022
After the patch an user can to start expirationd task disregarding
whether a space (and a primary/requested index) is exists or not.
expirationd does not start a worker fiber until the space or index
appears.

Also, after the patch expirationd stops all task fibers if a space
or an index configuration error happens:

* the space or the index disappears (drop/rename);
* an unsupported type of the index;
* an invalid iterator or a start key for the index;

Closes #64
Closes #68
Closes #116
oleg-jukovec added a commit that referenced this issue Aug 4, 2022
Overview

    This release adds a Tarantool Cartridge role for expirationd
    package and improves the default behavior.

Breaking changes

    None.

New features

    Continue a task from a last tuple (#54).

    Decrease tarantool-checks dependency from 3.1 to 2.1 (#124).

    Process a task on a writable space by default (#42).

    Wait until a space or an index is created (#68, #116).

    Tarantool Cartridge role (#107).

Bugfixes

    Fix build and installation of rpm/deb packages (#124).

    Do not restart work fiber if index does not exist (#64).

    Update changelogs for rpm/deb packages.

Testing

    Shuffle tests (#118).

    Fix test_mvcc_vinyl_tx_conflict (#104, #105).

    Fix flaky 'simple expires test' (#90).

Other

    Add GitHub Actions workflow with debug Tarantool build (#102).

    Add GitHub Actions workflow for deploying module packages to S3
    based repositories (#43).
oleg-jukovec added a commit that referenced this issue Aug 4, 2022
Overview

    This release adds a Tarantool Cartridge role for expirationd
    package and improves the default behavior.

Breaking changes

    None.

New features

    Continue a task from a last tuple (#54).

    Decrease tarantool-checks dependency from 3.1 to 2.1 (#124).

    Process a task on a writable space by default (#42).

    Wait until a space or an index is created (#68, #116).

    Tarantool Cartridge role (#107).

Bugfixes

    Fix build and installation of rpm/deb packages (#124).

    Do not restart a work fiber if an index does not exist (#64).

    Update changelogs for rpm/deb packages.

Testing

    Shuffle tests (#118).

    Fix test_mvcc_vinyl_tx_conflict (#104, #105).

    Fix flaky 'simple expires test' (#90).

Other

    Add GitHub Actions workflow with debug Tarantool build (#102).

    Add GitHub Actions workflow for deploying module packages to S3
    based repositories (#43).
oleg-jukovec added a commit that referenced this issue Aug 5, 2022
Overview

    This release adds a Tarantool Cartridge role for expirationd
    package and improves the default behavior.

Breaking changes

    None.

Deprecated

    Obsolete functions: task_stats, kill_task, get_task, get_tasks, run_task,
    show_task_list.

New features

    Continue a task from a last tuple (#54).

    Decrease tarantool-checks dependency from 3.1 to 2.1 (#124).

    Process a task on a writable space by default (#42).

    Wait until a space or an index is created (#68, #116).

    Tarantool Cartridge role (#107).

Bugfixes

    Fix build and installation of rpm/deb packages (#124).

    Do not restart a work fiber if an index does not exist (#64).

    Update changelogs for rpm/deb packages.

Testing

    Shuffle tests (#118).

    Fix test_mvcc_vinyl_tx_conflict (#104, #105).

    Fix flaky 'simple expires test' (#90).

Other

    Add GitHub Actions workflow with debug Tarantool build (#102).

    Add GitHub Actions workflow for deploying module packages to S3
    based repositories (#43).
oleg-jukovec added a commit that referenced this issue Aug 11, 2022
Overview

    This release adds a Tarantool Cartridge role for expirationd
    package and improves the default behavior.

Breaking changes

    None.

Deprecated

    Obsolete functions: task_stats, kill_task, get_task, get_tasks, run_task,
    show_task_list.

New features

    Continue a task from a last tuple (#54).

    Decrease tarantool-checks dependency from 3.1 to 2.1 (#124).

    Process a task on a writable space by default (#42).

    Wait until a space or an index is created (#68, #116).

    Tarantool Cartridge role (#107).

Bugfixes

    Fix build and installation of rpm/deb packages (#124).

    Do not restart a work fiber if an index does not exist (#64).

    Update changelogs for rpm/deb packages.

Testing

    Shuffle tests (#118).

    Fix test_mvcc_vinyl_tx_conflict (#104, #105).

    Fix flaky 'simple expires test' (#90).

Other

    expirationd.start() parameter `space_id` has been renamed to
    `space` (#112).

    Add GitHub Actions workflow with debug Tarantool build (#102).

    Add GitHub Actions workflow for deploying module packages to S3
    based repositories (#43).
oleg-jukovec added a commit that referenced this issue Aug 11, 2022
Overview

    This release adds a Tarantool Cartridge role for expirationd
    package and improves the default behavior.

Breaking changes

    None.

Deprecated

    Obsolete functions: task_stats, kill_task, get_task, get_tasks, run_task,
    show_task_list.

New features

    Continue a task from a last tuple (#54).

    Decrease tarantool-checks dependency from 3.1 to 2.1 (#124).

    Process a task on a writable space by default (#42).

    Wait until a space or an index is created (#68, #116).

    Tarantool Cartridge role (#107).

Bugfixes

    Fix build and installation of rpm/deb packages (#124).

    Do not restart a work fiber if an index does not exist (#64).

    Update changelogs for rpm/deb packages.

Testing

    Shuffle tests (#118).

    Fix test_mvcc_vinyl_tx_conflict (#104, #105).

    Fix flaky 'simple expires test' (#90).

Other

    expirationd.start() parameter `space_id` has been renamed to
    `space` (#112).

    Add GitHub Actions workflow with debug Tarantool build (#102).

    Add GitHub Actions workflow for deploying module packages to S3
    based repositories (#43).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature A new functionality
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants