Git Product home page Git Product logo

journalist's People

Contributors

ar3cka avatar besteg avatar darkms avatar forki avatar girugamesh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

journalist's Issues

Batch delete from azure table

It would be great, if Journalist.WindowsAzure has batch delete feature like "Delete everything with partition key "CA1C9EFE-6669-44AB-8F5C-7596498F9A57"".

Do not call CreateIfNotExists() in cloud queue factory when sas token is used

It is forbidden to use this method on queue when its client is authenticated with shared access signature token. This cause runtime error even if queue does exist. It may not be created though, but it is exceptional situation and should be treated as such - with throwing 404 error when queue is requested.

ArgumentOutOfRangeException

There are three common argument exceptions - ArgumentException, ArgumentNullException, ArgumentOutOfRangeException. There should be a possibility to throw any of them on an arbitrary check though leaving most common checks throwing predefined exceptions as checking sugar for simplicity. Thanks in advance.

best regards,
Alexander Alexeev

Pending notification is deleted while it is never sent

We found next exception:

{ [-]
Exception: Microsoft.WindowsAzure.Storage.StorageException: The remote server returned an error: (500) Internal Server Error. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.GetResponse()
at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand1 cmd, IRetryPolicy policy, OperationContext operationContext) in c:\Program Files (x86)\Jenkins\workspace\release_dotnet_master\Lib\ClassLibraryCommon\Core\Executor\Executor.cs:line 677 --- End of inner exception stack trace --- at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand1 cmd, IRetryPolicy policy, OperationContext operationContext) in c:\Program Files (x86)\Jenkins\workspace\release_dotnet_master\Lib\ClassLibraryCommon\Core\Executor\Executor.cs:line 604
at Microsoft.WindowsAzure.Storage.Queue.CloudQueue.CreateIfNotExists(QueueRequestOptions options, OperationContext operationContext) in c:\Program Files (x86)\Jenkins\workspace\release_dotnet_master\Lib\ClassLibraryCommon\Queue\CloudQueue.cs:line 162
at Journalist.WindowsAzure.Storage.StorageFactory.<>c__DisplayClass6_0.b__0()
at System.Lazy1.CreateValue() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Lazy1.get_Value()
at Journalist.WindowsAzure.Storage.Queues.CloudQueueAdapter.AddMessageAsync(Byte[] content)
at Journalist.EventStore.Notifications.Channels.NotificationsChannel.d__17.MoveNext()
Request Information
RequestID:2cd0c103-9003-003b-6c87-9b36ee000000
RequestDate:Mon, 24 Dec 2018 12:52:16 GMT
StatusMessage:Operation could not be completed within the specified time.

 Level:	 Error	
 MachineName:	 RD0003FF2CD2C1	
 MessageTemplate:	 Notification sending failed. Notification: {@Notification}.	
 Notification:	{	[-]	
	 DeliveryCount:	 0	
	 FromVersion:	{	[-]	
  	 _typeTag:	 StreamVersion	
	}	
	 IsAddressed:	 false	
	 NotificationId:	{	[-]	
  	 _typeTag:	 NotificationId	
	}	
	 NotificationType:	 Journalist.EventStore.Notifications.Types.EventStreamUpdated	
	 StreamName:	 somestream-41abfe87-0915-4b13-beac-28b72a5892c8	
	 ToVersion:	{	[-]	
  	 _typeTag:	 StreamVersion	
	}	
	 _typeTag:	 EventStreamUpdated	
}	
 SourceContext:	 Journalist.EventStore.Notifications.Channels.NotificationsChannel	
 Timestamp:	 2018-12-27T15:40:23.2052697+03:00	

}

NotificationsChannel swallowed the exception and the notification was deleted in PendingNotificationsChaser.ProcessStreamNotificationAsync and was never sent.

Can't pass null continuationToken to ICloudTableEntitySegmentedRangeQuery

I had to look into the sources to figure out that null-valued token has to be an empty byte[] array.
This is far from obvious, moreover, original Azure API is okay with null continuation tokes, which makes a normal person assume that it should be ok in Journalist wrapper as well, but it's not.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.