toku_cachetable_openfd_with_filenum: Assertion `filenum.fileid != FILENUM_NONE.fileid' failed

Description

None

Environment

Percona-Server-5.6.22-rel71.0-726.Linux.x86_64

Activity

Show:
Rich Prohaska
July 30, 2015, 2:45 PM

The FILENUM value == UINT32_MAX is reserved, so perhaps cachefile_list::reserve_filenum should SKIP this reserved value rather than allocating it and then letting other parts of the TokuFT to assert.

Bohu TANG
August 3, 2015, 12:00 PM
George Lorch
August 3, 2015, 7:42 PM

Reviewed and tested locally. Change looks simple and correct. Merged in pull request https://github.com/percona/PerconaFT/pull/300

George Lorch
August 4, 2015, 8:09 PM

Reverted fix due to minor issues. New fix pending.

George Lorch
August 6, 2015, 9:56 PM

Merged in https://github.com/percona/PerconaFT/pull/303
Credit for fix goes to BohuTANG and Rich P. for review.

Assignee

George Lorch

Reporter

Casey Brown

Labels

None

External issue ID

None

Freshdesk Tickets

None

Fix versions

Affects versions

Priority

Minor
Configure