Commit Graph

  • 4c26cbb3de Merge branch 'main' into dev Derek Collison 2023-05-12 12:38:20 -07:00
  • fc64c6119d Use monotonic time for measuring time internally (#4154) Derek Collison 2023-05-12 12:37:16 -07:00
  • 286a1632ca Use monotonic time for measuring time internally Waldemar Quevedo 2023-05-05 11:24:18 -07:00
  • 11e364d9c0 Tweak outbound queue memory test to only log if growth exceeds 10% (#4120) Neil 2023-05-12 12:34:24 +01:00
  • bdb0ba9ae5 [FIXED] Can't scale up some older streams (#4146) Derek Collison 2023-05-10 21:42:59 -07:00
  • 5e029d08d5 For older R1 streams created by previous servers we could have no cluster for the stream assignment group which would prevent scale up with newer servers. Derek Collison 2023-05-10 17:59:28 -07:00
  • 2f2498ab7e Bump to 2.9.17-beta.7 Derek Collison 2023-05-10 15:32:45 -07:00
  • 990ac56557 Merge branch 'main' into dev Derek Collison 2023-05-10 15:31:54 -07:00
  • 81bf92b2c6 [IMPROVED] Leadership transfer (#4145) Derek Collison 2023-05-10 15:30:38 -07:00
  • a17357c6ae When doing leadership transfer stepdown as soon as we know we have sent the EntryLeaderTransfer entry. Derek Collison 2023-05-10 12:27:33 -07:00
  • 72485608d0 [IMPROVED] Leader transfer process (#4143) Derek Collison 2023-05-10 08:24:15 -07:00
  • 717afae9ef When doing a leader transfer clear vote state on leader and when non-chosen peers receive the update Derek Collison 2023-05-10 07:49:22 -07:00
  • c5c5a34fec Bump to 2.9.17-beta.6 Derek Collison 2023-05-09 20:12:22 -07:00
  • 2f2440f270 Merge branch 'main' into dev Derek Collison 2023-05-09 20:11:53 -07:00
  • b951cd155d Improvements on raft leader handoff. (#4142) Derek Collison 2023-05-09 18:22:37 -07:00
  • b9af0d0294 Only do no-leader stepdown on transfer after a delay if we are still the leader Derek Collison 2023-05-09 17:19:14 -07:00
  • b44beb4b54 Make sure to update peer set and remove old peers after new leader takes over Derek Collison 2023-05-09 15:15:02 -07:00
  • 6e6ce3a6f6 Backport outbound queues test changes (#4120) to main (#4139) Derek Collison 2023-05-09 07:41:23 -07:00
  • d7ae2cbb5f Backport #4120 to main Neil Twigg 2023-05-09 11:24:35 +01:00
  • 16e9d69588 Fixed issue with route s2_auto when compression is actually off (#4137) Derek Collison 2023-05-08 08:20:59 -07:00
  • 1ce12ba195 Fixed issue with route s2_auto when compression is actually off Ivan Kozlovic 2023-05-08 09:06:16 -06:00
  • 650181a2ae Bump GH Actions versions (Go; node12 deprecation) (#4136) Derek Collison 2023-05-08 07:08:56 -07:00
  • 97df36e7eb Bump GH Actions versions (Go; node12 deprecation) Phil Pennock 2023-05-07 22:01:34 -04:00
  • 168fb22df5 Fix one more test that did not set ack policy to explicit Derek Collison 2023-05-06 22:05:31 -07:00
  • 08938034a5 Fix test that did not set ack policy to explicit Derek Collison 2023-05-06 19:54:42 -07:00
  • ed3f8be0c5 Bump version 2.10.0-beta.36 Derek Collison 2023-05-06 18:49:13 -07:00
  • 18244ea8cb Fix test that did not set ack policy to explicit Derek Collison 2023-05-06 15:10:46 -07:00
  • caa262513d Fix test that did not set ack policy which is needed Derek Collison 2023-05-06 14:15:44 -07:00
  • dbff40f2b6 Adopt same update from main Derek Collison 2023-05-06 09:56:01 -07:00
  • 4175e4ee9c Merge branch 'main' into dev Derek Collison 2023-05-06 09:55:34 -07:00
  • 76f4358349 [IMPROVED] Optimizations for large single hub account leafnode fleets. (#4135) Derek Collison 2023-05-06 09:53:08 -07:00
  • 80db7a22ab Optimizations for large single hub account leafnode fleets. Added a leafnode lock to allow better traversal without copying of large leafnodes in a single hub account. Derek Collison 2023-05-05 13:14:49 -07:00
  • fb1d86d506 Record the stream and consumer info timestamps R.I.Pienaar 2023-05-05 16:40:28 +02:00
  • 40ea58fc51 Stop using UTC for time in flushClients (#4132) Waldemar Quevedo 2023-05-04 17:35:50 -07:00
  • b886fed2fb Stop using UTC for time for flushClients Waldemar Quevedo 2023-05-04 15:50:45 -07:00
  • 69fb3db0f5 Optimize consumer messages sequences for multiple subjects (#4129) Tomasz Pietrek 2023-05-04 20:13:13 +02:00
  • 7c1c4ea5fb Optimize consumer messages sequences for multiple subjects Tomasz Pietrek 2023-05-03 22:10:09 +02:00
  • 9fa724cd7b Merge branch 'main' into dev Derek Collison 2023-05-03 21:00:35 -07:00
  • da8aeac91b Fix flapper Derek Collison 2023-05-03 21:00:17 -07:00
  • 68f6b59fc7 Merge branch 'main' into dev Derek Collison 2023-05-03 19:51:24 -07:00
  • ae73e6a573 Bump to 2.9.17-beta.5 Derek Collison 2023-05-03 19:50:21 -07:00
  • 413486f57d [IMPROVED] Protect against usage drift (#4131) Derek Collison 2023-05-03 19:49:39 -07:00
  • 21239022bd Protect against usage drift for any unforseen reason and if detected correct. Derek Collison 2023-05-03 17:09:06 -07:00
  • 311e3feb5f Merge branch 'main' into dev Ivan Kozlovic 2023-05-03 17:38:40 -06:00
  • 793db749ff [FIXED] Subscription interest issue due to configuration reload (#4130) Derek Collison 2023-05-03 16:15:33 -07:00
  • 8a4ead22bc Updates based on code review Ivan Kozlovic 2023-05-03 16:14:51 -06:00
  • 7afe76caf8 Fixed Sublist.RemoveBatch to remove subs present, even if one isn't Ivan Kozlovic 2023-05-03 15:17:08 -06:00
  • 95e4f2dfe1 Fixed accounts configuration reload Ivan Kozlovic 2023-03-24 13:15:20 -06:00
  • 840c264f45 Cleanup use of s.opts and fixed some lock (deadlock/inversion) issues Ivan Kozlovic 2023-03-20 17:45:48 -06:00
  • b61e411b44 Fix race in reload and gateway sublist check (#4127) Derek Collison 2023-05-02 18:12:56 -07:00
  • 938ffcba20 Fix race in reload and gateway sublist check Waldemar Quevedo 2023-05-02 17:36:08 -07:00
  • 8cb32930d9 Small raft improvements. (#4126) Derek Collison 2023-05-02 17:29:34 -07:00
  • ae73f7be55 Small raft improvements. Derek Collison 2023-05-02 16:44:27 -07:00
  • e7b01c4154 Merge branch 'main' into dev Derek Collison 2023-05-02 16:30:00 -07:00
  • 9ef71893db Bump to 2.9.17-beta.4 Derek Collison 2023-05-02 09:43:11 -07:00
  • 188eea42cc [IMPROVED] Do not hold filestore lock during remove that needs to do IO. (#4123) Derek Collison 2023-05-02 09:42:38 -07:00
  • 4a58feff27 When removing a msg and we need to load the msg block and incur IO, unlock fs lock to avoid stalling other activity on other blocks. E.g removing and adding msgs at the same time. Derek Collison 2023-05-02 08:56:43 -07:00
  • 3072e0a653 Tweak outbound queue memory test to only log if growth exceeds 10% Neil Twigg 2023-05-02 09:46:39 +01:00
  • eb1eb3c49e Merge branch 'main' into dev Derek Collison 2023-05-01 16:29:35 -07:00
  • ff6c80350b [FIXED] A stream raft node could stay running after a stop(). (#4118) Derek Collison 2023-05-01 16:23:03 -07:00
  • c24229287f [ADDED] LeafNode: TLSHandshakeFirst option (#4119) Derek Collison 2023-05-01 16:12:27 -07:00
  • f098c253aa Make sure we adjust accounting reservations when deleting a stream with any issues. Derek Collison 2023-05-01 15:54:37 -07:00
  • 0a02f2121c [ADDED] LeafNode: TLSHandhsakeFirst option Ivan Kozlovic 2023-05-01 16:41:51 -06:00
  • f5ac5a4da0 Fix for a bug that could leave a raft node running when stopping a stream. This can happen when we reset a stream internally and the stream had a prior snapshot. Derek Collison 2023-05-01 13:22:06 -07:00
  • 1eed0e8c75 Bump to 2.9.17-beta.3 Derek Collison 2023-04-30 17:43:59 -07:00
  • e158c46884 Merge branch 'main' into dev Derek Collison 2023-04-30 17:37:47 -07:00
  • 7ad2dd2510 [IMPROVED] Updating of a large fleet of leafnodes. (#4117) Derek Collison 2023-04-30 17:32:14 -07:00
  • c15cc0054a When a fleet of leafnodes are isolated (not routed but using same cluster) we could do better at optimizing how we update the other leafnodes. Derek Collison 2023-04-30 17:08:16 -07:00
  • 0321eb6484 Merge branch 'main' into dev Derek Collison 2023-04-29 19:52:57 -07:00
  • 91607d8459 [IMPROVED] Health repair (#4116) Derek Collison 2023-04-29 18:02:12 -07:00
  • b27ce6de80 Add in a few more places to check on jetstream shutting down. Add in a helper method. Derek Collison 2023-04-29 11:27:18 -07:00
  • db972048ce Detect when we are shutting down or if a consumer is already closed when removing a stream. Derek Collison 2023-04-29 11:18:10 -07:00
  • 4eb4e5496b Do health check on startup once we have processed existing state. Also do health checks in separate go routine. Derek Collison 2023-04-29 09:36:35 -07:00
  • fac5658966 If we fail to create a consumer, make sure to clean up any raft nodes in meta layer and to shutdown the consumer if created but we encountered an error. Derek Collison 2023-04-29 08:15:33 -07:00
  • 546dd0c9ab Make sure we can recover an underlying node being stopped. Do not return healthy if the node is closed, and wait a bit longer for forward progress. Derek Collison 2023-04-29 07:42:23 -07:00
  • 85f6bfb2ac Check healthz periodically Derek Collison 2023-04-28 17:58:45 -07:00
  • ac27fd046a Fix data race Derek Collison 2023-04-28 17:57:03 -07:00
  • d107ba3549 Under certain scenarios we have witnessed healthz() that never retrun healthy due to a stream or consumer being missing or stopped. This will now allow the healthy call to attempt to restart those assets. Derek Collison 2023-04-28 17:11:08 -07:00
  • 0ba93ce6e5 [ADDED] Support for route S2 compression (#4115) Derek Collison 2023-04-28 14:55:45 -07:00
  • 349f01e86a Change the absence of compression setting to default to "accept" Ivan Kozlovic 2023-04-28 15:33:17 -06:00
  • 5b8c9ee364 Changes based on code review Ivan Kozlovic 2023-04-28 14:20:13 -06:00
  • 70af04a63f Other flappers. Ivan Kozlovic 2023-04-28 11:02:19 -06:00
  • 73ed55ae5b Fixed flapper Ivan Kozlovic 2023-04-28 10:55:32 -06:00
  • 8d2683a062 Fixed data race Ivan Kozlovic 2023-04-28 10:18:14 -06:00
  • d6fe9d4c2d [ADDED] Support for route S2 compression Ivan Kozlovic 2023-04-27 17:59:25 -06:00
  • c75127b966 Benchmarks for stream limits, combine tests and benchmarks into fewer files (#4098) Derek Collison 2023-04-27 16:53:31 -07:00
  • 82eade93b4 Merge JS Chaos tests into a single file Marco Primi 2023-04-26 16:01:09 -07:00
  • 7908d8c05c Merge JS benchmarks into a single file Marco Primi 2023-04-26 15:19:50 -07:00
  • df552351ec Benchmark for interest-based stream with limits Marco Primi 2023-04-24 16:06:46 -07:00
  • f972165b0e Bump to 2.9.17-beta.2 Derek Collison 2023-04-27 14:30:19 -07:00
  • c3b07df86f The server's Start() used to block but no longer does. (#4111) Derek Collison 2023-04-27 09:50:03 -07:00
  • 59e2107435 Fix test flapper Derek Collison 2023-04-27 07:19:56 -07:00
  • a66ac8cb9b The server's Start() used to block but no longer does. This updates tests and function comment. Derek Collison 2023-04-27 06:55:03 -07:00
  • 3feb9f73b9 Add op type to panics (#4108) Neil 2023-04-27 13:02:28 +01:00
  • e30ea34625 Add op type to panics Neil Twigg 2023-04-27 10:57:58 +01:00
  • d573b78aee Merge branch 'main' into dev Derek Collison 2023-04-26 18:42:31 -07:00
  • f584df4b4a [IMPROVED] Clustered consumer improvements (#4107) Derek Collison 2023-04-26 17:22:32 -07:00
  • 9999f63853 ConsumerFileStore could encode an empty state or update an empty state on startup. We needed to make sure at the lowest level that the state was read from disk and not depend on upper layer consumer. Derek Collison 2023-04-26 15:48:10 -07:00
  • 7f06d6f5a7 When Jsz() was asked for consumer details, would report incorrect data if not a consumer leader. Derek Collison 2023-04-26 15:03:15 -07:00
  • 4ebdb69daf Merge branch 'main' into dev Derek Collison 2023-04-26 11:34:37 -07:00