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

Autogenerate java docs #29

Closed
wants to merge 54 commits into from
Closed

Commits on Aug 7, 2019

  1. Remove license maven plugin

    This is required to allow new code owned by ScyllaDB.
    
    Signed-off-by: Piotr Jastrzebski <[email protected]>
    Signed-off-by: Piotr Jastrzebski <[email protected]>
    Signed-off-by: Piotr Jastrzebski <[email protected]>
    haaawk committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    c18a1aa View commit details
    Browse the repository at this point in the history
  2. Add Host field to Connection

    Part of Connection initialization will be obtaining
    info about shards in the host so Connection needs
    a reference to the host to be able to set up this info.
    
    Signed-off-by: Piotr Jastrzebski <[email protected]>
    haaawk committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    61b89b2 View commit details
    Browse the repository at this point in the history
  3. Add ShardingInfo class to store details of shards on host

    Signed-off-by: Piotr Jastrzebski <[email protected]>
    Signed-off-by: Piotr Jastrzebski <[email protected]>
    haaawk committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    d5705ce View commit details
    Browse the repository at this point in the history
  4. Add ProtocolVersion.isShardingSupported

    Signed-off-by: Piotr Jastrzebski <[email protected]>
    haaawk committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    6ccd1db View commit details
    Browse the repository at this point in the history
  5. Add shardingInfo field to Host

    This field will track the details of shards available at the host.
    It will be set during connection initialization.
    Multiple such initializations can occure at the same time but
    each should be setting the same number of shards.
    
    Signed-off-by: Piotr Jastrzebski <[email protected]>
    haaawk committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    cc66c5f View commit details
    Browse the repository at this point in the history
  6. Add shardId field to Connection

    This field will be set during initialization and will
    describe the shard in the host that a connection is associated to.
    
    Signed-off-by: Piotr Jastrzebski <[email protected]>
    haaawk committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    f9f6dc1 View commit details
    Browse the repository at this point in the history
  7. Fetch sharding info when initializing the connection

    Signed-off-by: Piotr Jastrzebski <[email protected]>
    haaawk committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    bc42e31 View commit details
    Browse the repository at this point in the history
  8. Add shard awareness to HostConnectionPool

    Signed-off-by: Piotr Jastrzebski <[email protected]>
    haaawk committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    2bd2e25 View commit details
    Browse the repository at this point in the history
  9. Signal usage of optimized driver

    Signed-off-by: Piotr Jastrzebski <[email protected]>
    haaawk committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    702d5f2 View commit details
    Browse the repository at this point in the history
  10. Add lastHost field to Statement

    This field will be used for paging queries to fetch all
    pages from the same host if possible.
    
    Signed-off-by: Piotr Jastrzebski <[email protected]>
    haaawk committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    1e6338d View commit details
    Browse the repository at this point in the history
  11. Add PagingOptimizingLoadBalancingPolicy

    This policy will try to fetch all pages from
    the same host if possible.
    
    Signed-off-by: Piotr Jastrzebski <[email protected]>
    Signed-off-by: Piotr Jastrzebski <[email protected]>
    haaawk committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    4106ab1 View commit details
    Browse the repository at this point in the history
  12. Use PagingLoadBalancingPolicy in Cluster

    Signed-off-by: Piotr Jastrzebski <[email protected]>
    haaawk committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    6511f1a View commit details
    Browse the repository at this point in the history
  13. Add PagingOptimizingLatencyTracker

    Signed-off-by: Piotr Jastrzebski <[email protected]>
    Signed-off-by: Piotr Jastrzebski <[email protected]>
    haaawk committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    46d29d2 View commit details
    Browse the repository at this point in the history
  14. Use PagingOptimizingLatencyTracker

    Signed-off-by: Piotr Jastrzebski <[email protected]>
    haaawk committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    565d4ef View commit details
    Browse the repository at this point in the history
  15. Prevent schema.local full scans

    Signed-off-by: Piotr Jastrzebski <[email protected]>
    haaawk committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    972e3f5 View commit details
    Browse the repository at this point in the history
  16. Log channel creation exceptions

    Signed-off-by: Piotr Jastrzebski <[email protected]>
    haaawk committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    4e10d5d View commit details
    Browse the repository at this point in the history
  17. Stop cleaning uninitialized pool

    HostConnectionPool.cleanupIdleConnections is called from
    a recurring task. It can race with the initialization
    of the pool leading to NPE and other concurrency problems.
    
    Signed-off-by: Piotr Jastrzebski <[email protected]>
    haaawk committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    b6507ec View commit details
    Browse the repository at this point in the history
  18. Optional coalscing of schema refresh queries

    By default the driver has the ability to coalesce schem refresh queries
    to try and reduce the number of queries sent. In case a view and a table
    refresh is needed a refresh for the keyspace would be generated.
    
    While in most cases thisoptimization is helpfull - in case there are
    100s of tables in a single keyspace this will cause fetching all
    keyspace information which will cause extra load on the system (in
    scylla's case a single shard).
    
    Add the ability to disable this by reusing setting of
    maxPendingRefreshSchmaRequests value. If its 1 disable coalescing.
    
    Signed-off-by: Shlomi Livne <[email protected]>
    slivne authored and haaawk committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    5ce83a1 View commit details
    Browse the repository at this point in the history
  19. Limit number of opened connections

    Signed-off-by: Piotr Jastrzebski <[email protected]>
    haaawk committed Aug 7, 2019
    Configuration menu
    Copy the full SHA
    934fd94 View commit details
    Browse the repository at this point in the history

Commits on Aug 9, 2019

  1. Prepare for publishing to Maven repo

    Make sure groupId is set everywhere to com.scylladb and
    artifactId has scylla- prefix instead of cassandra- prefix.
    
    Signed-off-by: Piotr Jastrzebski <[email protected]>
    haaawk committed Aug 9, 2019
    Configuration menu
    Copy the full SHA
    e411a57 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2521e74 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    edad52b View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2019

  1. Add metrics for shard awareness

    Those metrics expose the information the driver has
    about number of shards each node has.
    
    New metric is called shard-awareness-info and its
    value is a Map<com.datastax.driver.core.Host, Integer>.
    
    For each host (which represents a node in a cluster) it presents
    either the number of shards the host has or null if the node
    does not provide sharding information.
    
    Signed-off-by: Piotr Jastrzebski <[email protected]>
    haaawk committed Aug 20, 2019
    Configuration menu
    Copy the full SHA
    09ecb30 View commit details
    Browse the repository at this point in the history
  2. Update sharding info when node restarts

    Fixes scylladb#14
    
    Signed-off-by: Piotr Jastrzebski <[email protected]>
    haaawk committed Aug 20, 2019
    Configuration menu
    Copy the full SHA
    9c28fb3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    354d13d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ab9dd27 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2019

  1. HostConnectionPool: track number of opened connections per shard

    Signed-off-by: Piotr Jastrzebski <[email protected]>
    haaawk committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    d14ef5d View commit details
    Browse the repository at this point in the history
  2. HostConnectionPool: finish initializing after getting first connections

    Previously the pool wasn't available for users before we have created
    requested number of connections to each shard. This was realized by
    not making a future returned from initAsync ready.
    
    Some users were reporting the initialization taking
    too long and timing out.
    
    This commit changes the way initAsync works. From now on:
    1. initAsync will try to open 2 * |number of shards| connections
    2. Then it will close connections that are excessive for each shard
    3. For shards that didn't get enough connections, connection tasks
       will be scheduled to create missing connections.
    
    Also we are limiting the number of connections each ConnectionTask
    holds to no more than the number of shards.
    
    Signed-off-by: Piotr Jastrzebski <[email protected]>
    haaawk committed Oct 27, 2019
    Configuration menu
    Copy the full SHA
    7354c77 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2019

  1. HostConnectionPool: use connection for any shard

    if connections for a target shard are still being
    initialized.
    
    Signed-off-by: Piotr Jastrzebski <[email protected]>
    haaawk committed Oct 30, 2019
    Configuration menu
    Copy the full SHA
    ba3443c View commit details
    Browse the repository at this point in the history
  2. HostConnectionPool: share excessive connections between ConnectionTasks

    Previously each ConnectionTask was keeping its own excessive connections
    (connections that are not to the shard it wants).
    
    This patch changes the behaviour so that all ConnectionTasks
    share excessive connections. This way we not only better limit
    number of excessive connections but also will quicker find
    the right connection for each task (some other task may open
    a connection for it).
    
    Signed-off-by: Piotr Jastrzebski <[email protected]>
    haaawk committed Oct 30, 2019
    Configuration menu
    Copy the full SHA
    e432c44 View commit details
    Browse the repository at this point in the history

Commits on Nov 13, 2019

  1. Merge pull request scylladb#17 from haaawk/init_async

    HostConnectionPool: finish initializing after getting first connections
    haaawk authored Nov 13, 2019
    Configuration menu
    Copy the full SHA
    b925924 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9ab00c4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    f3ee452 View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2020

  1. Configuration menu
    Copy the full SHA
    d8e0010 View commit details
    Browse the repository at this point in the history
  2. Updated dev docs

    dgarcia360 committed Aug 7, 2020
    Configuration menu
    Copy the full SHA
    2aef9fc View commit details
    Browse the repository at this point in the history
  3. Clean conf.py

    dgarcia360 committed Aug 7, 2020
    Configuration menu
    Copy the full SHA
    958ba52 View commit details
    Browse the repository at this point in the history

Commits on Aug 14, 2020

  1. Configuration menu
    Copy the full SHA
    a018b2c View commit details
    Browse the repository at this point in the history
  2. Fixed link

    dgarcia360 committed Aug 14, 2020
    Configuration menu
    Copy the full SHA
    478bb85 View commit details
    Browse the repository at this point in the history
  3. Added ditaa lexer

    dgarcia360 committed Aug 14, 2020
    Configuration menu
    Copy the full SHA
    9cd7869 View commit details
    Browse the repository at this point in the history
  4. Fixed merge

    dgarcia360 committed Aug 14, 2020
    Configuration menu
    Copy the full SHA
    1ea9b03 View commit details
    Browse the repository at this point in the history
  5. Clean PR

    dgarcia360 committed Aug 14, 2020
    Configuration menu
    Copy the full SHA
    26ebfee View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2020

  1. Configuration menu
    Copy the full SHA
    254b124 View commit details
    Browse the repository at this point in the history

Commits on Sep 10, 2020

  1. Configuration menu
    Copy the full SHA
    7d2b859 View commit details
    Browse the repository at this point in the history
  2. Add original markers

    dgarcia360 committed Sep 10, 2020
    Configuration menu
    Copy the full SHA
    5341cba View commit details
    Browse the repository at this point in the history

Commits on Sep 14, 2020

  1. Configuration menu
    Copy the full SHA
    f192325 View commit details
    Browse the repository at this point in the history
  2. Fixed links

    dgarcia360 committed Sep 14, 2020
    Configuration menu
    Copy the full SHA
    b15ff8a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7fc6f21 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2020

  1. Configuration menu
    Copy the full SHA
    9b9b5fb View commit details
    Browse the repository at this point in the history
  2. Fixed multiversion

    dgarcia360 committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    c56731c View commit details
    Browse the repository at this point in the history
  3. Fixed doxygen multiversion

    dgarcia360 committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    2883628 View commit details
    Browse the repository at this point in the history
  4. Fixed redirection multiversion

    GitHub Action committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    ec0148d View commit details
    Browse the repository at this point in the history
  5. Fixed conf.py

    GitHub Action committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    848fe5e View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    8d3be89 View commit details
    Browse the repository at this point in the history
  7. Fixed spaces

    dgarcia360 committed Sep 21, 2020
    Configuration menu
    Copy the full SHA
    0320099 View commit details
    Browse the repository at this point in the history