Commit Graph

313 Commits

Author SHA1 Message Date
Dmitry Simonenko ed1ddd01de odissey: set proper client transition in transaction pooling 2017-02-20 17:49:50 +03:00
Dmitry Simonenko 88de4ac4e3 odissey: implement connection pool limit logic
put clients into wait queue if all of route
pool_size server connections are used.

grant server connection for a first client in
the wait queue.
2017-02-20 17:39:36 +03:00
Dmitry Simonenko 25ee494da1 odissey: add QUEUE to ACTIVE client transition for session pooling 2017-02-20 16:06:56 +03:00
Dmitry Simonenko b11612d417 odissey: add client CPENDING state 2017-02-20 16:04:16 +03:00
Dmitry Simonenko 90a0e764cb odissey: add client pending pool 2017-02-20 16:00:29 +03:00
Dmitry Simonenko a1b1605771 odissey: switch to client pool for client management 2017-02-20 15:32:45 +03:00
Dmitry Simonenko 9e5a4f9d6e odissey: do not free client object on list unlink 2017-02-20 15:14:19 +03:00
Dmitry Simonenko ccf3f3abdf odissey: free client object on close 2017-02-20 15:08:40 +03:00
Dmitry Simonenko c182d2cee9 odissey: use total clients count to ensure connection limit 2017-02-20 15:05:38 +03:00
Dmitry Simonenko 1ceac30a20 odissey: save clients fiber id 2017-02-20 15:00:33 +03:00
Dmitry Simonenko 9d05578c11 odissey: change pooler startup message 2017-02-20 14:43:21 +03:00
Dmitry Simonenko fde44a5de4 odissey: add copy support for transaction pooling 2017-02-17 12:36:06 +03:00
Dmitry Simonenko 2d40129eb8 odissey: add copy command support for session pooling 2017-02-17 12:29:24 +03:00
Dmitry Simonenko fbd7401040 odissey: add router_copy files 2017-02-17 12:14:36 +03:00
Dmitry Simonenko c45fd49fdf odissey: drop server connection left in copy mode 2017-02-17 12:06:55 +03:00
Dmitry Simonenko c91959cfea odissey: add server copy flag 2017-02-17 12:06:28 +03:00
Dmitry Simonenko aea1d1957a odissey: update config file 2017-02-16 13:21:16 +03:00
Dmitry Simonenko e8923ef399 odissey: add cancel/rollback to config debug print 2017-02-16 13:19:22 +03:00
Dmitry Simonenko 629c674447 odissey: minor refactoring of be reset function 2017-02-16 13:18:39 +03:00
Dmitry Simonenko 7b3ec9cc13 odissey: turn off auto-cancel if route cancel is off 2017-02-16 13:15:23 +03:00
Dmitry Simonenko 5c3ba6ca25 odissey: add config route cancel param 2017-02-16 13:08:41 +03:00
Dmitry Simonenko d91bf4f370 odissey: add route scheme cancel field 2017-02-16 13:08:16 +03:00
Dmitry Simonenko bd4a9e61e2 odissey: update odissey.conf 2017-02-16 13:04:03 +03:00
Dmitry Simonenko 7b342c7a6a odissey: rollback off: auto-drop server connection on active txn 2017-02-16 13:02:50 +03:00
Dmitry Simonenko 45a1ba4cd1 odissey: add config route rollback option 2017-02-16 12:54:28 +03:00
Dmitry Simonenko 60fd87d0e1 odissey: add rollback scheme param to route 2017-02-16 12:53:44 +03:00
Dmitry Simonenko f730945875 odissey: fix config value read for discard 2017-02-14 18:36:16 +03:00
Dmitry Simonenko b83ba3eb0c odissey: rename route reset to discard 2017-02-14 18:33:08 +03:00
Dmitry Simonenko f3fa4eec13 odissey: do not send discard if reset is set to no 2017-02-14 18:29:56 +03:00
Dmitry Simonenko 52af00deb6 odissey: print route reset during debug bootstrap 2017-02-14 18:28:23 +03:00
Dmitry Simonenko 9a7fafe6d5 odissey: add config route reset 2017-02-14 18:27:20 +03:00
Dmitry Simonenko 749e19fbed odissey: add route scheme reset param 2017-02-14 18:26:45 +03:00
Dmitry Simonenko 96c0aca8a3 odissey: temporary remove -WError 2017-02-10 14:04:51 +03:00
Dmitry Simonenko 4c685ea2ae odissey: set -std=gnu99 2017-02-10 13:51:02 +03:00
Dmitry Simonenko 6fd1153f2a odissey: update build instructions 2017-02-07 18:58:26 +03:00
Dmitry Simonenko c6150f1b33 odissey: pass cmake build type to soprano submodule 2017-02-07 18:50:36 +03:00
Dmitry Simonenko 1292d5d67c odissey: update soprano submodule 2017-02-07 18:49:46 +03:00
Dmitry Simonenko 5b0a38b775 odissey: pass build type to machinarium 2017-02-07 18:43:36 +03:00
Dmitry Simonenko 90df0c754e odissey: update machinarium submodule 2017-02-07 18:43:00 +03:00
Dmitry Simonenko 0d0baac876 odissey: do not pass cflags to submodules 2017-02-07 18:39:55 +03:00
Dmitry Simonenko 5e3b6fdd6d odissey: force cflags for release/debug build 2017-02-07 18:36:28 +03:00
Dmitry Simonenko 851c4618f1 odissey: update machinarium submodule 2017-02-07 16:38:46 +03:00
Dmitry Simonenko eb1c2f5c7f odissey: link with -lrt 2017-02-06 16:53:17 +03:00
Dmitry Simonenko 7126c02954 odissey: properly include client_pool changes 2017-02-06 16:48:11 +03:00
Dmitry Simonenko 5a17a7ee99 odissey: set submodules auth-less git path 2017-02-06 16:40:45 +03:00
Dmitry Simonenko eb69e929cf odissey: integrate client pool into route 2017-02-02 14:30:31 +03:00
Dmitry Simonenko 763e04a911 odissey: add reworked client pool implementation 2017-02-02 14:24:19 +03:00
Dmitry Simonenko dfef256ff9 odissey: rework pooler client pool into client list 2017-02-02 12:54:26 +03:00
Dmitry Simonenko 4b02fd0909 odissey: add client state 2017-02-02 12:37:51 +03:00
Dmitry Simonenko c4ed7e387d odissey: implement basic client queue 2017-02-02 12:27:31 +03:00