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

Multi get, pluggable hashing and some code cleanup (#1) #145

Closed
wants to merge 91 commits into from

Commits on Mar 26, 2021

  1. Configuration menu
    Copy the full SHA
    8b67064 View commit details
    Browse the repository at this point in the history
  2. remove comment to self

    blackmad committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    ba33762 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c57620e View commit details
    Browse the repository at this point in the history

Commits on Mar 27, 2021

  1. .d.ts

    justjake committed Mar 27, 2021
    Configuration menu
    Copy the full SHA
    7653985 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9e2520e View commit details
    Browse the repository at this point in the history

Commits on Mar 29, 2021

  1. fix file name

    justjake committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    9d925d2 View commit details
    Browse the repository at this point in the history
  2. add version command (#5)

    blackmad committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    7b57c8b View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2fc73ae View commit details
    Browse the repository at this point in the history
  4. Merge pull request #4 from makenotion/jake--types

    Add type file with `getMulti`
    justjake committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    65e399f View commit details
    Browse the repository at this point in the history
  5. version and versionAll (#6)

    * version and versionAll
    
    * PR feedback
    blackmad committed Mar 29, 2021
    Configuration menu
    Copy the full SHA
    9a88a2b View commit details
    Browse the repository at this point in the history

Commits on Mar 30, 2021

  1. no-op lint fix commit

    blackmad committed Mar 30, 2021
    Configuration menu
    Copy the full SHA
    d6d527c View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2021

  1. move sources into src/

    justjake committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    ef2b165 View commit details
    Browse the repository at this point in the history
  2. tsconfig

    justjake committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    ceaf4e7 View commit details
    Browse the repository at this point in the history
  3. build with tsc

    justjake committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    f1cfc0e View commit details
    Browse the repository at this point in the history
  4. rename .js to .ts

    justjake committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    1119839 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    35a4789 View commit details
    Browse the repository at this point in the history
  6. tsify header.ts

    justjake committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    fc911c6 View commit details
    Browse the repository at this point in the history
  7. protocol.ts

    justjake committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    998ae68 View commit details
    Browse the repository at this point in the history
  8. utils.ts

    justjake committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    e553a66 View commit details
    Browse the repository at this point in the history
  9. serializer.ts

    justjake committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    efc52d6 View commit details
    Browse the repository at this point in the history
  10. server.ts

    justjake committed Apr 9, 2021
    Configuration menu
    Copy the full SHA
    67db715 View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2021

  1. WIP

    justjake committed Apr 10, 2021
    Configuration menu
    Copy the full SHA
    415b35a View commit details
    Browse the repository at this point in the history
  2. WIP2

    justjake committed Apr 10, 2021
    Configuration menu
    Copy the full SHA
    9f58c61 View commit details
    Browse the repository at this point in the history
  3. memjs.ts

    justjake committed Apr 10, 2021
    Configuration menu
    Copy the full SHA
    f056af4 View commit details
    Browse the repository at this point in the history
  4. fix exports

    justjake committed Apr 10, 2021
    Configuration menu
    Copy the full SHA
    e15050a View commit details
    Browse the repository at this point in the history
  5. revert changes to tests

    justjake committed Apr 10, 2021
    Configuration menu
    Copy the full SHA
    b6a66fa View commit details
    Browse the repository at this point in the history
  6. fix tests

    justjake committed Apr 10, 2021
    Configuration menu
    Copy the full SHA
    a38b281 View commit details
    Browse the repository at this point in the history

Commits on Apr 11, 2021

  1. WIP TSify more

    blackmad committed Apr 11, 2021
    Configuration menu
    Copy the full SHA
    889ee89 View commit details
    Browse the repository at this point in the history

Commits on Apr 12, 2021

  1. TSify tests (poorly?)

    blackmad committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    42ad49d View commit details
    Browse the repository at this point in the history
  2. all tests pass!

    blackmad committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    0f7a3b4 View commit details
    Browse the repository at this point in the history
  3. better tap test type

    blackmad committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    f0051bd View commit details
    Browse the repository at this point in the history
  4. Update src/memjs/header.ts

    Co-authored-by: David Blackman <blackmad@makenotion.com>
    justjake and blackmad committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    95ebb58 View commit details
    Browse the repository at this point in the history
  5. Update src/memjs/memjs.ts

    Co-authored-by: David Blackman <blackmad@makenotion.com>
    justjake and blackmad committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    631e573 View commit details
    Browse the repository at this point in the history
  6. Update src/memjs/memjs.ts

    Co-authored-by: David Blackman <blackmad@makenotion.com>
    justjake and blackmad committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    5246465 View commit details
    Browse the repository at this point in the history
  7. Update src/memjs/memjs.ts

    Co-authored-by: David Blackman <blackmad@makenotion.com>
    justjake and blackmad committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    128be58 View commit details
    Browse the repository at this point in the history
  8. Update src/memjs/memjs.ts

    Co-authored-by: David Blackman <blackmad@makenotion.com>
    justjake and blackmad committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    c54fec6 View commit details
    Browse the repository at this point in the history
  9. ci

    justjake committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    07cb9a8 View commit details
    Browse the repository at this point in the history
  10. Merge pull request #8 from makenotion/jake--typescript

    Convert to typescript
    justjake committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    0cd16db View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    ed0b4e1 View commit details
    Browse the repository at this point in the history
  12. move test into src

    justjake committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    db2deee View commit details
    Browse the repository at this point in the history
  13. mess with imports

    justjake committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    b4459f4 View commit details
    Browse the repository at this point in the history
  14. bench seems busted...

    justjake committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    9456ef9 View commit details
    Browse the repository at this point in the history
  15. ci on every branch pr?

    justjake committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    d55fe86 View commit details
    Browse the repository at this point in the history
  16. test includes tsc now

    justjake committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    cdd75d9 View commit details
    Browse the repository at this point in the history
  17. pull request target??

    justjake committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    e1cef37 View commit details
    Browse the repository at this point in the history
  18. fix getmulti result

    justjake committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    24164aa View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    f6ae576 View commit details
    Browse the repository at this point in the history
  20. set: pass through CAS token

    justjake committed Apr 12, 2021
    Configuration menu
    Copy the full SHA
    9a1cd1e View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    0f88a3a View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    871fddd View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    6856969 View commit details
    Browse the repository at this point in the history

Commits on Apr 13, 2021

  1. correctly handle CAS failure

    justjake committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    524856b View commit details
    Browse the repository at this point in the history
  2. cli tester thingy

    justjake committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    471d42d View commit details
    Browse the repository at this point in the history
  3. make cli self-executing

    justjake committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    b7dbe88 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    477a74e View commit details
    Browse the repository at this point in the history
  5. remove unused logger

    justjake committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    1fc7181 View commit details
    Browse the repository at this point in the history
  6. more commento

    justjake committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    258c3a9 View commit details
    Browse the repository at this point in the history
  7. test set w/ cas

    justjake committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    ba50aeb View commit details
    Browse the repository at this point in the history
  8. Merge pull request #9 from makenotion/jake--cas

    Add support for Compare And Swap (CAS) to get, getMulti, and set
    justjake committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    efce2eb View commit details
    Browse the repository at this point in the history
  9. WIP: remove callbacks from public methods (#10)

    * WIP: remove callbacks from public methods
    
    * remove some !
    
    * finish with methods that use this.perform
    
    * wip: fix test
    
    * wip 2 more tests
    
    * all tests pass
    justjake committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    87cb9c7 View commit details
    Browse the repository at this point in the history
  10. Check in and productionize typescript build (#11)

    * build settings for node@12
    
    * node>=12
    
    * set up everything to ensure we check in lib
    
    * smoketest
    
    * dont check in tests tho
    
    * ensure-clean: print the diff pls
    
    * ???
    justjake committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    e7a523d View commit details
    Browse the repository at this point in the history
  11. Make getMulti return type non-null (#12)

    * getMulti not null
    
    * derf
    justjake committed Apr 13, 2021
    Configuration menu
    Copy the full SHA
    c3432a4 View commit details
    Browse the repository at this point in the history

Commits on May 18, 2021

  1. Configuration menu
    Copy the full SHA
    2f3670a View commit details
    Browse the repository at this point in the history

Commits on May 20, 2021

  1. Fix incr seq timing in get milti (#14)

    * error on some weird edge cases we are having trouble debugging
    
    * fix race in getMulti
    blackmad committed May 20, 2021
    Configuration menu
    Copy the full SHA
    799b44b View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2023

  1. added callbacks to versionAll for better errors

    arturoolvera authored and Arturo Olvera committed Feb 6, 2023
    Configuration menu
    Copy the full SHA
    fdb2efe View commit details
    Browse the repository at this point in the history
  2. readme, gitignore, linting

    arturoolvera authored and Arturo Olvera committed Feb 6, 2023
    Configuration menu
    Copy the full SHA
    9a781ea View commit details
    Browse the repository at this point in the history
  3. naming and notation

    arturoolvera committed Feb 6, 2023
    Configuration menu
    Copy the full SHA
    59493e2 View commit details
    Browse the repository at this point in the history
  4. naming

    arturoolvera committed Feb 6, 2023
    Configuration menu
    Copy the full SHA
    4a0e8e0 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2023

  1. comments

    arturoolvera committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    bbf0e84 View commit details
    Browse the repository at this point in the history
  2. didnt compile

    arturoolvera committed Feb 9, 2023
    Configuration menu
    Copy the full SHA
    2a63687 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2023

  1. Merge pull request #15 from makenotion/arturo--add-versionAll-callbacks

    added callbacks to versionAll
    arturoolvera committed Feb 10, 2023
    Configuration menu
    Copy the full SHA
    39cf942 View commit details
    Browse the repository at this point in the history

Commits on Apr 7, 2023

  1. Hanlde server restart

    leon-root committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    2a19d80 View commit details
    Browse the repository at this point in the history
  2. nit, remove white space

    leon-root committed Apr 7, 2023
    Configuration menu
    Copy the full SHA
    5341559 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2023

  1. Merge pull request #16 from makenotion/leon/socket.close

    Auto Reconnect when socket is closed
    leon-root committed May 17, 2023
    Configuration menu
    Copy the full SHA
    2ede258 View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2023

  1. Add getMultiWithErrors

    schleyfox committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    9d21572 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2023

  1. Test getMultiWithErrors

    schleyfox committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    c334faa View commit details
    Browse the repository at this point in the history
  2. Merge pull request #17 from makenotion/benjamin-getmultiwitherrors

    Add getMultiWithErrors
    schleyfox committed Sep 29, 2023
    Configuration menu
    Copy the full SHA
    7010678 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2023

  1. Error out waiting clients on close, handle too many connections

    Previous behavior was to hang forever on unexpected close or unhandled
    error response.
    schleyfox committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    bade443 View commit details
    Browse the repository at this point in the history
  2. Comment error string

    schleyfox committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    cb1693c View commit details
    Browse the repository at this point in the history
  3. Merge pull request #18 from makenotion/benjamin--handle-close-and-too…

    …-many-conns
    
    Error out waiting clients on close, handle too many connections
    schleyfox committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    5da51e6 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    99b24c4 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #19 from makenotion/benjamin--reset-buffers-on-rec…

    …onnect
    
    Reset responseBuffer on error, close, and new connections
    schleyfox committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    dff5481 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    19c9bb3 View commit details
    Browse the repository at this point in the history
  7. Merge pull request #20 from makenotion/bump.version

    bump version to clear circleCI cache
    leon-root committed Oct 3, 2023
    Configuration menu
    Copy the full SHA
    c84319e View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2023

  1. Add versionAllWithErrors

    schleyfox committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    a8a1eca View commit details
    Browse the repository at this point in the history
  2. add types

    schleyfox committed Nov 15, 2023
    Configuration menu
    Copy the full SHA
    4f93728 View commit details
    Browse the repository at this point in the history

Commits on Nov 16, 2023

  1. Add tests

    schleyfox committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    aab7778 View commit details
    Browse the repository at this point in the history
  2. bump version

    schleyfox committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    02dabaa View commit details
    Browse the repository at this point in the history
  3. Merge pull request #21 from makenotion/benjamin--versionallwitherrors

    Add versionAllWithErrors to return info on which hosts succeeded or failed
    schleyfox committed Nov 16, 2023
    Configuration menu
    Copy the full SHA
    9137a13 View commit details
    Browse the repository at this point in the history

Commits on Feb 14, 2024

  1. Use sock.destroy() instead of end() on timeout, 1.2.4-NOTION.1

    Unifies error handling/resetting state in error()
    schleyfox committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    7a521a2 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #22 from makenotion/benjamin--destroy-socket-on-ti…

    …meout
    
    Destroy() socket on timeout
    schleyfox committed Feb 14, 2024
    Configuration menu
    Copy the full SHA
    d7ce226 View commit details
    Browse the repository at this point in the history