Permalink
Commits on Jun 12, 2011
  1. Merge TestKeyValidatorsW/Counters into TestKeyVal.

    It wasn't necessary to test every data type with
    counters, and the remove_counter tests was prone
    to race conditions cassandra-side.
    thobbs committed Jun 12, 2011
  2. Add counter support to batch.py

    thobbs committed Jun 12, 2011
Commits on Jun 11, 2011
  1. Update multiget_count docstring

    It incorrectly referenced get() instead of multiget()
    and did not document the buffer_size parameter.
    thobbs committed Jun 11, 2011
  2. Assign self.timestamp in constructor

    Assigning the default value outside of the constructor
    causes 'self' to be passed to the function.
    thobbs committed Jun 11, 2011
  3. Separate autopacking enabling and types used

    This makes it possible to easily separately enable
    auto packing and set or load the data types used for
    packing.
    
    This has the effect of allowing functionality similar to
    the CLI's "assume" function.
    thobbs committed Jun 11, 2011
  4. Set CF autopack_* to False in CfMap constructor

    These should almost always be disabled when using a
    ColumnFamilyMap with a ColumnFamily, so these should
    be set to False by default.  They may still be re-enabled
    manually if needed.
    thobbs committed Jun 11, 2011
  5. Move most CF attrributes outside of CF constructor

    These ColumnFamily attributes are still handled if passed as
    kwargs to the constructor, but the documentation and code
    structure has been shifted to emphasize that they are modifiable
    attributes that do not need to be supplied at constrution
    time.
    
    The attributes include dict_class, timestamp, buffer_size,
    read_consistency_level, write_consistency_level, autopack_names,
    and autopack_values.
    thobbs committed Jun 11, 2011
  6. Pass unpacked key to CfMutator in batch_insert()

    The packing is done within the CfMutator
    thobbs committed Jun 11, 2011
Commits on Jun 8, 2011
  1. Reuse read_c_l in get_range and get_indexed_slices

    The read_consistency_level only needs to be determined
    once at the beginning of each method.
    thobbs committed Jun 8, 2011
Commits on Jun 6, 2011
  1. Support new 0.8 CF attributes in SystemManager

    These include:
     - key_validation_class
     - replicate_on_write
     - merge_shards_chance
     - row_cache_provider
     - key_alias
    thobbs committed Jun 6, 2011
  2. Remove ConnectionWrapper state lock

    The current ConnectionPool behavior does not require
    a lock per ConnectionWrapper on the state of that
    wrapper.
    thobbs committed Jun 6, 2011
  3. Disable ConnPool overflow by default

    Oveflow should only be enabled when the number of active threads
    using the pool is not known or bounded and there is an
    occasional need for a few extra connections.
    
    By default, users who have mistakenly set pool_size too low but
    are not aware of overflow behavior will pay a performance penalty
    from an increase in the number of opened and closed connections.
    To prevent this, overflow is now disabled by default.
    thobbs committed Jun 6, 2011
  4. Adjust pool oveflow count after conn failure

    The pool overflow count needs to be adjusted when a
    connection fails and the pool is in overflow range.
    
    Also, a max_overflow setting of -1, which should allow
    for unlimited overflow, was being ignored.
    
    Fixes #63
    thobbs committed Jun 6, 2011
Commits on May 27, 2011
  1. Add multiget batching tests

    thobbs committed May 27, 2011
  2. [multiget] add batch_size parameter to columnfamily.multiget

    In some cases fetching 1000s of rows in small batches yields better performance; this adds that option.
    dkuebric committed May 27, 2011
Commits on May 11, 2011
  1. Add pycassa.cassandra.{c07, c08} to setup.py

    These packages are new and need to be included in
    builds.
    thobbs committed May 11, 2011
Commits on May 2, 2011
  1. Avoid unnecessary (un)packing of UUIDs

    The UUID.bytes attribute may be used without packing
    it as a 16 char string.
    thobbs committed May 2, 2011
  2. Remove deprecated get_keyspace_description()

    SystemManager.get_keyspace_description() was
    deprecated for several releases and has been removed.
    thobbs committed May 2, 2011
  3. Update CFMap test for removed deprecated param

    The 'instance' param of ColumnFamilyMap.get_indexed_slices()
    was deprecated and has been removed.
    thobbs committed May 2, 2011
  4. Remove deprecated param from CFMap.get_indxd_slcs

    This removes the 'instance' parameter from
    ColumnFamilyMap.get_indexed_slices()
    thobbs committed May 2, 2011