Alex Dadgar
a6933ed9aa
comment
2016-12-09 17:51:50 -08:00
Alex Dadgar
23dee058c7
fix high cpu usage + faster encoding
2016-12-09 17:33:10 -08:00
Alex Dadgar
723f8f0343
Benchmark
2016-12-09 14:44:50 -08:00
Alex Dadgar
2b50359edf
Fix FD leak
2016-12-09 10:49:39 -08:00
Alex Dadgar
81e2d53e2d
Fixes race on StreamFramer Destroy
...
This PR:
* Fixes a race in which StreamFramer could panic while closing.
* Simplifies the logic of the StreamFramer
* Removes a potentially leaked goroutine
2016-11-17 20:14:47 -08:00
Alex Dadgar
bcb1a2e216
Do not allow path to escape the alloc dir for the FS commands
2016-10-03 14:58:44 -07:00
Alex Dadgar
014d8fe0e8
lock heartbeat
2016-08-11 18:37:08 -07:00
Alex Dadgar
0b9449fe7e
better flush and connection closed handling
2016-07-25 11:16:54 -07:00
Alex Dadgar
67fe934342
control-c works
2016-07-25 11:16:54 -07:00
Alex Dadgar
cbcb32096f
small fixes
2016-07-25 11:16:54 -07:00
Alex Dadgar
2a32e839ac
Add logs command test
2016-07-25 11:16:54 -07:00
Alex Dadgar
f3a71e0143
Handle skipping indexes
2016-07-25 11:16:54 -07:00
Alex Dadgar
f22e228e82
log tests
2016-07-25 11:16:54 -07:00
Alex Dadgar
b65fd2624e
Support non-following logs
2016-07-25 11:16:54 -07:00
Alex Dadgar
4cf65d7944
Read from correct offset
2016-07-25 11:16:01 -07:00
Alex Dadgar
53f198932f
Fix buffer reuse
2016-07-25 11:16:01 -07:00
Alex Dadgar
065cf0915a
tests
2016-07-25 11:16:01 -07:00
Alex Dadgar
2530f7bd40
initial api and command
2016-07-25 11:16:01 -07:00
Alex Dadgar
cc0fec53f1
initial log api impl
2016-07-25 11:16:01 -07:00
Mathias Lafeldt
acb9997ca7
Fix typos in source code
2016-07-18 16:24:46 +02:00
Alex Dadgar
991220b5c7
implement -n for tail
2016-07-13 13:26:09 -06:00
Alex Dadgar
19ca6e7b55
address comments
2016-07-12 17:01:33 -06:00
Alex Dadgar
ffb57ffd6f
Address more comments
2016-07-12 10:45:05 -06:00
Alex Dadgar
12ae85ff0c
Tests and handle conn close behavior better
2016-07-12 10:18:48 -06:00
Alex Dadgar
3cc13aeca1
initial comments
2016-07-11 10:58:18 -06:00
Alex Dadgar
65a64fb1cb
StreamFramer tests
2016-07-10 13:57:20 -04:00
Alex Dadgar
4f7c5fa502
StreamFramer encapsulates the sending, heartbeating and batching behavior of frames
2016-07-10 13:57:04 -04:00
Alex Dadgar
5b7ea09a7c
Only initialize watcher once, fix offsetting, implement tail non-follow
2016-07-10 13:57:04 -04:00
Alex Dadgar
451d63cfa6
Set up for testing
2016-07-10 13:57:04 -04:00
Alex Dadgar
a3d82ee47f
Flush and use correct buffer size
2016-07-10 13:57:04 -04:00
Alex Dadgar
2368722146
initial tail impl
2016-07-10 13:57:04 -04:00
Sean Chittenden
8e1777ae3a
Test for errors
2016-06-16 14:43:46 -07:00
Alex Dadgar
37a0c2065b
Fix missing format variable
2016-04-18 18:53:05 -07:00
Diptanu Choudhury
c8f74a3d9c
Added the /fs/cat/ api
2016-03-28 11:06:22 -07:00
Alex Dadgar
6454d7bb9f
Guard client/ api to ensure the client is running
2016-03-07 11:26:54 -08:00
Diptanu Choudhury
21847954e0
changed the API of the client
2016-01-14 13:35:42 -08:00
Diptanu Choudhury
ee369382aa
Fixed the query for extracting path from stat
2016-01-13 13:21:03 -08:00
Diptanu Choudhury
2b1962b9fd
Refactored the tests
2016-01-13 11:49:39 -08:00
Diptanu Choudhury
46bb3fb5cd
Fixed the logic of extracting alloc
2016-01-13 11:19:45 -08:00
Diptanu Choudhury
f7c367397f
Refactored the code
2016-01-12 22:25:12 -08:00
Diptanu Choudhury
11a67599b9
Implemeted readAt
2016-01-12 22:06:42 -08:00
Diptanu Choudhury
b5385b616d
Implemented the Stat API
2016-01-12 21:28:07 -08:00
Diptanu Choudhury
cbcdaec3fe
Added the Stat API
2016-01-12 15:25:51 -08:00
Diptanu Choudhury
744c226c23
Added methods for listing directories inside an alloc
2016-01-12 15:03:53 -08:00