Commit graph

  • 0c19e1590f
    Forking Thrift Go library to use 0.10.0 with THRIFT-4215 and THRIFT-4219 on top of it in hopes of fixing a stray nil buffer error. Renan DelValle 2018-06-26 18:38:54 -07:00
  • 18ce281252 Merge branch 'master' of https://github.com/pradykaushik/gorealis Pradyumna Kaushik 2018-06-25 11:04:51 -07:00
  • 91626dc7ec Followed same format as cluster.json. Pradyumna Kaushik 2018-06-25 10:56:42 -07:00
  • 5950129b79 Followed same format as cluster.json. Pradyumna Kaushik 2018-06-25 10:56:42 -07:00
  • 6c8ab10b64 Merge develop branch into master (#68) Renan DelValle 2018-06-22 12:57:21 -07:00
  • e8c40b9b5f
    Removing info that is now incorrect about zk options. Renan DelValle 2018-06-22 12:48:24 -07:00
  • 4935709a72
    Remove space. Renan DelValle 2018-06-22 12:43:42 -07:00
  • 3723e7dd2c
    Removing override fields for zk config. Renan DelValle 2018-06-22 12:40:09 -07:00
  • 1535c74b02
    Turning off debug mode for tests because it's too verbose. Making sure LevelLogger is initialized correctly under all scenarios. Renan DelValle 2018-06-22 12:37:54 -07:00
  • 2f88701c9c
    Merging master into branch. Renan DelValle 2018-06-22 11:45:43 -07:00
  • ee57cfae4b Place json client docs in separate subsection. Pradyumna Kaushik 2018-06-21 21:00:30 -07:00
  • 4b985cc80e Fix grammatical error. Pradyumna Kaushik 2018-06-21 20:52:14 -07:00
  • 7cb3efd784 Added docs for using dce-go and json client. Pradyumna Kaushik 2018-06-21 20:51:11 -07:00
  • b1992ba6d0 Using scheduler URL instead of leader from zk. Pradyumna Kaushik 2018-06-21 18:34:48 -07:00
  • 277d929950 Fix type errors and code cleanup. Pradyumna Kaushik 2018-06-21 18:33:49 -07:00
  • db69f0268d Run thermos jobs using json client. Pradyumna Kaushik 2018-06-21 18:28:51 -07:00
  • 67ec630430 Job json using docker-compose executor. Pradyumna Kaushik 2018-06-21 18:23:55 -07:00
  • 82ed77b7c6
    Removing option to override schema and ports for information found on Zookeeper. develop Renan DelValle 2018-06-15 14:59:22 -07:00
  • e84d455d51
    Merge 1bf341b815 into 8ca953f925 Renan DelValle 2018-06-15 21:47:06 +00:00
  • 1bf341b815
    Changing comments to reflect current change. Renan DelValle 2018-05-30 12:26:37 -07:00
  • 40d832f536
    Removing port and schema override as these can be set from Aurora itself. Renan DelValle 2018-05-30 12:23:42 -07:00
  • 280db21d33
    Adding port override back in. Renan DelValle 2018-04-12 18:11:07 -07:00
  • 1e1b2e48b7
    Changing code comments to reflect getting rid of port override. Renan DelValle 2018-04-12 15:22:25 -07:00
  • 93c62ac0c3
    Removing port override as it is not needed Renan DelValle 2018-04-12 15:12:36 -07:00
  • 8ca953f925
    Bug fix: using AND in place of OR or SSL flags. (#64) Renan DelValle 2018-05-29 12:46:16 -07:00
  • 0ad1a8d698
    Separating CA certificate path and client key and cert addition to options. Renan DelValle 2018-05-29 11:16:05 -07:00
  • bafea8b667
    Bug fix: using AND in place of OR or SSL flags. Renan DelValle 2018-05-23 13:43:09 -07:00
  • 800efccb31
    Merge pull request #63 from paypal/addSSLToExample kkrishna 2018-05-23 11:43:58 -07:00
  • 5d12029227
    Update PR template to hide away instructions on submission. Renan DelValle 2018-05-22 17:00:30 -07:00
  • 4f6a5e9741
    Adding SSL flags to sample client. Renan DelValle 2018-05-22 16:56:42 -07:00
  • e6b204b9da
    Removing unnecessary space. Renan DelValle 2018-05-13 18:34:34 -07:00
  • d03a7b61e4
    Removing napping from the TODO list as go's native http libraries are good enough. Renan DelValle 2018-01-24 16:54:24 -08:00
  • 0e387c4a73
    Changing to new format of update strategies which uses a union. staggeredUpdates Renan DelValle 2018-05-13 18:30:02 -07:00
  • 77bb78927e
    API update to support staggered updates prototype. Renan DelValle 2018-05-09 15:33:18 -07:00
  • 40153d5cb1
    Temporary modification for testing, do not use in live environment. Renan DelValle 2018-03-19 15:05:56 -07:00
  • 66c5b177a1 Initial update to json client. Testing required. Pradyumna Kaushik 2018-05-02 16:42:26 -04:00
  • d64a91784a
    Turn on logging by default. Renan DelValle 2018-04-16 17:54:41 -07:00
  • 49e3194ba0
    Bug fix: Logger was being set to NOOP despite no logger being provided when debug mode is turned on. Renan DelValle 2018-04-16 16:54:53 -07:00
  • 4f5766b443
    Misc. bug fixes and addition of debug logging (#61) Renan DelValle 2018-04-13 11:03:29 -07:00
  • 7b1f51a747
    Adding port override back in. Renan DelValle 2018-04-12 18:11:07 -07:00
  • 7f104dce70
    Changing code comments to reflect getting rid of port override. Renan DelValle 2018-04-12 15:22:25 -07:00
  • 0dec820951
    Removing port override as it is not needed Renan DelValle 2018-04-12 15:12:36 -07:00
  • 70dfb02169
    Minor changes to demonstrate how a logger can be used in conjunction to debug mode. Renan DelValle 2018-04-12 12:26:54 -07:00
  • 7662277025
    Changing the logging paradigm to only require a single logger. All logging will be disabled by default. If debug is enabled, and a logger has not been set, the library will default to printing all logging (INFO and DEBUG) to the stdout. Renan DelValle 2018-04-12 11:56:16 -07:00
  • 256ec2ea47
    Removing a leftover helper function from before we changed how we configured the client. Renan DelValle 2018-04-10 14:19:10 -07:00
  • 3c1c1f79b8
    Removing another superflous debug statement. Renan DelValle 2018-03-06 17:12:11 -08:00
  • bfd9e985c2
    Changing %v to %+v for composite structs. Removing a repetitive statement for the Aurora return code. Renan DelValle 2018-03-06 16:25:04 -08:00
  • 65fcb59879
    Making Mutex a pointer so that there's no chance it can accidentally be copied. Renan DelValle 2018-03-06 15:36:39 -08:00
  • 8d5a2d2414
    Removing OK Aurora acknowledgment. Renan DelValle 2018-03-06 15:00:29 -08:00
  • 69442d5957
    Adding a debug logger that is turned off by default. Info logger is enabled by default but prints out less information. Renan DelValle 2018-03-06 12:43:09 -08:00
  • 7152f568fe
    Fixing possible race condition when passing backoff around as a pointer. Renan DelValle 2018-03-05 23:23:16 -08:00
  • c0d2969976 Adding Admin Client calls GetQuota & SetQuota (#59) Robert Allen 2018-03-07 16:24:27 -08:00
  • 51354eb232 Refactor work to eliminate depricated Quota Robert Allen 2018-03-07 12:50:09 -08:00
  • b0853e87b9 Adding Admin Client calls GetQuota & SetQuota Robert Allen 2018-03-06 22:41:09 -08:00
  • 66809c55f7
    Merge pull request #58 from paypal/zkPolish kkrishna 2018-03-05 12:09:18 -08:00
  • acc54c1015
    Adding logging when there is a client error. Renan DelValle 2018-03-05 11:20:39 -08:00
  • 0bb23cec71
    Adding unit tests for Zookeeper related functions to prevent regressions. Renan DelValle 2018-03-03 14:13:47 -08:00
  • 3d62df1684
    * Errors have been refactored. * ZK retries have been cleaned up. We will now retry after every error EXCEPT when we have a badly formed path. * ZK library has been reworked with optional arguments pattern to not be so intertwined with the cluster.json file. * Timeout error has been re-implemented as RetryError. RetryError behaves like a Timeout error but is used exclusively to add more context privately. This allows us to have unit tests that check our retry mechanism is actually retrying. * Additional logging has been added to retry mechanisms as well as to the Zookeeper library we use. Renan DelValle 2018-03-03 13:58:36 -08:00
  • dc327bebad change config for certs path (#57) Sivaram Mothiki 2018-03-02 15:21:45 -08:00
  • b23a3fbf27 change config for certs path Mothiki 2018-03-02 15:14:40 -08:00
  • a43dc81ea8
    Simplifying retry mechanism for Thrift Calls (#56) Renan DelValle 2018-02-15 15:16:39 -08:00
  • def08d2710
    Wrapping lock and unlock in an anonymous function so that we can use dfer on unlock such that it is called in the case of a panic. Renan DelValle 2018-02-13 16:14:27 -08:00
  • c89ff2b19f
    Adding more logging to the retry. Renan DelValle 2018-02-12 18:02:31 -08:00
  • 2374e11b6d
    ZK leader finder now returns a temporary error instead of constantly no leader found and quitting. It could be that the leader info is being propagated so it's worth trying another time. Renan DelValle 2018-02-12 15:31:50 -08:00
  • 3a8442522f
    Removing double closure at as it's unmaintable and can be error prone. Separated back offs into a generic one and a thrift call specific one. Renan DelValle 2018-02-12 15:30:50 -08:00
  • 49342ec140
    Deleting permament error as it doesn't make sense. Just return a plain old error and that will be considered permanent. Renan DelValle 2018-02-12 15:29:27 -08:00
  • 64948c3712
    Backoff mechanism fix (#54) Renan DelValle 2018-02-06 12:44:27 -08:00
  • 3647116fdb
    Merge branch 'master' into retryFix Renan DelValle 2018-02-06 12:43:28 -08:00
  • a6b077d1fd Aurora jobupdate functionality -- pause/resume/pulse api (#55) kkrishna 2018-02-06 12:39:02 -08:00
  • 3de1033696 Merge branch 'master' of github.com:kkrishna/gorealis Kumar Krishna 2018-02-06 12:37:19 -08:00
  • 4133f2cb88 Merge branch 'master' of https://github.com/paypal/gorealis Kumar Krishna 2018-02-01 17:12:35 -08:00
  • 50fb382541 Merge branch 'master' of https://github.com/paypal/gorealis Kumar Krishna 2018-02-01 17:12:35 -08:00
  • 1b9e8c52c3 aurora pause/resume/pulse api Kumar Krishna 2018-02-01 17:04:51 -08:00
  • b658803ccb
    Reverting changes to do thrift call to check if thrift endpoint is valid. Renan DelValle 2018-01-30 17:49:10 -08:00
  • d323c20896
    Fixing logic that can lead to nil error being returned and retry stopping early. Renan DelValle 2018-01-30 17:45:36 -08:00
  • 6ee8f1454e
    Added a low cost thrift call (GetTasksWithoutConfigs) to the new client function. If this call fails, along with all the retries, then the configuration given is invalid. We do this to fail earlier than the first thrift call that the user makes. Renan DelValle 2018-01-30 16:20:02 -08:00
  • 8bd3957247 GetJobs api (#53) kkrishna 2018-01-27 10:33:55 -08:00
  • 55f03b5ee5 Merge branch 'master' of github.com:kkrishna/gorealis Kumar Krishna 2018-01-27 10:26:28 -08:00
  • 45a2c8eed2 GetJobs api Kumar Krishna 2018-01-26 11:06:32 -08:00
  • 1180065923 GetJobs api Kumar Krishna 2018-01-26 11:06:32 -08:00
  • dbb08ded90
    Simplifying KillJob API implementation (#52) v1.2.0 Renan DelValle 2018-01-24 15:37:12 -08:00
  • c5e8f1b945
    Simplifying KillJob api implementation. By submitting an empty set to the thrift call, the Aurora scheduler will look for active tasks itself. Renan DelValle 2018-01-24 13:45:20 -08:00
  • a941bcb679
    Thread safety, misc fixes, and refactoring (#51) Renan DelValle 2018-01-21 19:30:01 -08:00
  • 75ebda1860
    Using defer with unlock so that it may be called in case of a panic Renan DelValle 2018-01-19 16:16:15 -08:00
  • 6c14157357
    Taking Misho's advice and returning nil whenever there is an error return so that there are no ambiguities. Renan DelValle 2018-01-18 14:51:53 -08:00
  • a6f6b03481
    Added test for Realis session thread safety. Tested ScheduleStatus monitor. Tested monitor timing out. Renan DelValle 2018-01-17 18:05:33 -08:00
  • 0c920ed60d
    Typeo fix Renan DelValle 2018-01-17 18:02:55 -08:00
  • c814ba26e9
    * Overhauled error handling. Backoff now recognizes temporary errors and continues to retry if it finds one. Renan DelValle 2018-01-17 15:40:10 -08:00
  • 145de5898e
    Changing Getcerts to GetCerts to match the style of the rest of the codebase. Renan DelValle 2018-01-17 15:39:23 -08:00
  • 1e6d4a516c
    Changing CreateService to mimic CreateJob by setting the batch size to the instance count. Renan DelValle 2018-01-17 15:37:55 -08:00
  • b8bf774aac
    Changing incorrect license in some source files. Renan DelValle 2018-01-17 14:29:28 -08:00
  • b2ffb73183
    Introducing temporary errors. Refactored reestablish connection code … (#50) Renan DelValle 2018-01-16 14:35:01 -08:00
  • 3e90e5db72
    Making receivers for error pointers. Making new function return pointers. Fixing typo. Renan DelValle 2018-01-16 14:33:56 -08:00
  • c7087c1150
    Introducing temporary errors. Refactored reestablish connection code to use NewClient. Added reestablish connection test to end to end tests. Renan DelValle 2018-01-12 17:37:06 -08:00
  • 1c426dd363
    Changing the drain monitor to match the rest of the monitors using timer and ticker. Made a generic schedule status monitor that can be used with any of the default sets provided. (#49) Renan DelValle 2018-01-07 13:30:02 -08:00
  • 7be8f025f8
    Changing the drain monitor to match the rest of the monitors using timer and ticker. Made a generic schedule status monitor that can be used with any of the default sets provided. Renan DelValle 2018-01-07 11:12:40 -08:00
  • 8d445c1c77
    Moving from govendor to dep, updated dependencies (#48) Renan DelValle 2018-01-07 13:13:47 -08:00
  • abc542f81f
    goimports run on whole project using goimports -w $(find . -type f -name '*.go' -not -path "./vendor/*" -not -path "./gen-go/*") Renan DelValle 2018-01-02 17:12:05 -08:00
  • 1d91d3da09
    Fixing akward space in PR template. Renan DelValle 2018-01-02 17:07:01 -08:00
  • 27e79edb18
    Making the pull request template more friendly. Renan DelValle 2018-01-02 17:04:55 -08:00