Skip to content
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

Version 8 Release #59

Open
wants to merge 75 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
7f0a7d3
Rewrite base for high availability
markwylde Jun 13, 2021
730bd8c
Remove test data
markwylde Jun 13, 2021
e459455
Fix tests
markwylde Jun 13, 2021
d5eb569
Make tests run with github actions
markwylde Jun 13, 2021
14558b3
Fix tests
markwylde Jun 13, 2021
e83fbb8
Ignore coverage
markwylde Jun 13, 2021
617083d
Fix tests
markwylde Jun 13, 2021
7b40703
Add locks; Add cluster tests;
markwylde Jun 13, 2021
a70832e
Upgrade tcpocket, which fixes reconnect logic
markwylde Jun 13, 2021
9f068f9
Implement order and limit in get
markwylde Jun 14, 2021
805104a
Pass order and limit to internal
markwylde Jun 14, 2021
d055d64
Run tests with correct environment variable
markwylde Jun 14, 2021
04441cf
Improve test coverage
markwylde Jun 14, 2021
4ba9b00
Implement new slim communication protocol from tcpocket
markwylde Jun 15, 2021
4600012
Fix bugs with binary comms logic
markwylde Jun 16, 2021
def81c8
Update dependencies
markwylde Jun 28, 2021
c06bcf9
Implement patch, put, delete methods; Being lock implementation;
markwylde Jun 29, 2021
4200855
Accept lower coverage
markwylde Jun 29, 2021
9013479
Update dependencies; Rewrite readme;
markwylde Jul 1, 2021
ef74f08
Fix more tests
markwylde Jul 1, 2021
a212734
Implement notify
markwylde Aug 11, 2021
0b5788c
Update lock files
markwylde Aug 11, 2021
e6a0078
Expand on notify logic
markwylde Aug 13, 2021
0827cbc
Finish implementing notify for all methods
markwylde Aug 15, 2021
706fd6f
Add license and author information
markwylde Aug 15, 2021
aa21da5
Update yarn lock file
markwylde Aug 15, 2021
acbd0d4
Replace crash with warn logging
markwylde Aug 15, 2021
a544ae5
Update dependencies
markwylde Aug 16, 2021
517da88
Implement locking
markwylde Aug 16, 2021
a31030e
Implement online, connected and health status on nodes;
markwylde Aug 19, 2021
0ae7290
Improve error handling flow
markwylde Aug 20, 2021
26246d9
Update get logic
markwylde Aug 22, 2021
d78ae90
Fixed a bunch of race conditions and hanging connections when closing…
markwylde Aug 23, 2021
78438e5
Implement multiple server notify test
markwylde Aug 23, 2021
067cd21
Implement conflicts
markwylde Sep 12, 2021
4ef816e
Refactor and fix patch/put conflicts
markwylde Sep 12, 2021
1119fbe
Add conflict to delete
markwylde Sep 12, 2021
07b4735
Fix #67 - Correlation id now rotates safely
markwylde Sep 12, 2021
28371b6
Add ready event
markwylde Sep 12, 2021
af96528
Make waitUntil cancellable
markwylde Sep 12, 2021
82ed265
Fix tests
markwylde Sep 12, 2021
e795244
#62 Implement lock cleanup on socket close
markwylde Sep 19, 2021
a8b9742
Refactor controllers into appropriate modules
markwylde Sep 20, 2021
98228a0
Implement conflict cleanup when all nodes have resolved conflict
markwylde Sep 30, 2021
863832e
Add notifys and locks system collections
markwylde Sep 30, 2021
1e37e44
Implemented system.nodes collections
markwylde Sep 30, 2021
b3fae20
#61 - Implement http server with get document and collection
markwylde Oct 1, 2021
c6476d7
#61 - Prevent starting http server when disabled
markwylde Oct 1, 2021
4d3484c
#71 - Implement basic web gui server
markwylde Oct 3, 2021
f0e8d3c
Guard notifiers cleanup
markwylde Oct 3, 2021
df9587c
Fix locking cleanup logic
markwylde Oct 8, 2021
567c41e
Fix insertDefaultDocument when server crashes
markwylde Oct 9, 2021
d774866
Add checkout submodules to ci
markwylde Oct 9, 2021
4947be9
Remove web meta
markwylde Oct 9, 2021
1a76658
Fix react bug with infinite loop
markwylde Oct 9, 2021
e200cd2
Implement document view
markwylde Oct 9, 2021
3c9e1bc
Upgrade basictap
markwylde Oct 9, 2021
2ad2dde
Add better debug message
markwylde Oct 9, 2021
6c9fd52
Add system.nodes to system.collections
markwylde Oct 9, 2021
d634453
Add root version information to http endpoint
markwylde Oct 10, 2021
d195628
Fix the insertDefaultDocument strategy logic
markwylde Oct 10, 2021
510eee2
Validate request body
markwylde Oct 11, 2021
420e36d
Fix a large chunk of raft and locks
markwylde Aug 11, 2022
7fd44d9
Cleanup
markwylde Aug 19, 2022
8d271eb
Merge branch 'master' of github.com:canhazdb/server into ha
markwylde Aug 19, 2022
e38a7d6
Merge branch 'master' of github.com:canhazdb/server into ha
markwylde Aug 19, 2022
f00afca
Implement insertDefaultDocument
markwylde Aug 19, 2022
8ebc6c3
Optimise waitUtil to syncronously check at first
markwylde Aug 19, 2022
eec9dee
Wait for raft before locking and unlocking
markwylde Aug 19, 2022
8750fc1
Ensure lock resolves only after all servers are synced
markwylde Aug 19, 2022
357ca58
Fix race conditions
markwylde Aug 21, 2022
ac26bcd
Add timeout to raft test as waitingForInitialLocks can take a while
markwylde Aug 21, 2022
4e5a674
Implement cleaning orphaned locks when node disconnects
markwylde Aug 21, 2022
df1bc04
Cancel waitUtil if context.closed
markwylde Aug 21, 2022
e0948aa
Upgrade dependencies; Enable test;
markwylde Oct 2, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .dockerignore

This file was deleted.

5 changes: 0 additions & 5 deletions .eslintrc.js

This file was deleted.

5 changes: 5 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": [
"semistandard"
]
}
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:

strategy:
matrix:
node-version: [12.x, 14.x]
node-version: [14.x, 16.x]

steps:
- uses: actions/checkout@v2
Expand Down
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
node_modules
canhazdata
certs
node_modules
coverage
web/public
web/meta.json
20 changes: 0 additions & 20 deletions Dockerfile

This file was deleted.

Loading