Comments (13)
@asias when you can please check if "[PATCH] Fix a race condition in node state for bootstrapped nodes" solves your issue
from scylladb.
No, it does not help.
On Tue, Jul 21, 2015 at 8:33 PM, slivne [email protected] wrote:
@asias https://github.com/asias when you can please check if "[PATCH]
Fix a race condition in node state for bootstrapped nodes" solves your issue—
Reply to this email directly or view it on GitHub
#30 (comment)
.
Asias
from scylladb.
What happens above is that one can't assume that keyspace/table is immediately available on a Node2 once CREATE command has successfully completed on Node1. Gossiper will eventually (!!!) propagate this information to all other nodes but it may take some time. As a result the above test periodically hits the "column_family not found" case and as a result the corresponding mutation times out.
Adding sleep(3) after creating the keyspace and another one after creating a table "resolves" the issue.
from scylladb.
@asias I sent a patch titled "service/migration_manager: Fix announce() delay" on the mailing list that fixes the issue for me.
from scylladb.
@asias Never mind, the patch was bogus. Still investigating...
from scylladb.
On Thu, Jul 23, 2015 at 5:33 PM, Pekka Enberg [email protected]
wrote:
@asias https://github.com/asias Never mind, the patch was bogus. Still
investigating...
sure.
—
Reply to this email directly or view it on GitHub
#30 (comment)
.
Asias
from scylladb.
@asias, the cases I've seen with dtest is either RPC starting to fail or other nodes not actually joined the cluster when we attempt to push out the schema changes. What does gms::get_live_members()
return in migration_manager::announce()
when the test fails?
from scylladb.
On Thu, Jul 23, 2015 at 8:36 PM, Pekka Enberg [email protected]
wrote:
@asias https://github.com/asias, the cases I've seen with dtest is
either RPC starting to fail or other nodes not actually joined the cluster
when we attempt to push out the schema changes. What does
gms::get_live_members() return in migration_manager::announce() when the
test fails?Do you want to see this debug info when I see insert fails?
0 // Returns a future on the local application of the schema
1 future<>
migration_manager::announce(distributedservice::storage_proxy& proxy,
std::vector schema)
2 {
3 return gms::get_live_members().then([&proxy, schema =
std::move(schema)](std::setgms::inet_address live_members) {
4 for (auto& x : live_members) {
5 print("====>>>> migration_manager::announce %s\n", x);
6 }
Asias
from scylladb.
Yes. I assume the other node is not there when the test fails.
from scylladb.
On Thu, Jul 23, 2015 at 9:04 PM, Pekka Enberg [email protected]
wrote:
Yes. I assume the other node is not there when the test fails.
Here, the test fails (key 3-6 are not inserted), but node 1 knows node 2.
================ STREAM_PLAN TEST ==============
WARNING: Not implemented: AUTH
WARNING: Not implemented: METRICS
WARNING: Not implemented: PERMISSIONS
====>>>> migration_manager::announce 127.0.0.1
====>>>> migration_manager::announce 127.0.0.2
CREATE KEYSPACE = KS DONE
====>>>> migration_manager::announce 127.0.0.1
====>>>> migration_manager::announce 127.0.0.2
CREATE TABLE = TB DONE
WARNING: Not implemented: TRIGGERS
INSERT VALUE DONE: 1
INSERT VALUE DONE: 2
—
Reply to this email directly or view it on GitHub
#30 (comment)
.
Asias
from scylladb.
@asias AFAICT, Cassandra drivers issue a schema refresh on other nodes after a schema change. As you're doing schema changes directly, the expected behavior is exactly what you're seeing.
from scylladb.
On Tue, Jul 28, 2015 at 4:27 PM, Pekka Enberg [email protected]
wrote:
@asias https://github.com/asias AFAICT, Cassandra drivers issue a
schema refresh on other nodes after a schema change. As you're doing schema
changes directly, the expected behavior is exactly what you're seeing.
Can we issue such schema refresh in my test code after schema change?
—
Reply to this email directly or view it on GitHub
#30 (comment)
.
Asias
from scylladb.
I am completely not sure how the driver does the refresh. Once we figure that out, we can certainly do the same thing in test code.
from scylladb.
Related Issues (20)
- hints: too_many_in_flight_hints_for: inverted logic for is_me
- docs: Issue in page Shard-Aware Kafka Connector for Scylla
- docs: Issue in page Upgrade Guide - ScyllaDB Enterprise 2022.x to 2023.1 HOT 1
- Response information from ScyllaDB for the update-table .
- Can we use tombstone_gc = {'mode': 'repair'} for GSI tables? HOT 1
- ./replica/dirty_memory_manager.cc metrics names are wrong
- replica/table.cc row_lock metrics name should be a label
- Rack-aware base-view pairing HOT 3
- docs: Issue in page Consistency Level Calculator HOT 1
- Alternator/executor: not found mutation write info/error log level
- Relabel metrics occur unexpected reault when set replacement for column_family metrics HOT 7
- topology_experimental_raft/test_tablets.py::test_tablet_split failed in OperationTimedOut HOT 3
- scylla stuck/coredump during node start with new number of shards, after cluster was stopped HOT 3
- Flaky dtest test_sstablelevelreset
- raft topology: get rid of IP mappings dependency where they may be unobtainable HOT 1
- auth_cluster/test_password_login_message fails in debug mode HOT 3
- Schemas mismatched in test_table_drop_with_auto_snapshot HOT 2
- Block tablet draining when tablet load balancing is disabled by user's requets HOT 8
- Use repair to rebuild a tablet replica HOT 7
- The service::session_id in streaming rpc verb will cause compatibility issue in a mixed cluster HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scylladb.