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

Improve MAVEN build Performance #1102

Closed
wants to merge 4,269 commits into from
Closed

Improve MAVEN build Performance #1102

wants to merge 4,269 commits into from

Conversation

SilverSteven
Copy link

Maven allows you to run the compiler as a separate process by setting <fork>true</fork>. This feature can lead to much less garbage collection and make Maven build faster. This project has more than 1000 source files. We can consider enabling this feature.

=====================
If there are any inappropriate modifications in this PR, please give me a reply and I will change them.

kuujo and others added 30 commits September 26, 2018 00:03
…ion/log configurations and provide command line options for overriding log configuration.
* Support for pluggable AtomixRegistry #835

* Update classgraph to v4.2.3
* Add static Atomix registry builder.
dvmarcilio and others added 28 commits June 24, 2019 10:19
* fix(raft): makes setRequestSequence thread-safe

* chore(raft): use AtomicLongFieldUpdater and volatile long
* fix(protocols): avoid unnecessary retrying of duplicate commands

 * tried to retry to much commands, which caused high latency, out of memory etc.

* fix(raft): check thread on retry
Remove null checks before an instanceof expression and add instance
checks when dealing with a lot of compared attributes. Also use
the String#equals(Object) method to check the equality of strings
instead of checking whether their instance is the same.
* fix(protocols/raft): apply raft partition group configuration

* apply configuration instead of using hardcoded values for election timeout, heartbeat interval and session timeout

* install-jdk.sh no longer supports oraclejdk8.

Co-authored-by: Johno Crawford <johno@hellface.com>
… state flapping when experiencing high propagation latency
…ersions (#1064)

* Set release version to java 8 to prevent using APIs from newer java versions

* Update maven.compiler.plugin.version

* Fix paths

* Update jacoco-maven-plugin

* late replacement of properties.

* do not set forkCount to 0 or set forkMode to never as it would prevent executing the tests with the JaCoCo javaagent and no coverage would be recorded.

Co-authored-by: Johno Crawford <johno@hellface.com>
* fix(raft): fixes issues with concurrent snapshot writers

- file snapshots are now written to a unique temporary
  file and moved to a permanent deterministic location
  on complete
- closing a file snapshot discards its temporary file
- improves error handling on snapshot completion failure

* chore(raft): write temporary file to Raft storage

- temporary snapshot files are written to the same directory
  as the Raft storage to make use of ATOMIC_MOVE, with fallback
  on simple move/ignoring duplicate files
- remove "deleteOnExit" hook and rely on programmer always closing
  or completing a snapshot (not much loss as deleteOnExit does not
  work if the JVM crashes)
…e cluster (#1005)

* Transition Raft servers to candidate/leader immediately if single node cluster.

Co-authored-by: Johno Crawford <johno@hellface.com>
* Support fully locally cached AtomicMap.

* Support full local cache in DistributedMap.

* Add local map initialization test.

Co-authored-by: Johno Crawford <johno@hellface.com>
Co-authored-by: =?UTF-8?q?Nicolas=20P=C3=A9pin-Perreault?= <nicolas.pepin-perreault@camunda.com>
* accept raft role listeners at partition server

* fix checkstyle errors

* fix checkstyle errors in test

* add listener after server property is set

Co-authored-by: Johno Crawford <johno.crawford@gmail.com>
* Add key-level locks to AtomicMap interface and service.

* Add key-level locks to DistributedMap primitive.

* Add lock checks in base map service.

* Add AtomicMap key lock tests.

* Add AtomicMap service tests.

* Add distributed map key lock tests.

Co-authored-by: Johno Crawford <johno.crawford@gmail.com>
* fix(core): move VERSION file to io/atomix/VERSION(#1080)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet