Skip to content

DatafileManager.importMapFiles question #3668

Open
@dlmarion

Description

@dlmarion

The Tablet metadata is updated in DatafileManager.importMapFiles here outside of the tablet lock. Then, the datafileSizes map is modified inside of the Tablet lock here. Tablet.compareTabletInfo is called from a thread in the TabletServer periodically. Does updating the tablet metadata outside of the tablet lock in importMapFiles make it more likely that the compareTabletInfo check would see a file in the tablet metadata but not in datafileSizes? It seems to me that if compareTabletInfo ran between Tablet line 265 and line 269, then it would report missing files that may not be missing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionThis issue describes a user question and should be answered; it may be a possible bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions