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

Validation not detects one specific case of index corruption [CORE3844] #4185

Closed
firebird-automations opened this issue May 11, 2012 · 8 comments

Comments

@firebird-automations
Copy link
Collaborator

Submitted by: @hvlad

Is related to CORE3839
Is related to CORE3841

Below i consider a two index keys where one (shorter) key is a full prefix of another (longer) key, for example:
- 'aa' and 'aaa'
- '' and 'a'

The rule :
- in ascending index short key is less then long key ('aa' < 'aaa', '' < 'a')
- in descending index short key is greater then long key ('aaa' < 'aa', 'a' < '').

The validation code is not detect the cases when rule above is violated.
For example, corruption at CORE3839\CORE3841 is not detected.

Commits: d4b5834 a6a8f05 6cdb7c6

====== Test Details ======

Have no idea about implementation.

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

assignee: Vlad Khorsun [ hvlad ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

status: Open [ 1 ] => Resolved [ 5 ]

resolution: Fixed [ 1 ]

Fix Version: 2.5.2 [ 10450 ]

Fix Version: 3.0 Alpha 1 [ 10331 ]

Fix Version: 2.1.6 [ 10460 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

Link: This issue is related to CORE3839 [ CORE3839 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @hvlad

Link: This issue is related to CORE3841 [ CORE3841 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @dyemanov

Fix Version: 2.1.5 [ 10420 ]

Fix Version: 2.1.6 [ 10460 ] =>

@firebird-automations
Copy link
Collaborator Author

Modified by: @pcisar

status: Resolved [ 5 ] => Closed [ 6 ]

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Closed [ 6 ] => Closed [ 6 ]

QA Status: No test

@firebird-automations
Copy link
Collaborator Author

Modified by: @pavel-zotov

status: Closed [ 6 ] => Closed [ 6 ]

QA Status: No test => Deferred

Test Details: Have no idea about implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment