-
Notifications
You must be signed in to change notification settings - Fork 67
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
Access is denied #772
Comments
The database itself should create that directory. No need to use |
Thks, I will test it |
Same mistake package main
import (
"context"
stdlog "log"
"github.com/apache/arrow/go/v15/arrow"
"github.com/apache/arrow/go/v15/arrow/memory"
"github.com/thanos-io/objstore"
"github.com/polarsignals/frostdb"
"github.com/polarsignals/frostdb/dynparquet"
"github.com/polarsignals/frostdb/query/logicalplan"
)
func main() {
stdlog.SetFlags(stdlog.LstdFlags | stdlog.Lshortfile)
stdlog.Print("I sure like pie")
dir := "frostdb"
bucket := objstore.NewInMemBucket()
sinksource := frostdb.NewDefaultObjstoreBucket(bucket)
// 创建 ColumnStore 对象
c, err := frostdb.New(
frostdb.WithWAL(),
frostdb.WithStoragePath(dir),
frostdb.WithReadWriteStorage(sinksource),
frostdb.WithActiveMemorySize(100*frostdb.KiB),
)
if err != nil {
stdlog.Panicln("frostdb.New", err)
} |
I would check the permissions of the directory that the program is running in. It seems like the program doesn't have permissions to create a directory in the frostdb dir. This doesn't appear to be a FrostDB issue but a local permissions issue. Alternatively you could update your test to perform a |
Errors only occur on Windows |
sync frostdb\\databases\\test\\wal: Access is denied.
OS: windows 10
GO:go version go1.21.5 windows/amd64
The text was updated successfully, but these errors were encountered: