Axel Uhl
6e683816fc
fixed typo in exception message
2023-02-20 14:36:11 +01:00
Axel Uhl
53c6bfa3cd
consolidate imports, avoid warnings
2023-01-10 14:11:03 +01:00
Axel Uhl
2c76f8d136
catch all exceptions that may occur during sending a replication operation to master
2023-01-10 14:10:37 +01:00
Axel Uhl
0260f11a22
bug5797: more cases of providing Charset to InputStreamReader constructor
2022-12-29 13:22:11 +01:00
Finn Huelsbusch
d888c1fad9
added configuration for eclipse 2022-06 and updated the onboarding
2022-07-07 16:51:33 +02:00
Axel Uhl
adc9bf77f9
bug5741: backward compatibility for replication protocol, protocol versioning for new protocol
2022-06-29 18:11:33 +02:00
Axel Uhl
8898dddee9
bug5741: fixed invariants in OperationSerializerBufferImpl regarding data structures
2022-06-28 01:04:30 +02:00
Axel Uhl
49ab55f5a6
bug5741: create object output stream only once new replicable ID is known
2022-06-27 18:21:44 +02:00
Axel Uhl
e5ec9f2ef6
bug5741: parallelize serialization of replication operations for asynchronous execution
2022-06-27 17:54:38 +02:00
Axel Uhl
ccc611a5a3
bug5741: factored replication message queueing/sending into separate class
2022-06-27 16:16:38 +02:00
Axel Uhl
4e2dc3de61
bug5741: added comments for OperationQueueByKeyExecutor
2022-06-27 09:30:56 +02:00
Axel Uhl
80ca8bf3de
bug5741: don't serialize replication operations into separate byte[] anymore
2022-06-16 17:58:52 +02:00
Axel Uhl
7c884369c4
bug5741: for MediaTrack and DeviceConfiguration use cloned objects in replication operations
2022-06-16 17:15:39 +02:00
Axel Uhl
59cbdf1e15
bug5741: cache Class.forName results while reading all operations of one RabbitMQ message;
...
This avoids thousands of expensive Class.forName calls. Now, the next
most expensive thing is reading the class descripors from the stream.
2022-06-16 14:56:26 +02:00
Axel Uhl
3165716e3a
bug5518: added FINE logging to parallel replication task execution
2022-04-26 10:58:52 +02:00
Axel Uhl
11805602e6
bug5518: fixed synchronization;
...
one remaining problem (probably not a regression) is adding wind fixes.
See bugzilla
2022-04-25 18:56:43 +02:00
Axel Uhl
eac205459d
bug5518: first attempt at keying asynchronous operations and queuing and running them in tasks per key
2022-04-25 18:15:11 +02:00
Axel Uhl
9075d7288e
upgraded Docker image for sapjvm8 to 8.1.086
2022-04-20 13:52:37 +02:00
Axel Uhl
1daa032f2d
log nested operation class for operations sent to master by a replica
2022-04-10 01:52:09 +02:00
Axel Uhl
23645d9c4b
run defineReverseProxyMappings.sh as root, not sailing user; improved logging for stop replicating
2021-11-24 12:37:18 +01:00
Axel Uhl
5a68fec1f2
Merge remote-tracking branch 'server/master'
2021-08-05 14:38:20 +09:00
Axel Uhl
144dac7123
bug5611: using more elaborate auto-recovery and topology recovery options and heartbeats for RabbitMQ connections; factored the factory
2021-08-01 12:17:01 +09:00
Axel Uhl
0b863619d4
bug5611: upgraded RabbitMQ Java client to version 3.6.6 and use ConnectionFactory.setAutomaticRecoveryEnabled(true)
2021-08-01 09:20:14 +09:00
Axel Uhl
8e8c6bc8e1
bug5611: acknowledgement and threading architecture for explicit acks in place; re-connect design needs to be adjusted accordingly;
...
the new Channel starts delivery tags at 0; what does this mean for queued messages? Are they delivered through this channel at all?
2021-07-31 21:53:23 +09:00
Axel Uhl
c31d6d7b85
bug5610: changing how the center of the course is computed, weighing leg middle points by their leg's length
2021-07-30 21:14:58 +09:00
Axel Uhl
2c622e5b45
patched <!DOCTYPE projectDescription> into all project files to avoid info/warning in problems view about no grammar constraint
2021-06-19 12:45:03 +02:00
Axel Uhl
de7feac88f
bug5563: added RabbitMQ source bundle to target platform
2021-05-31 00:17:22 +02:00
Axel Uhl
440e7309fb
bug5563: catch Exception, not only IOException; RabbitMQ exception are RuntimeExceptions that don't inherit from IOException;
...
further improved logging by also showing exception in log when re-establishing connection failed
2021-05-30 23:44:03 +02:00
Axel Uhl
9ac4a3250f
bug5563: replication messages bound for RabbitMQ fanout exchange now go through a Deque with a thread implementing a re-try strategy
2021-05-30 23:09:08 +02:00
Axel Uhl
6ff5b8bded
bug5563 part 1: wait longer (basically forever) to restore client / inbound RabbitMQ connection
2021-05-27 17:48:20 +02:00
Axel Uhl
8bc044ed54
accept any port the modulo 1000 equals 443 as https port for replication
2021-05-20 23:54:57 +02:00
Axel Uhl
e61a1649d6
bug5538: fixing the deadlock that can occur during races between replica registration and replicable registration
2021-05-12 14:56:32 +02:00
Axel Uhl
5bf685d105
when a master is asked to start replicating and has an empty REPLICATION_CHANNEL / exchangeName set, throw an exception and log a readable SEVERE message
2021-05-10 01:36:00 +02:00
Axel Uhl
0bbf58280c
bug4811: set a content type for STOP_REPLICATING response in ReplicationServlet; use bearer token provided for STOP_REPLICATING request
2021-04-29 17:40:34 +02:00
Axel Uhl
e21b12bea9
bug4811: fixed expression for constructing replica registration URL
2021-04-21 10:20:11 +02:00
Axel Uhl
f45f8a4184
bug4811: fixed null handling for replica/instance port in ServerInfo by making port Integer instead of int, supporting null values
2021-04-20 23:43:29 +02:00
Axel Uhl
ac765dca84
bug4811: place a new "port" field in version.json in the "start" script and use it for replica registration; added new port fields to replication status, for both, replicatedfrom and replicatedby
2021-04-20 16:33:50 +02:00
Axel Uhl
4feff1d222
Merge branch 'master' into bug4811
2021-04-16 12:03:43 +02:00
Axel Uhl
ef9097dd5e
bug5513 aftermath: fixing class of invalidRequest filter in all shiro.ini files
2021-04-16 12:01:50 +02:00
Axel Uhl
37fb3dc0a5
bug5513: added configuration of Shiro invalidRequest filter for backward compatibility to all shiro.ini files;
...
re-enabling backslash, semicolon and non-ASCII characters (important, e.g., for Umlaut characters)
in URL paths again
2021-04-16 11:37:44 +02:00
Axel Uhl
96f0dbed9a
bug4811: refactored ReplicationServlet constants; started to implement stopping replicas when upgrading application replica set
2021-04-01 18:44:39 +02:00
Axel Uhl
50fba338cd
bug4811: implemented a STOP_REPLICATING action on ReplicationServlet; added AwsLandscapeImpl to replication launch configs
2021-03-29 10:04:48 +02:00
Axel Uhl
83c11f5fd4
resolved ambiguity of com.sap.sse.util package between com.sap.sse and com.sap.sse.shared.android;
...
renamed the com.sap.sse.util and com.sap.sse.util.impl packages in com.sap.sse.shared.android
to com.sap.sse.shared.util and com.sap.sse.shared.util.impl, respectively; this is supposed to fix
all issues with ambiguous package imports
2021-03-23 21:01:32 +01:00
Axel Uhl
4db4b95b62
bug4811: set org.eclipse.jdt.core.compiler.codegen.methodParameters to generate in all preference files; Tycho respects them!
2021-02-16 14:58:38 +01:00
Georg Herdt
260e915d2c
Merge branch 'master' into bug5480
...
# Conflicts:
# java/com.sap.sailing.server/SailingServer (No Proxy).launch
# java/com.sap.sailing.server/SailingServer (No Proxy, Axel).launch
2021-02-08 10:39:01 +01:00
Georg Herdt
07525d4ae1
Merge branch 'master' into bug5480
...
# Conflicts:
# java/com.sap.sailing.feature.p2build/raceanalysis.product
# java/com.sap.sailing.server/SailingServer (No Proxy).launch
# java/com.sap.sse.security.ui/WEB-INF/web.xml
2021-01-29 09:34:47 +01:00
Dennis Aulenbacher
7d5ef4e096
Merge branch 'master' into bug5214
2021-01-28 15:32:12 +01:00
Georg Herdt
e6ae9da861
upgrade to recent servlet/web.xml standard of jetty 9.4.
...
bug 5153
2021-01-17 22:16:10 +01:00
Georg Herdt
fbadad0ef7
switch from java.servlet bundle to osgi-servlet bundle to be able to resolve DTDs and XSD for validation (e.g. web.xml)
...
bug 5153
2021-01-17 22:10:27 +01:00
Axel Uhl
334fb7f642
bug4811: fixed shiro.ini for replication bundle regarding anonymous support; more careful timeout waiting
2021-01-10 20:31:42 +01:00