rebase
little refactoring
Merge branch 'master' of https://github.com/hazelcast/hazelcast
Merge branch 'master' of https://github.com/hazelcast/hazelcast
Merge branch 'master' of https://github.com/hazelcast/hazelcast
add write behind batch size
remove unneeded test
review fixes
merged others
check style fixes
Merge pull request #2645 from ahmetmircik/fix/3.3/rewriting2

Improvements of PR #2420