57 Commits (fc728617210e7658d9869883e6fd30adbeb21f69)

Author SHA1 Message Date
ansuz a63bea1f59 remove invalid callback which would totally break channelBytes 5 years ago
ansuz 3c1aadd6c1 archive metadata even if there is no corresponding channel log 5 years ago
ansuz a3a7bcbe35 add comments for lots of functions 5 years ago
ansuz d6d7f4f601 include the size of the metadata log in the computed size of a channel 5 years ago
ansuz 2aebadcff3 use the correct path for channel data when restoring logs from the archive 5 years ago
ansuz 1c89e8d6ac A few updates for editable metadata
* add and update many comments
* correctly handle metadata for young channels and range requests
* add a simple implementation of 'writeMetadata'
5 years ago
ansuz 206de52ee8 call back from writeMetadata 5 years ago
ansuz bf058d8042 prevent multiple callbacks when reading dedicated metadata 6 years ago
ansuz b36f50f2c9 update metadata queries to include edits 6 years ago
ansuz b128b7f02c updated methods for working with editable metadata 6 years ago
ansuz fd43da2dbf archive and restore metadata logs and channel logs together 6 years ago
ansuz a16d7171ad add some more notes 6 years ago
ansuz 0668abf68c correct the regular expression for iterating over channels 6 years ago
ansuz fc9aaf0ecb remove unnecessary argument from channelExists
also add some notes
6 years ago
ansuz 3513e437b6 update atime when accessing files 6 years ago
ansuz 46cd796db5 label code that will need to change for editable metadata 6 years ago
ansuz d19b704bb8 fix an inverted boolean 6 years ago
ansuz 1e5248ff9d implement methods for checking if a file exists in the database or the archive 6 years ago
ansuz 58cee9e13d remove an XXX because the code looks safe 6 years ago
ansuz 6aa6b706a4 don't release until you think about this XXX a bit more 6 years ago
ansuz ddf4a6a784 pass the correct path to 'listChannels' for 'listArchivedChannels' 6 years ago
ansuz 7e455e6fce drop unnecessary code, restore instead of remove archived files in restoration script, change restore archived name 6 years ago
ansuz cb0c4ee944 don't continue iterating in listChannels until a the current task has called back 6 years ago
ansuz c0d908af4d implement 'unarchiveChannel' 6 years ago
ansuz dd375a2a22 every type of storage should have its own nested directory within the archive 6 years ago
ansuz 7647f7c68a implement four new storage APIs
* listChannels
* listArchivedChannels
* archiveChannel
* removeArchivedChannel
6 years ago
ansuz 253545636b add a note to fix some weird behaviour in storage/file 6 years ago
ansuz e1e6d51038 new logging api 6 years ago
ansuz 51fae45cce add notes re: logging and cold storage 6 years ago
ansuz 0a1971cfee improved support for nested data directories 6 years ago
ansuz 1600f800e8 add a todo for flat file db atime 6 years ago
yflory ef0c08130d Stop the process when expire-channels is done 7 years ago
ansuz a5b7b0191f correct validation for 'channelName' 7 years ago
Caleb James DeLisle b63d1527a0 Small bit of better logging 7 years ago
Caleb James DeLisle 014aacc76a Added a new RPC to get file offsets of messages by hash or of last 2 checkpoints, also improved checking of valid channel names and fixed a pull-stream bug and exposed async-store to the window 7 years ago
Caleb James DeLisle b3a873bbc9 Fix flow 7 years ago
Caleb James DeLisle 88f3e730b9 Update package.json and sync file.js 7 years ago
Caleb James DeLisle f3167964f4 In case there is an error parsing one of the messages in a file, catch rather than blowing up 7 years ago
Caleb James DeLisle edeb1e25d3 Bad solution to a bad problem 7 years ago
yflory cd7c5abc3e Fix a missing callback in closeChannel 7 years ago
ansuz b295aaa6c7 harden clearChannel implementation 8 years ago
ansuz a756faf818 lint compliance 8 years ago
ansuz eeb2ee2d17 add clear channel rpc 8 years ago
ansuz 78b11584f8 remove unused variables 8 years ago
ansuz d0466a2052 implement 'getChannelSize' api in storage 8 years ago
ansuz 1f2e45d6c8 improved fs storage adaptor and config docs
* regularly close open file descriptors older than channelExpirationMs
* clean up older file descriptors when exceeding openFileLimit
8 years ago
ansuz 4b238de84c quieter stdout and stderr logs 8 years ago
Caleb James DeLisle 038a986e83 Fix path for file storage on windows 8 years ago
ansuz fc7576fe20 implement channel removal 8 years ago
ansuz 38d1a1a291 faster message iteration 8 years ago