forked from omnigres/omnigres
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Problem: omni_vfs has some bugs and issues (🚀 omni_vfs 0.1.1) (omnigr…
- Loading branch information
Showing
5 changed files
with
58 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres | ||
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [0.1.1] - 2023-04-14 | ||
|
||
### Fixed | ||
|
||
* A potential crash when operating with deleted local FS mounts [#560](https://github.com/omnigres/omnigres/pull/560) | ||
|
||
## [0.1.0] - 2023-03-05 | ||
|
||
Initial release following a few months of iterative development. | ||
|
||
[Unreleased]: https://github.com/omnigres/omnigres/commits/next/omni_httpd | ||
|
||
[0.1.0]: [https://github.com/omnigres/omnigres/pull/511] | ||
|
||
[0.1.1]: [https://github.com/omnigres/omnigres/pull/559] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
$schema: "https://raw.githubusercontent.com/omnigres/omnigres/master/pg_yregress/schema.json" | ||
instance: | ||
init: | ||
- create extension omni_vfs cascade | ||
|
||
# This particular test is a regression test that ensure if between obtaining the `local_fs` | ||
# and using it, the record of it is gone, we don't crash and properly error out | ||
|
||
tests: | ||
|
||
- name: create a local filesystem | ||
# We save it so we can avoid recreating it to test this regression | ||
query: create table fs_info as (select omni_vfs.local_fs('.') as fs) | ||
commit: true | ||
|
||
- name: destroy the backend information | ||
query: delete | ||
from omni_vfs.local_fs_mounts | ||
commit: true | ||
|
||
- name: try accessing the filesystem | ||
query: select * | ||
from omni_vfs.list((select fs from fs_info), '.') | ||
error: | ||
severity: ERROR | ||
message: fetching mount failed | ||
detail: missing information in omni_vfs.local_fs_mounts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters