dolthub / dolthub/driver

Opening the same database in the same process multiple times might not work as expected anymore.

Open
#279 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
34
Forks
11
Avg merge
1h 41m
Merged PRs (30d)
5

Description

Previously, unless you jumped through some hoops, both sql.DB instances would be writable. It's not entirely clear that everything would work exactly as expected, but basic smoke tests for both DB's writing would work.

As of b22fb54bd3e5c0efd4482f9d2aad51566c810046, I think this may have changed. Some DoltEnv and MultiRepoEnv initialization code in Dolt changed. Tests in dependent repos had to be updated to not rely on multiple DB instances being writable simultaneously.

This was unintended, but it might be directionally where we're headed anyway. Regardless, we should investigate and write some tests before we cut a new driver release.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.