Skip to content

fixed race condition when creating table and indexes#5

Merged
c-arriagada merged 1 commit intomainfrom
os-fix-table-creation-race-condition
Sep 6, 2024
Merged

fixed race condition when creating table and indexes#5
c-arriagada merged 1 commit intomainfrom
os-fix-table-creation-race-condition

Conversation

@c-arriagada
Copy link
Copy Markdown
Contributor

Overview/Task

  • [ x] Bug
  • [] Feature

Description

  • Fixed race condition that was happening when the objects table and the indexes were created
  • User has to call the init method to initialize the objects table

Feature Validation/Bug Reproduction Steps

  1. Create a .env file in the root directory and add your SQLite Cloud connection string
DB_CONNECTION_STRING="sqlitecloud://{HOST}.sqlite.cloud:8860/{DATABASE_NAME}?apikey=#######"
  1. In your database make sure no table objects exists. If it does exist drop it.
  2. From the object-storage-wrapper repo run npm start

Screenshots & Videos

Screenshot 2024-09-05 at 4 11 44 PM

@c-arriagada c-arriagada merged commit ca035d2 into main Sep 6, 2024
@c-arriagada c-arriagada deleted the os-fix-table-creation-race-condition branch September 6, 2024 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants