Commit Graph

  • 1e2bba4c7b Fix FirstSeq not being updated with filestore when purging subject Maurice van Veen 2023-04-12 10:46:16 +02:00
  • 692f384f2d Fix consumer reply subject escaping Tomasz Pietrek 2023-04-11 23:39:24 +02:00
  • 31a2269710 Bump to 2.9.16-RC.7 Derek Collison 2023-04-09 19:32:58 -07:00
  • dfeac4a214 Merge branch 'main' into dev Derek Collison 2023-04-09 19:31:01 -07:00
  • 30b50870a1 [IMPROVED] Memory allocations and pressure in the raft layer. (#4036) Derek Collison 2023-04-09 19:21:23 -07:00
  • 623f2d5289 Fix flapping test Derek Collison 2023-04-09 08:13:20 -07:00
  • 80a57a3d51 Remove peers from string intern map Derek Collison 2023-04-09 08:01:36 -07:00
  • 6fa55540a7 Better us of entryPool Derek Collison 2023-04-09 07:48:31 -07:00
  • aee73a9c77 Fix flapping test Derek Collison 2023-04-08 21:58:54 -07:00
  • 313dd424a3 Optimize to not allocate converting strings to []byte Derek Collison 2023-04-08 20:46:05 -07:00
  • ad08ee3898 Remove unused function Derek Collison 2023-04-08 20:28:44 -07:00
  • 722a48d726 Don't require lock for check no echo status Derek Collison 2023-04-08 20:05:33 -07:00
  • c6b2a97ef4 Use entry pool Derek Collison 2023-04-08 19:58:43 -07:00
  • fa73b572e6 Optimize with Pool and avoid allocations on []byte cast of strings Derek Collison 2023-04-08 19:58:09 -07:00
  • 3b9cf1e381 Needed to do more in separate go routine to avoid deadlock Derek Collison 2023-04-08 18:43:58 -07:00
  • b78ec39b1f Fix data race and simplify logic Derek Collison 2023-04-08 15:04:30 -07:00
  • 35bb7c1737 Pool CommittedEntries as well with a ReturnToPool() that will also recycle the Entry. Needs to integrate with upper layers Derek Collison 2023-04-08 11:34:10 -07:00
  • ffc49b8f86 Fix flapping test and data race in test Derek Collison 2023-04-08 08:13:31 -07:00
  • 3be25fdedb Do not put an appendEntryResponse back in the pool if catching up until complete Derek Collison 2023-04-07 10:30:06 -07:00
  • 4edb08280f Use trick to intern strings with GC for subjString Derek Collison 2023-04-07 09:14:57 -07:00
  • 51bb1741ef Fix panic in startingSequenceForSources (#4035) Derek Collison 2023-04-07 08:45:42 -07:00
  • 5715918ad1 Fix panic in startingSequenceForSources Tomasz Pietrek 2023-04-07 17:31:51 +02:00
  • 2ff6f18ccd Use sync.Map for peers vs internal storage for appendEntryResponses Derek Collison 2023-04-07 08:16:42 -07:00
  • 1caa56a34f Use pools for appendEntries Derek Collison 2023-04-07 07:38:19 -07:00
  • 83f08999a7 Fix data race Derek Collison 2023-04-07 07:30:03 -07:00
  • d02d59534f Fix data race Derek Collison 2023-04-07 07:18:30 -07:00
  • bb2da435c2 Only cast and copy if really needed Derek Collison 2023-04-07 06:53:57 -07:00
  • 3afdb99f75 Use pools for appendEntryResponses. Also use interior space for peer name from the wire Derek Collison 2023-04-07 06:43:51 -07:00
  • ce0d8514be Merge branch 'main' into dev Derek Collison 2023-04-07 05:32:05 -07:00
  • 84c0d48815 [FIXED] Make sure on reverse match to compensate for wider target subjects. (#4032) Derek Collison 2023-04-06 16:03:52 -07:00
  • dbde8aba36 Make sure on reverse match to compensate for wider target subjects Derek Collison 2023-04-06 14:27:04 -07:00
  • 02122a233d [IMPROVED] Finer grained locking for /healthz with large number of JetStream assets. (#4031) Derek Collison 2023-04-06 12:37:06 -07:00
  • c16915bff4 For checking the health of jetstream, do not hold the lock as we traverse the streams and consumers. Derek Collison 2023-04-06 11:56:55 -07:00
  • 33451e5d56 Fix for API data race. (#4030) Derek Collison 2023-04-06 10:45:29 -07:00
  • f02f379468 Move stepdowns of streams and consumers to not be inline. (#4029) Derek Collison 2023-04-06 10:45:16 -07:00
  • a60f623842 Fix flapping test since claims not processed inline now Derek Collison 2023-04-06 10:39:30 -07:00
  • dee5229f9b Fix data race Derek Collison 2023-04-06 10:37:31 -07:00
  • 0d2269b1e9 Move stepdowns of streams and consumers to not be inline Derek Collison 2023-04-06 10:27:36 -07:00
  • 7547093b24 _EMPTY_ Derek Collison 2023-04-06 08:38:30 -07:00
  • ff8701b724 Merge branch 'main' into dev Derek Collison 2023-04-06 08:37:11 -07:00
  • 1e80ea68b3 [IMPROVED] Optimize non-inline direct gets to not use simple go routines. (#4028) Derek Collison 2023-04-06 08:35:37 -07:00
  • 2da50512e2 Optimize non-inline direct gets to not use simple go routines Derek Collison 2023-04-06 07:50:57 -07:00
  • 7b82384fd7 ADDED hard_delete option on resolver configuration (#3783) Derek Collison 2023-04-06 07:04:03 -07:00
  • a5326c97ef [IMPROVED] Head of line improvements (#4027) Derek Collison 2023-04-05 22:03:43 -07:00
  • e76b0b9b96 Move check for out of resources which would want a read lock out of inline processing Derek Collison 2023-04-05 20:28:19 -07:00
  • b6ebf0fe43 RWMutex does not help here and could hurt Derek Collison 2023-04-05 20:26:45 -07:00
  • 81541361dc Alternative fix for issue 4014, where we always send pings on ROUTER connections (#4016) Derek Collison 2023-04-05 20:16:22 -07:00
  • fd14e75379 File store compression (#4004) Derek Collison 2023-04-05 12:42:13 -07:00
  • 193a69d786 File store compression Neil Twigg 2023-02-02 17:42:19 +00:00
  • 5ae83b7983 Alternative fix for issue 4014, where we always send pings on ROUTER connections, updating c.lastIn timestamp on receiving client data or ping Sandy Kellagher 2023-04-05 13:03:19 +01:00
  • 1b1610f2da Adding hard_delete option on resolver configuration Julien Viard de Galbert 2023-04-04 15:47:55 +02:00
  • 4525bdea0d [IMPROVE] Improvements and fixes to stream source consumer creation on leadership change or on stream config source updates (#4009) Derek Collison 2023-04-04 20:09:15 -07:00
  • ce115ab1e6 Allow republish for mirroring/sourcing streams (#4010) Derek Collison 2023-04-04 18:38:27 -07:00
  • 87d7263026 Fix to new system internal callback format for new callbacks Derek Collison 2023-04-04 15:21:34 -07:00
  • 0453596223 Bump to 2.10.0-beta.31 Derek Collison 2023-04-04 15:16:43 -07:00
  • d14968cb4f Bump to 2.9.16-RC.6 Derek Collison 2023-04-04 15:15:24 -07:00
  • 03d5cf0871 Merge branch 'main' into dev Derek Collison 2023-04-04 15:14:41 -07:00
  • 2167f39ccd [IMPROVED] Do not block routes, leafnodes or gateways on received internal system msgs. (#4026) Derek Collison 2023-04-04 15:13:02 -07:00
  • 3036bb8bc5 Fix for test Derek Collison 2023-04-04 14:43:46 -07:00
  • 208f4625df Possibly de-race sysRequest (#4017) Derek Collison 2023-04-04 14:40:11 -07:00
  • b14a400df6 Fix for debugSubscribers and claims test Derek Collison 2023-04-04 14:36:16 -07:00
  • 3551c7b2bf Convert over zReq to not have to call msgparts Derek Collison 2023-04-04 14:23:50 -07:00
  • c323ec3086 Non-inline system callbacks need hdr and msg already split due to client context to split Derek Collison 2023-04-04 14:15:30 -07:00
  • 9f95e993e2 Do not inline inbound system messages to avoid blocking routes, gateways etc. Derek Collison 2023-04-04 13:53:21 -07:00
  • 03a5a4deaf Possibly de-race sysRequest Neil Twigg 2023-04-03 11:23:32 +01:00
  • d5a525bde0 Bump to 2.9.16-RC.5 Derek Collison 2023-04-03 21:23:35 -07:00
  • c5e19e19e7 Merge branch 'main' into dev Derek Collison 2023-04-03 21:22:53 -07:00
  • 34922df706 [IMPROVED] Make sure to never process next message requests inline. (#4022) Derek Collison 2023-04-03 21:22:31 -07:00
  • ebe4f8957f Spelling based on review feedback Derek Collison 2023-04-03 21:08:59 -07:00
  • dcbefd5cc4 We can receive these on push consumers, so error if we do Derek Collison 2023-04-03 21:07:08 -07:00
  • 07b34f707f Make sure to never process next message requests inline Derek Collison 2023-04-03 20:47:56 -07:00
  • c9350a2d57 Only apply consumer entries if not recovering. (#4021) Derek Collison 2023-04-03 19:42:05 -07:00
  • b0c3cf0dbd Only apply consumer entries if not recovering Derek Collison 2023-04-03 17:22:50 -07:00
  • 1ae51b23a9 [ADDED] Multiple routes and ability to have per-account routes (#4001) Derek Collison 2023-04-03 15:33:46 -07:00
  • 01a2c0472d Merge branch 'main' into dev Derek Collison 2023-04-03 15:33:12 -07:00
  • 9db08041c6 [IMPROVED] Raft layer improvements (#4020) Derek Collison 2023-04-03 15:24:48 -07:00
  • 7d3ec51d79 Fix for flapping test Derek Collison 2023-04-03 14:08:20 -07:00
  • 59175c491f Fix for a datarace Derek Collison 2023-04-03 13:58:03 -07:00
  • b806a8e7e7 Do not opt-out of normal processing for leadership transfers, but make sure they are only processed if explicitly new Derek Collison 2023-04-03 13:40:45 -07:00
  • 9dd727034a Make sure to not stop raft layer when we detect we are already running the monitor Derek Collison 2023-04-03 10:40:09 -07:00
  • 18656412b8 Allow overriding target branch in on-demand nightly image builds (#4019) Derek Collison 2023-04-03 11:13:40 -07:00
  • 7f9e6dad38 Allow overriding target branch in on-demand nightly image builds Neil Twigg 2023-04-03 16:54:29 +01:00
  • ea61b0028c No inline jetstream msg processing, always queue inbound (#4018) Derek Collison 2023-04-03 08:36:24 -07:00
  • 83c5c0177a Changes based on code review Ivan Kozlovic 2023-03-30 10:22:28 -06:00
  • b32d6b4e44 Fixed callout tests that were not doing cleanup causing data races Ivan Kozlovic 2023-03-29 17:36:12 -06:00
  • 3d495435c0 MQTT: Fixed issue that could cause time out storing messages Ivan Kozlovic 2023-03-25 16:46:59 -06:00
  • fe5d6bede4 Fixed accounts configuration reload Ivan Kozlovic 2023-03-24 13:15:20 -06:00
  • bd1b7b8d55 Cleanup use of s.opts and fixed some lock (deadlock/inversion) issues Ivan Kozlovic 2023-03-20 17:45:48 -06:00
  • 105237cba8 [ADDED] Multiple routes and ability to have per-account routes Ivan Kozlovic 2023-03-20 16:48:39 -06:00
  • 6b01a21965 No inline jetstream msg processing, always queue inbound Derek Collison 2023-04-03 08:27:52 -07:00
  • 70f6caa060 Merge branch 'main' into dev Derek Collison 2023-04-02 19:58:20 -07:00
  • 94278e731a More tweaks to test due to slow network proxy being more accurate Derek Collison 2023-04-02 19:57:34 -07:00
  • 66e7b6f4bd Bump to 2.9.16-RC.4 Derek Collison 2023-04-02 19:49:53 -07:00
  • cf462afa9e Merge branch 'main' into dev Derek Collison 2023-04-02 19:06:58 -07:00
  • 5afcb6c13c Fix for flapping test, network proxy more accurate now so rtt needed to be tweaked Derek Collison 2023-04-02 19:06:42 -07:00
  • b9e7b58f5c Merge branch 'main' into dev Derek Collison 2023-04-02 18:58:54 -07:00
  • b2b3ed9a03 Cherry-pick #3733 (Refactor outbound queues, remove dynamic sizing, add buffer reuse) (#3965) Derek Collison 2023-04-02 18:56:28 -07:00
  • 14ad9837c1 [IMPROVED] Protect against concurrent creation of streams and consumers. (#4013) Derek Collison 2023-04-02 18:29:04 -07:00
  • ff3f102cdd Fix for datarace in healthcheck Derek Collison 2023-04-02 16:30:13 -07:00
  • d5ac4d283a Fix for flapping test, can return invalid sequence as well Derek Collison 2023-04-02 16:18:23 -07:00