Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7606997
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T00:33:01+00:00 2026-05-31T00:33:01+00:00

This is not duplicate on my previous post – now I would like to

  • 0

This is not duplicate on my previous post – now I would like to concentrate now on mixed row update.

Two clients send updates on two rows identified by the same key (RowA and RowB). Rows are persisted in the same Column Family. Both requests have the same timestamp.

  • Client 1 sends insert: RowA:{col:"valA1"}, RowB:{col:"valB1"}
  • Client 2 sends insert: RowA:{col:"valA2"}, RowB:{col:"valB2"}

What is the result of such update ?

Is is possible that one on the clients winns, because we have update within the same column family?

Is mixed result possible – for example RowA:{col :"valA1"}, RowB:{col:"valB2"} ?

Is is possible to predict result of such update?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T00:33:02+00:00Added an answer on May 31, 2026 at 12:33 am

    If two Writes to the same row/column have the same time stamp, then the tie is broken by comparing the byte values of the columns, see CASSANDRA-1039 for details.

    In the example you give above, client2’s writes would win, as client 2 is writing values with byte[]’s that are greater than client 1’s.

    As others have pointed out, this write,

    RowA:{col:"valA1"}, RowB:{col:"valB1"}
    

    Is the same as two writes,

     RowA:{col:"valA1"}
     RowB:{col:"valB1"}
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Related to my previous post but its not a duplicate of that.Now I have
Duplicate of this question . update - This is not an exact duplicate. See
First off, this is NOT a duplicate of: Turn a C string with NULL
I hope this question is not a duplicate but I didn't find anything equivalent
I'm not sure if this is a duplicate but if it is please feel
I am sorry if this is a duplicate but I was not able to
My apologies if this is a duplicate; I may not know the proper terms
Read on before you say this is a duplicate, it's not. (as far as
Possible Duplicate: Was: Not unique table :: Now: #1054 - Unknown column - can't
I store post IDs in an array. I would like to loop through the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.