Piotr Grabowski

Results 40 issues of Piotr Grabowski

Fix exception which would occur when calling `boost::lexical_cast` with source string containing whitespace: ```cpp std::string s = "string with spaces"; seastar::sstring s2 = boost::lexical_cast(s); // this line would cause exception...

The first commit improves the "insufficient processing units" error message by adding an information about how many processing units were requested and how many are available. The second commit adds...

The following correct `lw_shared_ptr` usecase triggers `use-after-free` warning when compiling with latest GCC (`g++ (GCC) 12.0.1 20220404 (experimental)`): ```cpp future repro() { auto nr_conn = make_lw_shared(0); auto lambda = [nr_conn]...

I would like to report an issue in page https://docs.scylladb.com/master/using-scylla/drivers/cql-drivers/scylla-python-driver ### Problem The "Scylla Python Driver Documentation" link in "More information" section leads to a non-existent page: https://python-driver.docs.scylladb.com/stable ### Suggest...

Documentation

``` cqlsh> CREATE KEYSPACE ks WITH REPLICATION = {'class': 'SimpleStrategy', 'replication_factor': 1}; cqlsh> CREATE TABLE ks.t2(pk int, ck1 int, ck2 int, PRIMARY KEY(pk, ck1, ck2)); cqlsh> CREATE INDEX ON ks.t2(ck1);...

bug
CQL
sec-index

### Overview When sending Kafka messages quickly, some of them might have the same timestamp (millisecond precision). If multiple messages regarding the same row happen on a single millisecond, the...

As reported in scylladb/scylladb#17616, when a user calls `Cluster`'s `refresh_nodes()` while the control connection is down, `refresh_nodes()` will fail with an exception: ``` cassandra.DriverException: Node list was not refreshed. See...

bug
upstream-issue

The current implementation has the following workaround: https://github.com/scylladb/python-driver/commit/dfccfffa295d4b1ae2624c6753f67c514af31cd8#diff-96bfc85b77a504cf9f31ccf706cecb133eb418bc3e7a125e28bf5fa887d8c6b9R1789-R1796 ```python self.load_balancing_policy._tablets_routing_v1 = self.control_connection._tablets_routing_v1 child_policy = self.load_balancing_policy.child_policy if hasattr(self.load_balancing_policy, 'child_policy') else None while child_policy is not None: if hasattr(child_policy, '_tablet_routing_v1'): child_policy._tablet_routing_v1 =...

bug

Add a suite of IntelliJ run configurations to make it easier for new developers to onboard the project and for better Maven discoverability. The run configurations should appear automatically after...

Given such a query built with QueryBuilder: ``` QueryBuilder.update(KEYSPACE, TABLE) .decrement(COLUMN_SCORE, QueryBuilder.literal(beforeScore.score)) .whereColumn(COLUMN_KEY).isEqualTo(QueryBuilder.literal(key.key)) .whereColumn(COLUMN_MEMBER).isEqualTo(QueryBuilder.literal(member.member)) .build() ``` if decrement value is negative (for example `beforeScore.score` equal to -13), the generated query...

bug