Skip to content
This repository has been archived by the owner on May 7, 2022. It is now read-only.

Potential fix for unittest RDBBtree.SindexInterruptionViaDrop failure #35

Open
wants to merge 2 commits into
base: next
Choose a base branch
from
Open

Potential fix for unittest RDBBtree.SindexInterruptionViaDrop failure #35

wants to merge 2 commits into from

Conversation

ial0
Copy link

@ial0 ial0 commented Sep 8, 2018

Description

RDBBtree.SindexInterruptionViaDrop had been failing at the guarantee in txn_t::~txn_t.

I managed to track the issue down to store_t::clear_sindex_data not committing the transaction before returning. This patch adds transaction commit to store_t::clear_sindex_data and store_t::drop_sindex.

While this does fix the unit test failing, could someone with a more complete understanding of the code make sure this is right and does no suffer from any bad side affects which I'm unaware of thanks.

ial0 added 2 commits September 8, 2018 09:44
The unittest RDBBtree.SindexInterruptionViaDrop was failing due to this
bug in clear_sindex_data.
@atris
Copy link
Contributor

atris commented Oct 4, 2018

This looks fine to me conceptually. Could you see why checks are failing?

@ial0
Copy link
Author

ial0 commented Oct 6, 2018

The details of both failing checks don't seem to be working. Have these bee updated recently?

@atris
Copy link
Contributor

atris commented Oct 8, 2018

We need to ensure that the checks are not failing due to any unintended change here

@tavurth
Copy link
Contributor

tavurth commented Oct 24, 2018

The links to the tests are incorrect. They still point to RebirthDB. Here are the corrected links:

https://app.shippable.com/github/rethinkdb/rethinkdb/runs/1/1/console
https://travis-ci.org/rethinkdb/rethinkdb/builds/426069173?utm_source=github_status&utm_medium=notification

I can write a fix for this PR maybe which'll fix this

@asakatida
Copy link
Contributor

Here is an updated tests link.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants