GitHub user sihuazhou opened a pull request:

    [FLINK-8845][state] Introduce RocksDBWriteBatchWrapper to improve 
performance for recovery in RocksDB backend

    ## What is the purpose of the change
    This PR addresses 
[FLINK-8845](, which attempts 
to use `WriteBatch` to improve the performance for loading data into RocksDB. 
It's inspired by [RocksDB 
    ## Brief change log
      - *Introduce `RocksDBWriteBatchWrapper` to load data into RocksDB in bulk*
    ## Verifying this change
    - Introduce `` to guard 
    ## Does this pull request potentially affect one of the following parts:
      - Dependencies (does it add or upgrade a dependency): (no)
      - The public API, i.e., is any changed class annotated with 
`@Public(Evolving)`: (no)
      - The serializers: (no)
      - The runtime per-record code paths (performance sensitive): (no)
      - Anything that affects deployment or recovery: JobManager (and its 
components), Checkpointing, Yarn/Mesos, ZooKeeper: (yes)
      - The S3 file system connector: (no)
    ## Documentation

You can merge this pull request into a Git repository by running:

    $ git pull rocksdb_write_batch

Alternatively you can review and apply these changes as the patch at:

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #5650
commit e710287495d2a1a12a99b812c9691e12c6c57459
Author: sihuazhou <summerleafs@...>
Date:   2018-03-07T05:58:45Z

    Introduce RocksDBWriteBatchWrapper to speed up write performance.



Reply via email to