Closed mantycore closed 5 years ago
Post (with attachments) creation protocol:
post is created files are loaded
browser node requests server nodes for attachment storage (broadcast)
server node replies with storage permission
browser node sends attachment
server node receives attachment server node sends reply confirmation for receiving attachment
when all attachments are confirmed by at least one server:
browser node broadcasts a poema for storage (without pre request, just a broadcast)
More or less done. Todo:
Unfinished TODOs are converted to separate tasks
Server often fails with timeout to request the file being uploaded. It is unsafe to replicate a post without first ensuring that at least one server node have its attachments safely stored; so the protocol for creating post needs to be modified.