Skip to content

tan & linux #401

@biskit

Description

@biskit

trying to compile code that includes
github.com/lni/dragonboat/v4/plugin/tan
so it can be used in

			Expert: dbconfig.ExpertConfig{
				LogDB:        dbconfig.GetTinyMemLogDBConfig(),
				LogDBFactory: tan.Factory,
			}

compiles fine on osx but on linux errors

/home/bs/github.com/dragonboat/internal/tan/prealloc_linux.go:33:13: impossible type assertion: f.(*os.File)
	*os.File does not implement "github.com/lni/vfs".File (missing method Preallocate)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions